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 ([EMAIL PROTECTED]) (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

Reply via email to