[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49098] linear algebra: compiler warnings on b
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #49098] linear algebra: compiler warnings on build of pgmres.cc |
Date: |
Tue, 27 Sep 2016 22:14:23 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Update of bug #49098 (project octave):
Severity: 3 - Normal => 2 - Minor
Priority: 5 - Normal => 3 - Low
Item Group: Installation Failure => Other
Status: Need Info => Confirmed
Operating System: Microsoft Windows => Any
Summary: Warnings while installing linear algebra package =>
linear algebra: compiler warnings on build of pgmres.cc
_______________________________________________________
Follow-up Comment #3:
Ok, no response, assuming this is just reporting the compiler warnings on
installation. Here is a full log of warnings I see when built with the same
warning flags as Octave is:
pgmres.cc: In function ‘octave_value_list Fpgmres(const octave_value_list&,
int)’:
pgmres.cc:151:41: warning: ‘octave_idx_type Array<T>::length() const [with T
= double; octave_idx_type = int]’ is deprecated: use 'numel' instead
[-Wdeprecated-declarations]
V = Matrix (b.length (), 1, 0.0);
^
In file included from
/opt/gnu/octave/include/octave-4.2.0-rc2/octave/../octave/Sparse.h:37:0,
from
/opt/gnu/octave/include/octave-4.2.0-rc2/octave/../octave/MSparse.h:31,
from
/opt/gnu/octave/include/octave-4.2.0-rc2/octave/../octave/MatrixType.h:29,
from
/opt/gnu/octave/include/octave-4.2.0-rc2/octave/../octave/mx-base.h:30,
from
/opt/gnu/octave/include/octave-4.2.0-rc2/octave/../octave/Matrix.h:32,
from
/opt/gnu/octave/include/octave-4.2.0-rc2/octave/../octave/oct.h:30,
from pgmres.cc:16:
/opt/gnu/octave/include/octave-4.2.0-rc2/octave/../octave/Array.h:354:19:
note: declared here
octave_idx_type length (void) const { return numel (); }
^~~~~~
pgmres.cc:188:14: warning: deleting object of abstract class type
‘matrixfreematrix’ which has non-virtual destructor will cause undefined
behavior [-Wdelete-non-virtual-dtor]
delete A;
^
pgmres.cc:189:14: warning: deleting object of abstract class type
‘matrixfreematrix’ which has non-virtual destructor will cause undefined
behavior [-Wdelete-non-virtual-dtor]
delete invP;
^~~~
pgmres.cc:68:34: warning: unused parameter ‘nargout’ [-Wunused-parameter]
\n x0 the initial guess and \
^
Left to the package maintainer's discretion to fix or not, low priority.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49098>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/