r258128 - Add -Wexpansion-to-undefined: warn when using `defined` in a macro definition.

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 19 12:43:31 PST 2016


I mean you could pass a -Wno flag. It's undefined behavior that's actually
causing bugs in practice; it should probably be on by default.
On Jan 19, 2016 3:38 PM, "Diego Novillo" <dnovillo at google.com> wrote:

>
>
> On Tue, Jan 19, 2016 at 3:30 PM, Nico Weber <thakis at google.com> wrote:
>
>> I'll take a look. If it's urgent it's also possible to disable this
>> warning.
>>
>
> Yeah.  I think disabling it by default may be the better choice.  Thanks.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160119/f8a98ef7/attachment.html>


More information about the cfe-commits mailing list