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

jsg at openbsd dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 3 19:01:00 GMT 2011


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

--- Comment #18 from Jonathan Gray <jsg at openbsd dot org> 2011-07-03 19:00:36 UTC ---
Thanks for pointing that out, I've changed the definitions in OpenBSD to

#ifndef NULL
#ifdef  __GNUG__
#define NULL    __null
#elif defined(__cplusplus)
#define NULL    0L
#else
#define NULL    ((void *)0)
#endif
#endif



More information about the Gcc-bugs mailing list