From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17866 invoked by alias); 1 Feb 2002 22:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 17849 invoked by uid 71); 1 Feb 2002 22:56:01 -0000 Date: Fri, 01 Feb 2002 14:56:00 -0000 Message-ID: <20020201225601.17848.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Toon Moene Subject: Re: fortran/5558: Error in POT file Reply-To: Toon Moene X-SW-Source: 2002-02/txt/msg00038.txt.bz2 List-Id: The following reply was made to PR fortran/5558; it has been noted by GNATS. From: Toon Moene To: Philipp Thomas Cc: toon@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, martin@v.loewis.de, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: fortran/5558: Error in POT file Date: Fri, 01 Feb 2002 23:51:00 +0100 Philipp Thomas wrote: > * Toon Moene (toon@moene.indiv.nluug.nl) [20020201 22:20]: > > > The problem is caused by the fact that several "proto" error messages in > > the Fortran front-end have "printf"-like "%" sequences. > > > > However, they definitely are *not* printf format strings. Hence > > classifying them as c-format is wrong. > The solution is very easy. Before each of those lines put the comment > > /* xgettext:no-c-format */ > > That will prevent xgettext ever mistakenly mark such a string as > printf-like. We could limit the marking to only those strings that xgettext > wrongly marked, but I'd say fix it once and for all. > > Now who's going to do the dirty work, me or you? ;-) Well, yes, this I understood already :-) However, my question was: Is this something that should be repaired in gcc.pot, or is it something that should be repaired in the program that generates gcc.pot. Just to prove this point :-) I changed one of the error messages that's listed in gcc.pot in the original program that contains this error message. -- Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290 Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)