|
ice compile failed with gcc-3.4.1
make[2]: Entering directory `/usr/local/Ice-1.4.0/src/Freeze'
c++ -c -I.. -I../../include -DFREEZE_API_EXPORTS -g -ftemplate-depth-128 -fPIC -Wall -D_REENTRANT TransactionI.cpp
TransactionI.cpp: In member function `virtual void Freeze::TransactionI::commit()':
TransactionI.cpp:24: error: expected unqualified-id before '&' token
TransactionI.cpp:24: error: ISO C++ forbids declaration of `type name' with no type
TransactionI.cpp:24: error: expected `)' before '&' token
TransactionI.cpp:24: error: expected `{' before '&' token
TransactionI.cpp:24: error: `dx' undeclared (first use this function)
TransactionI.cpp:24: error: (Each undeclared identifier is reported only once for each function it appears in.)
TransactionI.cpp:24: error: expected `;' before ')' token
TransactionI.cpp:31: error: expected primary-expression before "catch"
TransactionI.cpp:31: error: expected `;' before "catch"
TransactionI.cpp: In member function `virtual void Freeze::TransactionI::rollback()':
TransactionI.cpp:51: error: expected unqualified-id before '&' token
TransactionI.cpp:51: error: ISO C++ forbids declaration of `type name' with no type
TransactionI.cpp:51: error: expected `)' before '&' token
TransactionI.cpp:51: error: expected `{' before '&' token
TransactionI.cpp:51: error: `dx' undeclared (first use this function)
TransactionI.cpp:51: error: expected `;' before ')' token
TransactionI.cpp:58: error: expected primary-expression before "catch"
TransactionI.cpp:58: error: expected `;' before "catch"
make[2]: *** [TransactionI.o] ´يخَ 1
make[2]: Leaving directory `/usr/local/Ice-1.4.0/src/Freeze'
make[1]: *** [all] ´يخَ 1
make[1]: Leaving directory `/usr/local/Ice-1.4.0/src'
make: *** [all] ´يخَ 1
[root@mars2 Ice-1.4.0]# gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.1/specs
Configured with: ../gcc-3.4.1/configure --prefix=/usr --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++ --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.1
[root@mars2 Ice-1.4.0]# uname -a
Linux mars2 2.6.7-bk19 #24 Wed Jul 7 10:14:37 UTC 2004 i686 i686 i386 GNU/Linux
[root@mars2 Ice-1.4.0]#
|