Solaris/x86 namespace bug?
Mike Stump
mrs@apple.com
Fri Feb 24 02:27:00 GMT 2006
On Feb 23, 2006, at 5:03 PM, Frank Cusack wrote:
> #include <signal.h>
> int CS;
> $ g++ ll.cc
> ll.cc:2: error: expected unqualified-id before numeric constant
>
> It works correctly on Solaris/sparc. My system is amd64, using the
> Sun gcc. /usr/include/sys/regset.h #define's CS on x86/amd64 only ...
> hence the brokenness.
Sounds like generic namespace pollution. Anyway, this isn't a gcc
issue, but a doxygen/Solaris issue, well, unless we want to
fixincludes it, which I don't think we can.
More information about the Gcc
mailing list