[cfe-commits] PATCH: Add -Wreturn-type-c-linkage

Matt Beaumont-Gay matthewbg at google.com
Mon Feb 13 13:55:42 PST 2012


The new "your 'extern "C" function is returning a non-POD type'"
warning fires on a lot of code which we would like to continue
building with -Werror=return-type. This patch gives the new warning
its own flag so it can be selectively disabled.

-Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: return-type-c-linkage.patch
Type: text/x-patch
Size: 1502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120213/c4b0cc2d/attachment.bin>


More information about the cfe-commits mailing list