http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56996
Bug #: 56996 Summary: no warning on using extern "C" in namespace Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: dtemirbula...@gmail.com Created attachment 29894 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29894 testcase Using extern "C" in namespace is not right and it is good to have a warning in such cases. Currently gcc is silent when front-end encounters such constructions. More on this issue http://support.microsoft.com/kb/140357.