From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17120 invoked by alias); 25 Jun 2002 08:26:46 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17078 invoked from network); 25 Jun 2002 08:26:44 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 25 Jun 2002 08:26:44 -0000 Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 7D1CC1430F; Tue, 25 Jun 2002 10:26:43 +0200 (MEST) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: next gettextization step References: <877kkqq6y8.fsf@fleche.redhat.com> <3D17D445.9080308@cygnus.com> X-Yow: I predict that by 1993 everyone will live in and around LAS VEGAS and wear BEATLE HAIRCUTS! From: Andreas Schwab Date: Tue, 25 Jun 2002 01:26:00 -0000 In-Reply-To: <3D17D445.9080308@cygnus.com> (Andrew Cagney's message of "Mon, 24 Jun 2002 22:24:05 -0400") Message-ID: User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (ia64-suse-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-06/txt/msg00509.txt.bz2 Andrew Cagney writes: |> > - fprintf_unfiltered (gdb_stderr, "%s: unable to load tclcommand file \"%s\"", |> > + fprintf_unfiltered (gdb_stderr, _("%s: unable to load tclcommand file \"%s\""), |> > argv[0], optarg); |> > exit (1); |> BTW, what effect does this have on -Werror -Wprintf? Does GCC have magic |> telling it to look through the gettext()? Yes, through the format_arg attribute, which gettext has by default. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."