From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6030 invoked by alias); 15 Jun 2006 08:22:17 -0000 Received: (qmail 6021 invoked by uid 22791); 15 Jun 2006 08:22:16 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 15 Jun 2006 08:22:15 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 3A7C2F015; Thu, 15 Jun 2006 10:22:12 +0200 (CEST) From: Andreas Schwab To: Masaki Muranaka Cc: gdb-patches@sourceware.org Subject: Re: [patch] Failed to build mips64-elf with NLS on OSX References: <9E9B2AC9-6DB7-4D6A-BF9C-2B3E387F67E2@monami-software.com> X-Yow: ... Blame it on the BOSSA NOVA!!! Date: Thu, 15 Jun 2006 08:22:00 -0000 In-Reply-To: <9E9B2AC9-6DB7-4D6A-BF9C-2B3E387F67E2@monami-software.com> (Masaki Muranaka's message of "Thu, 15 Jun 2006 17:12:07 +0900") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00225.txt.bz2 Masaki Muranaka writes: > Hello, > > On mainline, it's failed to compile with a lot of > warnings like > : format not a string literal, argument types not checked > : format not a string literal and no format arguments > > > In case building with NLS, _("string") was expanded to > gettext("string"), not literal. GCC should recognize gettext specially in the context of format string tests. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."