[Bug c++/26329] confusing error message for ambiguous namespaces declarations

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 16 21:50:00 GMT 2006



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-02-16 21:50 -------
Fixed in 4.1.0 and above:
t.cc:8: error: reference to ‘NsIn’ is ambiguous
t.cc:4: error: candidates are: namespace NsIn { }
t.cc:2: error:                 namespace NsOut::NsIn { }
t.cc:8: error: expected ‘,’ or ‘...’ before ‘*’ token


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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



More information about the Gcc-bugs mailing list