[patch] Let stddef.h redefine NULL if __need_NULL is set

Joerg Sonnenberger joerg at britannica.bec.de
Sun Apr 27 16:07:48 PDT 2014


On Sun, Apr 27, 2014 at 02:50:16PM -0700, Nico Weber wrote:
> small.cc:6:18: error: missing sentinel in function call [-Werror,-Wsentinel]
>   foo("bar", NULL);

This is just broken code. Why we do we want to workaround that?

Joerg



More information about the cfe-commits mailing list