[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Tweak NLS for better gcc printf format checking

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-08-21 02:10:55 CEST

"Peter N. Lundblad" <peter@famlundblad.se> writes:

> I have something similar, *but* looking in the GCC manual it says that
> gettext, dgettext and dcgettext are treated specially unless -ansi or some
> -std option is specified. That's why it works for me. (Look in the
> section about the format_arg attribute).

That's it! I use -std=c89 to get warnings about inadvertent use of
non-c89 features and that kills any warnings about _ format strings.
With my patch I can get all the warnings.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 21 02:11:43 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.