• Advertisement
Sign in to follow this  

Funky Error

This topic is 3569 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm compiling some C++ code and I'm getting the following: /fsys/.software/arch/gcc-3.4.2/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/../../../../include/c++/3.4.2/sparc-sun-solaris2.8/bits/c++config.h:57: error: expected init-declarator before "namespace" /fsys/.software/arch/gcc-3.4.2/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/../../../../include/c++/3.4.2/sparc-sun-solaris2.8/bits/c++config.h:57: error: expected `,' or `;' before "namespace" /fsys/.software/arch/gcc-3.4.2/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/../../../../include/c++/3.4.2/sparc-sun-solaris2.8/bits/c++config.h:61: error: expected namespace-name before ';' token /fsys/.software/arch/gcc-3.4.2/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/../../../../include/c++/3.4.2/sparc-sun-solaris2.8/bits/c++config.h:61: error: `<type error>' is not a namespace I have absolutely no idea what this means. Help appreciated.

Share this post


Link to post
Share on other sites
Advertisement
you're going to have to provide alot more information (see: code which is causing the error) if you want any help.
That kind of error can be caused by forgetting a closing brace/semi-colon somewhere.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement