[Bug c++/14875] When using 'or' keyword, the error message speaks of a '||' token

spiridenok at tut dot by gcc-bugzilla@gcc.gnu.org
Thu Nov 22 08:39:00 GMT 2007



------- Comment #11 from spiridenok at tut dot by  2007-11-22 08:39 -------
Since when are "or"/"and"/"xor" C++ keywords?

(In reply to comment #1)
> In C++ or is a keyword for |, so this is invalid.
> 
> Also the follow are keywords:
> and    &
> xor    ^


-- 

spiridenok at tut dot by changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |spiridenok at tut dot by


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14875



More information about the Gcc-bugs mailing list