[Bug lto/48851] New: lto-plugin.c:224:7: error: missing sentinel in function call [-Werror=format]
michael.a.richmond at nasa dot gov
gcc-bugzilla@gcc.gnu.org
Tue May 3 12:15:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48851
Summary: lto-plugin.c:224:7: error: missing sentinel in
function call [-Werror=format]
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: michael.a.richmond@nasa.gov
Host: i386-unknown-openbsd4.9
Target: i386-unknown-openbsd4.9
Build: i386-unknown-openbsd4.9
When I compile gcc under OpenBSD 4.9 I get the following messages:
/home/mrichmon/gcc-4.7-20110416/lto-plugin/lto-plugin.c: In function
'parse_table_entry':
/home/mrichmon/gcc-4.7-20110416/lto-plugin/lto-plugin.c:224:7: error: missing
sentinel in function call [-Werror=format]
/home/mrichmon/gcc-4.7-20110416/lto-plugin/lto-plugin.c: In function
'exec_lto_wrapper':
/home/mrichmon/gcc-4.7-20110416/lto-plugin/lto-plugin.c:525:3: error: missing
sentinel in function call [-Werror=format]
cc1: all warnings being treated as errors
A rough-and-ready workaround is to compile lto-plugin.c without -Werror
More information about the Gcc-bugs
mailing list