[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help compiling CVS 2.9.3
From: |
John W. Eaton |
Subject: |
Re: Help compiling CVS 2.9.3 |
Date: |
Fri, 28 Oct 2005 18:01:02 -0400 |
On 28-Oct-2005, Quentin Spencer wrote:
| g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc
| -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 sparse-base-chol.cc
| -o pic/sparse-base-chol.o
| sparse-base-chol.cc: In member function ?octave_idx_type
| sparse_base_chol<chol_type, chol_elt,
| p_type>::sparse_base_chol_rep::init(const chol_type&, bool)?:
| sparse-base-chol.cc:100: error: ?FALSE? was not declared in this scope
| sparse-base-chol.cc:140: error: ?TRUE? was not declared in this scope
| make[2]: *** [pic/sparse-base-chol.o] Error 1
| make[2]: Leaving directory `/home/qspencer/octave/cvs/liboctave'
| make[1]: *** [liboctave] Error 2
| make[1]: Leaving directory `/home/qspencer/octave/cvs'
| make: *** [liboctave] Error 2
|
| I suspect the problem has something to do with gcc 4, which is more
| strict about enforcing the C/C++ standards than previous versions, but
| it's not obvious to me how to fix this. I think the code here is David
| Bateman's creation. Are you reading, David?
I think the TRUE/FALSE thing is my fault.
I'd rather avoid defining those, so replace them with 1 for TRUE and 0
for FALSE as necessary.
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
-------------------------------------------------------------