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: [email protected]
ReportedBy: [email protected]
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]