On Wed, Sep 24, 2014 at 2:51 PM, Nico Weber <[email protected]> wrote:

> On Wed, Sep 24, 2014 at 2:20 PM, David Majnemer <[email protected]>
> wrote:
>
>> Perhaps a warning should be added so code doesn't "miscompile" when
>> compiled with GCC?
>>
>
> In practice, it's only miscompiled with GCC if someone undefines NULL and
> redefines it. By default, NULL is __null in gcc, which also does the right
> thing.
>
> I believe warning on this would be very noisy.
>

Fair enough.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to