Subject: CVS commit: gnusrc
To: None <source-changes@netbsd.org>
From: Bill Sommerfeld <sommerfeld@netbsd.org>
List: source-changes
Date: 10/05/2000 16:08:59
Module Name:	gnusrc
Committed By:	sommerfeld
Date:		Thu Oct  5 13:08:59 UTC 2000

Modified Files:
	gnusrc/gnu/dist/gcc: c-common.c c-decl.c c-tree.h toplev.c
	gnusrc/gnu/dist/gcc/cp: decl2.c

Log Message:
Enhanced format checking, mk II:
New option -Wno-format-extra-args : suppress warning for:
	printf("foo", bar);
since that isn't interesting from the POV of this audit, and it's more
common than most in some code.

also, do format args checking for
	printf(Aflag ? "format 1: %s" : "format 2: %s", bar);
albeit in a half-hearted way for now (just check the "then" case)


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 gnusrc/gnu/dist/gcc/c-common.c
cvs rdiff -r1.7 -r1.8 gnusrc/gnu/dist/gcc/c-decl.c
cvs rdiff -r1.2 -r1.3 gnusrc/gnu/dist/gcc/c-tree.h \
    gnusrc/gnu/dist/gcc/toplev.c
cvs rdiff -r1.4 -r1.5 gnusrc/gnu/dist/gcc/cp/decl2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.