This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #11 from Jonathan Gray <jsg at openbsd dot org> 2011-06-29 21:01:45 UTC ---
There is some problem with the gcc headers it would seem, placing #include
<stddef.h> at the start of lto-plugin.c the correct definition of NULL gets
picked up.  I am still trying to figure out where exactly the problem is but
grep shows at least:

gcc/tsystem.h:#define NULL 0
gcc/system.h:#define NULL 0
libiberty/getopt1.c:#define NULL 0
libiberty/argv.c:#define NULL 0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]