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

Diego Novillo via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 19 12:44:28 PST 2016


On Tue, Jan 19, 2016 at 3:43 PM, Nico Weber <thakis at google.com> wrote:

> 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.
>

But then you need to fix all the warnings it's producing in an llvm build.
That is currently blocking several folks (us included).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160119/13e028f7/attachment.html>


More information about the cfe-commits mailing list