This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/29514] New: A member variable named 'not' is intrepreted by the compiler as the '!' sign.
- From: "selalerer at nana dot co dot il" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Oct 2006 10:03:50 -0000
- Subject: [Bug c++/29514] New: A member variable named 'not' is intrepreted by the compiler as the '!' sign.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Look at the source file first, its very short.
$ g++ -c -save-temps main.cpp
main.cpp:4: error: expected unqualified-id before ?!? token
$ g++ --version
g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cat /proc/version
Linux version 2.6.17-1.2142_FC4smp (bhcompile@hs20-bc1-4.build.redhat.com) (gcc
version 4.0.2 20051125 (Red Hat 4.0.2-8)) #1 SMP Tue Jul 11 22:57:02 EDT 2006
--
Summary: A member variable named 'not' is intrepreted by the
compiler as the '!' sign.
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: selalerer at nana dot co dot il
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29514