[Bug lto/48851] lto-plugin.c:224:7: error: missing sentinel in function call [-Werror=format]

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Tue May 3 16:25:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48851

--- Comment #7 from Andreas Schwab <schwab@linux-m68k.org> 2011-05-03 16:20:35 UTC ---
0 is a valid null pointer constant in C.  If you want to use NULL as a sentinel
you must always cast it.



More information about the Gcc-bugs mailing list