This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC compiling problem on solaris intel machine
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: "Jing Lee" <jlee at kang dot bondnet dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 27 Nov 2002 09:28:20 +0100
- Subject: Re: GCC compiling problem on solaris intel machine
- References: <PCEHJELEKPHKCDMOIMPMOEIICAAA.jlee@bondnet.com>
"Jing Lee" <jlee@kang.bondnet.com> writes:
> sun/misc/SoftCacheProxyForward.h:5: parse error before numeric constant
> #ifndef __sun_misc_ResourceProxyForward_H
> #define __sun_misc_ResourceProxyForward_H
>
> namespace sun
> {
You are compiling this on Solaris, right?
"sun" is probably a predefined preprocessor macro, so after
preprocessing your code becomes:
| namespace 1
| {
I'm sorry, I don't know how you can get rid of the "sun" macro without
disturbing the header files.