From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16387 invoked by alias); 13 Feb 2010 05:55:04 -0000 Received: (qmail 16373 invoked by uid 48); 13 Feb 2010 05:55:04 -0000 Date: Sat, 13 Feb 2010 05:55:00 -0000 From: "jnichols at alumni dot princeton dot edu" To: gdb-prs@sourceware.org Message-ID: <20100213055503.11278.jnichols@alumni.princeton.edu> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug build/11278] New: Build errors in gdb 7.0.1 on Mac OSX X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2010-q1/txt/msg00258.txt.bz2 I'm getting numerous instances of this when I try to compile gdb 7.0.1 on Mac OSX 10.6.2 running Xcode tools 3.2.1 (gcc version 4.2.1 (Apple Inc. build 5646): warning: format not a string literal, argument types not checked since -Werror is set, the build fails. Here is an example of the warning/error from ppc-dis.c: fprintf (stream, _("\n\ The following PPC specific disassembler options are supported for use with\n\ the -M switch:\n")); The preprocessor spits this out: fprintf (stream, libintl_dgettext ("opcodes", "\nThe following PPC specific disassembler options are supported for use with\nthe -M switch:\n")); The build appears to fail when there are no arguments in the va_list when the _( ) macro is used. Not sure why it doesn't fail when there are arguments in the va_list. -- Summary: Build errors in gdb 7.0.1 on Mac OSX Product: gdb Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: build AssignedTo: unassigned at sourceware dot org ReportedBy: jnichols at alumni dot princeton dot edu CC: gdb-prs at sourceware dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11278 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.