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

Matt Beaumont-Gay matthewbg at google.com
Mon Feb 13 14:09:04 PST 2012


Thanks, submitted as r150418 after discussion on IRC.

On Mon, Feb 13, 2012 at 14:02, Aaron Ballman <aaron at aaronballman.com> wrote:
> 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