This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fortran/5558: Error in POT file


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]