public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3360: `and, `or', `xor' ... variable names
@ 2001-06-22 5:19 neil
0 siblings, 0 replies; 2+ messages in thread
From: neil @ 2001-06-22 5:19 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, sreyero
Synopsis: `and, `or', `xor' ... variable names
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Fri Jun 22 05:18:58 2001
State-Changed-Why:
Not a bug. They are keywords, just like "int" or "unsigned".
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3360&database=gcc
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/3360: `and, `or', `xor' ... variable names
@ 2001-06-22 5:06 Santiago G. Reyero
0 siblings, 0 replies; 2+ messages in thread
From: Santiago G. Reyero @ 2001-06-22 5:06 UTC (permalink / raw)
To: gcc-gnats
>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:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-06-22 5:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-22 5:19 c++/3360: `and, `or', `xor' ... variable names neil
-- strict thread matches above, loose matches on Subject: below --
2001-06-22 5:06 Santiago G. Reyero
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).