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++/53184] Unnecessary anonymous namespace warnings


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

--- Comment #2 from Orgad Shaneh <orgads at gmail dot com> 2012-05-02 06:56:28 UTC ---
Anonymous types shouldn't produce any warnings. They are very commonly used in
headers needed for both C and C++ projects. The warning is meant for types
inside anonymous namespaces, which is not the case here.

Moreover, removing the volatile keyword resolves the warning. Why is that?


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