[Bug c++/53184] New: Unnecessary anonymous namespace warnings

orgads at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed May 2 06:09:00 GMT 2012


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

             Bug #: 53184
           Summary: Unnecessary anonymous namespace warnings
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: orgads@gmail.com


Created attachment 27279
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27279
sample code

The attached file (stripped preprocessor output) produces the following
warning:

foo.cpp:5:16: warning: 'Bar' has a field 'Bar::foo' whose type uses the
anonymous namespace [enabled by default]



More information about the Gcc-bugs mailing list