From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8653 invoked by alias); 29 Jun 2011 21:02:41 -0000 Received: (qmail 8643 invoked by uid 22791); 29 Jun 2011 21:02:41 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_JS X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Jun 2011 21:02:28 +0000 From: "jsg at openbsd dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/48851] lto-plugin.c:224:7: error: missing sentinel in function call [-Werror=format] X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsg at openbsd dot org X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 29 Jun 2011 21:02:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg02918.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48851 --- Comment #11 from Jonathan Gray 2011-06-29 21:01:45 UTC --- There is some problem with the gcc headers it would seem, placing #include 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