"format not a string literal"

Ulrich Drepper drepper@cygnus.com
Mon Oct 11 12:44:00 GMT 1999


"Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:

> 	Does this gcc patch help out?  I'd be interested to know if
> any other false positives remain.

This solves the obvious problems.  There is still case:

	printf (gettext ("%s %d"), "foo", 42);

you have to take the functions registered using
`record_international_format' into account.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


More information about the Gcc-bugs mailing list