C++ PATCH to warn about undefined functions in anonymous namespace

Jason Merrill jason@redhat.com
Mon Jun 10 19:37:00 GMT 2013


Since members of the anonymous namespace can't be defined in another 
translation unit, we should treat them like statics for diagnostic purposes.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anon-warn.patch
Type: text/x-patch
Size: 1122 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130610/7752acec/attachment.bin>


More information about the Gcc-patches mailing list