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 #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.


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