G++ reuses assembly labels
Zack Weinberg
zack@wolery.cumb.org
Tue May 30 18:57:00 GMT 2000
On Tue, May 30, 2000 at 05:51:57PM -0700, Greg Noel wrote:
> [Forwarded by Geoff Keating, due to ORBS/RoadRunner annoyance.]
>
> At 9:01 AM -0700 5/30/00, Geoff Keating wrote:
>
> >The current mainline (which will become 3.0 or 2.96) complains ...
> >because 'or' and 'not' are reserved words in C++.
>
> Ouch. I think they're reserved words in C, too.
They are not. If you #include <iso646.h> then they are macros
(defined to || and !, respectively). Otherwise they are free to use.
zw
More information about the Gcc-bugs
mailing list