This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/12272] wrong error message using declaration shadows namespace


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2003-09-15 01:45:34
               date|                            |
            Summary|using declaration shadows   |wrong error message using
                   |namespace                   |declaration shadows
                   |                            |namespace


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-15 01:45 -------
The mainline is even worse because NS2 is definitely a namespace:
pr12272.cc:10: error: `NS2' is not a class-name or namespace-name
pr12272.cc:10: error: expected init-declarator
pr12272.cc:10: error: expected `,' or `;'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]