This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14875] When using 'or' keyword, the error message speaks of a '||' token
- From: "spiridenok at tut dot by" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2007 08:39:20 -0000
- Subject: [Bug c++/14875] When using 'or' keyword, the error message speaks of a '||' token
- References: <bug-14875-8295@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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