After successfull apgrade to new gcc-3.4.4 I need to build ACE 5.4 but failed with the following message:
g++ -O3 -march=pentium4 -pipe -fomit-frame-pointer -W -Wall -Wpointer-arith -pipe -O3 -march=pentium4 -pipe -fomit-frame-pointer -g -D_REENTRANT -DACE_HAS_AIO_CALLS -D_GNU_SOURCE -I/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -DACE_BUILD_DLL -DACE_OS_BUILD_DLL -DACE_AS_STATIC_LIBS -c -o .obj/OS_NS_arpa_inet.o OS_NS_arpa_inet.cpp
In file included from /var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.h:286,
from /var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/ARGV.h:24,
from ARGV.cpp:6:
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp: In member function `void ACE_Unbounded_Queue<T>::delete_nodes()':
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp:133: error: expected class-name before '(' token
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp: In destructor `ACE_Unbounded_Queue<T>::~ACE_Unbounded_Queue()':
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp:153: error: expected class-name before '(' token
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp: In member function `int ACE_Unbounded_Queue<T>::dequeue_head(T&)':
/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace/Unbounded_Queue.cpp:223: error: expected class-name before '(' token
make[1]: *** [.obj/ARGV.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ace-5.4-r2/work/ACE_wrappers/ace'
make: *** [all] Error 2
!!! ERROR: dev-libs/ace-5.4-r2 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Sounds that problem in code. Anyone experienced similar result? Any workaround to fix it?

