[Bug lto/48851] lto-plugin.c:224:7: error: missing sentinel in function call [-Werror=format]
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 3 16:10:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48851
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-03 16:09:14 UTC ---
GCC provided stddef.h defines NULL properly, apparently OpenBSD thinks it knows
better and provides its buggy definition.
Anyway, if we want to work around it, we could use (void *) NULL or (void *) 0
instead of NULL to terminate concat arguments.
More information about the Gcc-bugs
mailing list