or named variable can't compile
Andrew Pinski
pinskia@physics.uc.edu
Sat Aug 10 15:35:00 GMT 2002
Because or is a keyword in ISO C++, that is why.
It might also be a keyword in ISO C 90 or 99 also, I don't know.
So you need to fix your code not to use `or' as identifier.
Thanks,
Andrew Pinski
On Sunday, August 11, 2002, at 12:18 , andre maute (by way of
andre maute <andre.maute@gmx.de>) wrote:
the following can't be compiled with gcc-3.1
int main() {
int or;
return 0;
}
More information about the Gcc-bugs
mailing list