Date: Wed, 1 Aug 2001 11:02:48 -0700 (PDT) From: "David E. O'Brien" <obrien@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/gcc c-decl.c Message-ID: <200108011802.f71I2m211317@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
obrien 2001/08/01 11:02:47 PDT
Modified files: (Branch: RELENG_4)
contrib/gcc c-decl.c
Log:
MFC: gcc.295 rev 1.2
Add "-Wnon-const-format" which checks for non-constant format strings for
auditing purposes.
I am reluctant to bring this into our native GCC tree due to maintenance
reasons... but since Kris already did the porting work and it won't be
pulling any files off the vendor branch..... but I will not port this
functionality forward to newer versions of GCC if it requires more than
5 min of work, and if these changes do cleanly apply to GCC snapshots,
I will remove it the moment GCC changes underneath theses changes.
Submitted by: kris
Obtained from: NetBSD
----------------------------
gcc.295 rev 1.4
Accept old spellings of main() as ANSI for WRT warnings.
Motivated by WARNS=2.
Submitted by: dd
Revision Changes Path
1.1.1.4.2.2 +13 -3 src/contrib/gcc/c-decl.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?200108011802.f71I2m211317>
