[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: |
John W. Eaton |
Subject: |
octave won't compile under gcc 3.3.5 20050117 (prerelease) (SUSE Linux) |
Date: |
Fri, 22 Jun 2007 10:00:06 -0400 |
On 22-Jun-2007, Hartmut Wziontek wrote:
| 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
Does the following message help?
http://www.nabble.com/compilation-problem-in-src-pt-loop.cc-tf3825550.html#a10829970
jwe