[Top][All Lists]

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

Re: octave-fixed compile error

From: Daniel Bartel
Subject: Re: octave-fixed compile error
Date: Mon, 27 Jun 2016 22:10:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

The unstripped output of the compiler is

Compiling fixedCMatrix.o
mkoctfile -DHAVE_OCTAVE_40 -v  -DOCTAVE_FORGE   -c
g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/include/octave-4.0.0/octave/.. -I/usr/include/octave-4.0.0/octave
-I/usr/include/hdf5/serial -I/usr/include/mpi -pthread -fopenmp -g -O2
-fstack-protector-strong -Wformat -Werror=format-security
In file included from
/usr/include/octave-4.0.0/octave/../octave/oct-cmplx.h: In instantiation
of ‘bool operator<(const std::complex<_Tp>&, const std::complex<_Tp>&)
[with T = FixedPoint]’:
required from ‘void mx_inline_lt(size_t, bool*, const X*, Y) [with X =
FixedPointComplex; Y = FixedPointComplex; size_t = long unsigned int]’   required from here
/usr/include/octave-4.0.0/octave/../octave/oct-cmplx.h:49:10: error: no
match for ‘operator==’ (operand types are ‘const volatile FixedPoint’
and ‘const volatile FixedPoint’)
   if (ax == bx) \
/usr/include/octave-4.0.0/octave/../octave/oct-cmplx.h:99:1: note: in
expansion of macro ‘DEF_COMPLEXR_COMP’

On 2016-06-27 20:53, danius wrote:
> Hi!
> I decided to put some effort into the unmaintained package octave-fixed. The
> goal would be to make it workable again. Since I have not worked with the
> Octave API up to now, this may take some time.
> I have already cloned the repo from and
> looked through the source code.
> The first compile error I am struggling with is:
> The strange thing is that is compiling, but
> is not compiling. I guess that there was an API change with respect to
> complex numbers, but I could not find it so far.
> If somebody has an hint for me, where to look, I would be really happy :-).
> Thx.
> --
> View this message in context: 
> Sent from the Octave - General mailing list archive at
> _______________________________________________
> Help-octave mailing list
> address@hidden

reply via email to

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