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

Aaron Ballman aaron at aaronballman.com
Mon Feb 13 14:02:56 PST 2012


On Mon, Feb 13, 2012 at 3:55 PM, Matt Beaumont-Gay <matthewbg at google.com> wrote:
> 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.

Patch LGTM, but before I commit, I'm wondering if there's any argument
against having it in its own group?

~Aaron



More information about the cfe-commits mailing list