help-octave
[Top][All Lists]
Advanced

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

octave won't compile under gcc 3.3.5 20050117 (prerelease) (SUSE Linux)


From: Hartmut Wziontek
Subject: octave won't compile under gcc 3.3.5 20050117 (prerelease) (SUSE Linux)
Date: Fri, 22 Jun 2007 08:54:20 +0200

Hello,    
    
While I had no problems with the compilation of 2.9.12 under gcc 4.0.2, 
under gcc 3.3.5 (SuSE 9.3) it hangs here:

pt-loop.cc: In member function `virtual void tree_simple_for_command::eval()':
pt-loop.cc:428: error: variable declaration is not allowed here
pt-loop.cc:428: Warnung: the address of `octave_value val()', will always be 
   `true'
pt-loop.cc:437: error: variable declaration is not allowed here
pt-loop.cc:437: Warnung: the address of `octave_value val()', will always be 
   `true'
pt-loop.cc:467: error: variable declaration is not allowed here
pt-loop.cc:467: Warnung: the address of `octave_value val()', will always be 
   `true'
make[2]: *** [pic/pt-loop.o] Fehler 1
make[1]: *** [src] Fehler 2
make: *** [all] Fehler 2

It seems that something in the macro DO_ND_LOOP isn't compatible with 
c++ libs from gcc 3.3.5, but I have no idea what to change - can any
body give me a hint? Can I avoid upgrading gcc?

Many thanks

Hartmut

-----

Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-
prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-lan
guages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-lib
gcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit
 i586-suse-linux
Thread model: posix
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)

GNU ld version 2.15.94.0.2.2 20041220 (SuSE Linux)



reply via email to

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