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: unassig...@gcc.gnu.org
        ReportedBy: michael.a.richm...@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

Reply via email to