This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC compiling problem on solaris intel machine


"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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]