[Bug lto/48851] lto-plugin.c:224:7: error: missing sentinel in function call [-Werror=format]
matz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 4 12:14:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48851
--- Comment #9 from Michael Matz <matz at gcc dot gnu.org> 2011-05-04 12:02:44 UTC ---
Also defining NULL as "0" creates problems when passing it to varargs
functions on LP64 platforms, not just for sentinels. As Andreas says, it's a
valid null pointer constant, but a terribly stupid choice for NULL.
More information about the Gcc-bugs
mailing list