[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43646] Build failure with Array.h after commi
From: |
Philipp Kutin |
Subject: |
[Octave-bug-tracker] [bug #43646] Build failure with Array.h after commit 19326:5b263e517c95 |
Date: |
Thu, 20 Nov 2014 14:26:57 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 |
URL:
<http://savannah.gnu.org/bugs/?43646>
Summary: Build failure with Array.h after commit
19326:5b263e517c95
Project: GNU Octave
Submitted by: pkutin
Submitted on: Thu 20 Nov 2014 02:26:56 PM GMT
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
After the following commit,
changeset: 19326:5b263e517c95
user: Carnë Draug <address@hidden>
date: Mon Nov 10 12:37:04 2014 +0000
summary: Remove liboctave methods and classes deprecated for longer than 3
years.
source files including Array.h fail to be compiled. Here's an example output
with Clang.
../../liboctave/numeric/CmplxQR.cc:552:26: error: no matching constructor for
initialization of
'Array<octave_idx_type>'
Array<octave_idx_type> p (n);
^ ~
../../liboctave/array/Array.h:182:12: note: candidate constructor not viable:
no known conversion from
'octave_idx_type' (aka 'int') to 'const dim_vector' for 1st argument
explicit Array (const dim_vector& dv)
^
../../liboctave/array/Array.h:212:3: note: candidate constructor not viable:
no known conversion from
'octave_idx_type' (aka 'int') to 'const Array<int>' for 1st argument
Array (const Array<T>& a)
^
../../liboctave/array/Array.h:205:3: note: candidate template ignored: could
not match
'Array<type-parameter-0-0>' against 'int'
Array (const Array<U>& a)
^
../../liboctave/array/Array.h:143:3: note: candidate constructor not viable:
requires 4 arguments, but 1 was
provided
Array (const Array<T>& a, const dim_vector& dv,
^
../../liboctave/array/Array.h:166:3: note: candidate constructor not viable:
requires 4 arguments, but 1 was
provided
Array (T *sdata, octave_idx_type slen, octave_idx_type *adims, void *arep)
^
../../liboctave/array/Array.h:174:3: note: candidate constructor not viable:
requires 0 arguments, but 1 was
provided
Array (void)
^
../../liboctave/array/Array.h:191:12: note: candidate constructor not viable:
requires 2 arguments, but 1 was
provided
explicit Array (const dim_vector& dv, const T& val)
^
../../liboctave/array/Array.h:201:3: note: candidate constructor not viable:
requires 2 arguments, but 1 was
provided
Array (const Array<T>& a, const dim_vector& dv);
^
Resurrecting the two Array ctors marked GCC_ATTR_DEPRECATED fixes it (haven't
checked which).
The revision is 19334:1213af866a89, plus my patches on top.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43646>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43646] Build failure with Array.h after commit 19326:5b263e517c95,
Philipp Kutin <=
- [Octave-bug-tracker] [bug #43646] Build failure with Array.h after commit 19326:5b263e517c95, Rik, 2014/11/20
- [Octave-bug-tracker] [bug #43646] Build failure with Array.h after commit 19326:5b263e517c95, Philipp Kutin, 2014/11/21
- [Octave-bug-tracker] [bug #43646] Build failure with Array.h after commit 19326:5b263e517c95, Philipp Kutin, 2014/11/21
- [Octave-bug-tracker] [bug #43646] Build failure with Array.h after commit 19326:5b263e517c95, Rik, 2014/11/21
- [Octave-bug-tracker] [bug #43646] Build failure with Array.h after commit 19326:5b263e517c95, John W. Eaton, 2014/11/21
- [Octave-bug-tracker] [bug #43646] Build failure with Array.h after commit 19326:5b263e517c95, Rik, 2014/11/21
- [Octave-bug-tracker] [bug #43646] Build failure with Array.h after commit 19326:5b263e517c95, Philipp Kutin, 2014/11/22
- [Octave-bug-tracker] [bug #43646] Build failure with Array.h after commit 19326:5b263e517c95, Rik, 2014/11/22