public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29514] New: A member variable named 'not' is intrepreted by the compiler as the '!' sign.
@ 2006-10-19 10:03 selalerer at nana dot co dot il
2006-10-19 10:05 ` [Bug c++/29514] " selalerer at nana dot co dot il
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: selalerer at nana dot co dot il @ 2006-10-19 10:03 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/29514] A member variable named 'not' is intrepreted by the compiler as the '!' sign.
2006-10-19 10:03 [Bug c++/29514] New: A member variable named 'not' is intrepreted by the compiler as the '!' sign selalerer at nana dot co dot il
@ 2006-10-19 10:05 ` selalerer at nana dot co dot il
2006-10-19 10:06 ` selalerer at nana dot co dot il
2006-10-19 10:26 ` pcarlini at suse dot de
2 siblings, 0 replies; 4+ messages in thread
From: selalerer at nana dot co dot il @ 2006-10-19 10:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from selalerer at nana dot co dot il 2006-10-19 10:05 -------
Created an attachment (id=12459)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12459&action=view)
Source file for the code that created the bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29514
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/29514] A member variable named 'not' is intrepreted by the compiler as the '!' sign.
2006-10-19 10:03 [Bug c++/29514] New: A member variable named 'not' is intrepreted by the compiler as the '!' sign selalerer at nana dot co dot il
2006-10-19 10:05 ` [Bug c++/29514] " selalerer at nana dot co dot il
@ 2006-10-19 10:06 ` selalerer at nana dot co dot il
2006-10-19 10:26 ` pcarlini at suse dot de
2 siblings, 0 replies; 4+ messages in thread
From: selalerer at nana dot co dot il @ 2006-10-19 10:06 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from selalerer at nana dot co dot il 2006-10-19 10:06 -------
Created an attachment (id=12460)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12460&action=view)
The *.ii file created by the compiler from the source file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29514
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/29514] A member variable named 'not' is intrepreted by the compiler as the '!' sign.
2006-10-19 10:03 [Bug c++/29514] New: A member variable named 'not' is intrepreted by the compiler as the '!' sign selalerer at nana dot co dot il
2006-10-19 10:05 ` [Bug c++/29514] " selalerer at nana dot co dot il
2006-10-19 10:06 ` selalerer at nana dot co dot il
@ 2006-10-19 10:26 ` pcarlini at suse dot de
2 siblings, 0 replies; 4+ messages in thread
From: pcarlini at suse dot de @ 2006-10-19 10:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pcarlini at suse dot de 2006-10-19 10:26 -------
not a bug: per section 2.5 of the Standard 'not' is an alternative token for
'!'
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29514
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-10-19 10:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-19 10:03 [Bug c++/29514] New: A member variable named 'not' is intrepreted by the compiler as the '!' sign selalerer at nana dot co dot il
2006-10-19 10:05 ` [Bug c++/29514] " selalerer at nana dot co dot il
2006-10-19 10:06 ` selalerer at nana dot co dot il
2006-10-19 10:26 ` pcarlini at suse dot de
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).