Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2011 09:01:56 +0000 (UTC)
From:      Bruce Cran <brucec@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r222248 - head/sys/conf
Message-ID:  <201105240901.p4O91uha059894@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brucec
Date: Tue May 24 09:01:56 2011
New Revision: 222248
URL: http://svn.freebsd.org/changeset/base/222248

Log:
  Remove an outdated comment as requested by Bruce Evans in a private email to
  Alexander Best (arundel@).
  
  For clang, -fdiagnostics-show-option is enabled by default, but for gcc it
  isn't. This option will report which -W* flag was responsible for triggering
  a certain warning. This will bring gcc warnings closer to the ones clang emits
  and might also help developers track down tinderbox failures a bit quicker.
  
  Submitted by:	arundel

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Tue May 24 08:02:55 2011	(r222247)
+++ head/sys/conf/kern.mk	Tue May 24 09:01:56 2011	(r222248)
@@ -1,15 +1,12 @@
 # $FreeBSD$
 
 #
-# Warning flags for compiling the kernel and components of the kernel.
+# Warning flags for compiling the kernel and components of the kernel:
 #
-# Note that the newly added -Wcast-qual is responsible for generating
-# most of the remaining warnings.  Warnings introduced with -Wall will
-# also pop up, but are easier to fix.
 CWARNFLAGS?=	-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
 		-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
 		-Wundef -Wno-pointer-sign -fformat-extensions \
-		-Wmissing-include-dirs
+		-Wmissing-include-dirs -fdiagnostics-show-option
 #
 # The following flags are next up for working on:
 #	-Wextra



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105240901.p4O91uha059894>