This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Errors while compiling ACE with c++ 3.4.2, any help?
- From: "yf_lw at 263 dot net" <yf_lw at 263 dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 10 Dec 2004 18:43:30 +0800
- Subject: Errors while compiling ACE with c++ 3.4.2, any help?
the following is the error messages while call make:
make[1]: Entering directory `/usr/local/ACE_wrappers/ace'
Makefile: /usr/local/ACE_wrappers/ace/Makefile.ace
g++ -W -Wall -Wpointer-arith -pipe -O3 -g -D_REENTRANT
-DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/usr/local/ACE_wrappers
-DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -DACE_BUILD_DLL
-DACE_OS_BUILD_DLL -c -fPIC -o .shobj/ARGV.o ARGV.cpp
In file included from /usr/local/ACE_wrappers/ace/Unbounded_Queue.h:286,
from /usr/local/ACE_wrappers/ace/ARGV.h:24,
from ARGV.cpp:6:
/usr/local/ACE_wrappers/ace/Unbounded_Queue.cpp: In member function
`void ACE_Unbounded_Queue<T>::delete_nodes()':
/usr/local/ACE_wrappers/ace/Unbounded_Queue.cpp:133: error: expected
class-name before '(' token
/usr/local/ACE_wrappers/ace/Unbounded_Queue.cpp: In destructor
`ACE_Unbounded_Queue<T>::~ACE_Unbounded_Queue()':
/usr/local/ACE_wrappers/ace/Unbounded_Queue.cpp:153: error: expected
class-name before '(' token
/usr/local/ACE_wrappers/ace/Unbounded_Queue.cpp: In member function `int
ACE_Unbounded_Queue<T>::dequeue_head(T&)':
/usr/local/ACE_wrappers/ace/Unbounded_Queue.cpp:223: error: expected
class-name before '(' token
make[1]: *** [.shobj/ARGV.o] ´يخَ 1
make[1]: Leaving directory `/usr/local/ACE_wrappers/ace'
make: *** [all] ´يخَ 2
[root@BlackHat ace]#
What's the matter? It works well whith the old version GCC. Dose GCC
3.4.2 not compatible with the elder version?
My OS is FC3 with GCC 3.4.2. any ideas?