Date: Mon, 29 Mar 1999 19:57:38 -0800 (PST) From: "David E. O'Brien" <obrien@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/egcs/gcc c-common.c Message-ID: <199903300357.TAA91950@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
obrien 1999/03/29 19:57:38 PST
Modified files:
contrib/egcs/gcc c-common.c
Log:
Support printf format checking of FreeBSD kernel formats %[Dbrz].
This is enabled by the undocumented option -fformat-extensions.
This option should be named better and/or give more control over
the extensions.
Fixed a message - don't warn about the field width when it's the
precision that has the wrong type. Didn't fix excessive checking
for the precision relative to the type - ANSI requires both to be
ints, but gcc permits the field width to be either int or unsigned
int.
Obtained from: bde's -fformat-extensions from rev 1.3 of contrib/gcc/c-common.c
Revision Changes Path
1.2 +56 -2 src/contrib/egcs/gcc/c-common.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903300357.TAA91950>
