On Wed, 21 Dec 2005 16:08:44 +0000, Jorge Almeida wrote:
/usr/local/lib/libccext2.so: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
Looks like you link with gcc and not g++.
/home/jorge/cvs_critical/marinha/direccao-navios/sistemas-mice/implementation/smice/./common/linux/queues/CMiceQueue.h:205: error: ‘c’ was not declared in this scope
What is this 'c' the compiler is complaining about? Where should it come from?
/home/jorge/cvs_critical/marinha/direccao-navios/sistemas-mice/implementation/smice/./common/linux/queues/CMiceQueue.h:290: error: there are no arguments to ‘top’ that depend on a template parameter, so a declaration of ‘top’ must be available
Here's the next likely bug in your code. But without the source code, it's hard to tell what's wrong. Can you reduce it to a small test case?
I've noticed that SUSE 10 come with version 4.0.X of GCC. Maybe that is the problem.
No, the problem is probably your code! gcc4 just is more standards conforming and rejects code it formerly accepted. So if gcc4 is now complaining, chances are high that your code is not conforming to the ISO C++ standard. Philipp