This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/3360: `and, `or', `xor' ... variable names
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/3360: `and, `or', `xor' ... variable names
- From: "Santiago G. Reyero" <sreyero at bpo dot hp dot com>
- Date: Fri, 22 Jun 2001 14:02:59 +0200
- Reply-To: sreyero at bpo dot hp dot com
>Number: 3360
>Category: c++
>Synopsis: `and, `or', `xor' ... variable names
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Fri Jun 22 05:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Santiago G. Reyero
>Release: 3.0
>Organization:
Hewlett Packard
>Environment:
System: Linux ws001 2.2.18 #1 SMP Thu Jan 11 10:55:56 CET 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-3.0/configure --prefix=/usr/local/share/gcc-3.0 --enable-threads
>Description:
It does not compile
>How-To-Repeat:
try to compile this using g++:
int main(void)
{
int or=3;
return 0;
}
and preprocessor (:-)):
# 3 "main.cpp"
int main(void)
{
int or=3;
return 0;
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
To: gcc-gnats@gcc.gnu.org
Subject: `and, `or', `xor' ... variable names
From: sreyero@bpo.hp.com
Reply-To:
Cc:
X-send-pr-version: 3.113
X-GNATS-Notify: