This is the mail archive of the gcc@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: Solaris/x86 namespace bug?


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.



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