This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53184] New: Unnecessary anonymous namespace warnings
- From: "orgads at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 May 2012 06:09:08 +0000
- Subject: [Bug c++/53184] New: Unnecessary anonymous namespace warnings
- Auto-submitted: auto-generated
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]