public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* warning control project status
@ 2005-07-22 17:32 DJ Delorie
  0 siblings, 0 replies; only message in thread
From: DJ Delorie @ 2005-07-22 17:32 UTC (permalink / raw)
  To: gcc


http://gcc.gnu.org/wiki/Warning%20Message%20Control

Functionality supported:

* Control of warnings through OPT_* values passed to warning().

* Display of command line options corresponding to printed warnings
  through -fdiagnostics-show-option.

Warning conversion:

		# OPT	# Zero	% done

top files	224	175	56 %
all files	306	544	36 %

ada		  0	  1
config		 67	121	36 %
cp		 13	172	 7 %
fortran		  0	  4
java		  2	 19
objc		  0	 51
treelang	  0	  1


Functionality currently planned for 4.2:

* -Werror-foo to turn -Wfoo warnings into errors.  Matching
  -Wno-error-foo for use with -Werror.

* #pragma for limited control of -W* and -Werror-*

The idea behind these is that you'd have a .h file that defines your
"acceptable warnings" policy, that everyone includes right at the top
of each source file, with individual source files being able to make
exceptions.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-22 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-22 17:32 warning control project status DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).