Hello all, I'm trying to compile the last version of GINAC under Cygwin, with gcc 3.3.1 I receive this error: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -g -O2 -MT remember.lo -M D -MP -MF .deps/remember.Tpo -c remember.cpp -DPIC -o .libs/remember.o remember.cpp: In constructor `GiNaC::remember_table::remember_table(unsigned int, unsigned int, unsigned int)': remember.cpp:153: error: invalid operands of types `int' and `double' to binary `operator<<' make[2]: *** [remember.lo] Error 1 make[2]: Leaving directory `/home/SAPORITO/GiNaC-1.2.0/ginac' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/SAPORITO/GiNaC-1.2.0' make: *** [all] Error 2 the gcc version is : Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs Configured with: /GCC/gcc-3.3.1-3/configure --with-gcc --with-gnu-ld --with-gnu- as --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexe cdir=/usr/sbin --mandir=/usr/share/man --infodir=/usr/share/info --enable-langua ges=c,ada,c++,f77,pascal,java,objc --enable-libgcj --enable-threads=posix --with -system-zlib --enable-nls --without-included-gettext --enable-interpreter --enab le-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --dis able-win32-registry --enable-java-gc=boehm --disable-hash-synchronization --verb ose --target=i686-pc-cygwin --host=i686-pc-cygwin --build=i686-pc-cygwin Thread model: posix gcc version 3.3.1 (cygming special) Any idea? thank in advance, Fausto
Hi! On Mon, Mar 22, 2004 at 06:12:17PM +0100, fausap@libero.it wrote:
I'm trying to compile the last version of GINAC under Cygwin, with gcc 3.3.1 I receive this error:
Does this help? RCS file: /home/cvs/GiNaC/ginac/utils.h,v retrieving revision 1.44 diff -r1.44 utils.h 41,42c41,42 < #ifndef log2 < unsigned log2(unsigned n); ---
#ifdef log2 #undef log2 43a44,45
unsigned log2(unsigned n);
Bye, Christian -- / Physics is an algorithm \/ http://www.uni-mainz.de/~bauec002/
participants (2)
-
Christian Bauer
-
fausap@libero.it