[Bug c++/13164] wrong error when using instance of class to access static var

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Nov 23 07:35:00 GMT 2003


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-23 07:35 -------
Already fixed for the mainline and will not be fixed for 3.3.x as it is fixed by the new parser:
pr13164.cc: In member function `bool Exception::trailingIs(const std::string&) const':
pr13164.cc:24: error: `_name' is not a class-name or namespace-name
pr13164.cc:24: error: `npos' undeclared (first use this function)
pr13164.cc:24: error: (Each undeclared identifier is reported only once for each function it appears 
in.)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |diagnostic
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13164



More information about the Gcc-bugs mailing list