help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.1.68 fails to compile on Solaris


From: John W. Eaton
Subject: Re: 2.1.68 fails to compile on Solaris
Date: Wed, 30 Mar 2005 16:46:37 -0500

On 30-Mar-2005, steven mestdagh <address@hidden> wrote:

| still have problems compiling octave on HP-UX, though. 'make' terminates with
| 
| /freeware/octave/src/octave/liboctave/CMatrix.cc: In member function
|  `ComplexDET ComplexMatrix::determinant(int&, double&, int) const':
| /freeware/octave/src/octave/liboctave/CMatrix.cc:1512: error: cannot convert
|  `Complex' to `int' for argument `1' to `int abs(int)'
| /freeware/octave/src/octave/liboctave/CMatrix.cc:1517: error: cannot convert
|  `Complex' to `int' for argument `1' to `int abs(int)'
| /freeware/octave/src/octave/liboctave/CMatrix.cc: In member function `Matrix
|  ComplexMatrix::abs() const':
| /freeware/octave/src/octave/liboctave/CMatrix.cc:2688: error: cannot convert
|  `Complex' to `int' for argument `1' to `int abs(int)'
| /freeware/octave/src/octave/liboctave/CMatrix.cc: In member function
|  `ComplexColumnVector ComplexMatrix::row_min(Array<int>&) const':
| /freeware/octave/src/octave/liboctave/CMatrix.cc:2814: error: cannot convert
|  `Complex' to `int' for argument `1' to `int abs(int)'
| /freeware/octave/src/octave/liboctave/CMatrix.cc:2826: error: cannot convert
|  `Complex' to `int' for argument `1' to `int abs(int)'
| /freeware/octave/src/octave/liboctave/CMatrix.cc: In member function
|  `ComplexColumnVector ComplexMatrix::row_max(Array<int>&) const':
| /freeware/octave/src/octave/liboctave/CMatrix.cc:2888: error: cannot convert
|  `Complex' to `int' for argument `1' to `int abs(int)'
| /freeware/octave/src/octave/liboctave/CMatrix.cc:2900: error: cannot convert
|  `Complex' to `int' for argument `1' to `int abs(int)'
| /freeware/octave/src/octave/liboctave/CMatrix.cc: In member function
|  `ComplexRowVector ComplexMatrix::column_min(Array<int>&) const':
| /freeware/octave/src/octave/liboctave/CMatrix.cc:2962: error: cannot convert
|  `Complex' to `int' for argument `1' to `int abs(int)'
| /freeware/octave/src/octave/liboctave/CMatrix.cc:2974: error: cannot convert
|  `Complex' to `int' for argument `1' to `int abs(int)'
| /freeware/octave/src/octave/liboctave/CMatrix.cc: In member function
|  `ComplexRowVector ComplexMatrix::column_max(Array<int>&) const':
| /freeware/octave/src/octave/liboctave/CMatrix.cc:3036: error: cannot convert
|  `Complex' to `int' for argument `1' to `int abs(int)'
| /freeware/octave/src/octave/liboctave/CMatrix.cc:3048: error: cannot convert
|  `Complex' to `int' for argument `1' to `int abs(int)'
| make[2]: *** [CMatrix.o] Error 1

What happens if you use std::abs instead in these places where the
errors are showing up?

| and earlier I get the same warnings as mentioned in my post on Feb 21 2005.

I'm not sure what to do about those.

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]