Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2015 16:48:09 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276625 - head/sys/conf
Message-ID:  <201501031648.t03Gm9dX042014@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat Jan  3 16:48:08 2015
New Revision: 276625
URL: https://svnweb.freebsd.org/changeset/base/276625

Log:
  Always use -Wno-unknown-pragmas, not just for clang.

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Sat Jan  3 16:04:28 2015	(r276624)
+++ head/sys/conf/kern.mk	Sat Jan  3 16:48:08 2015	(r276625)
@@ -7,6 +7,7 @@ CWARNFLAGS?=	-Wall -Wredundant-decls -Wn
 		-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
 		-Wundef -Wno-pointer-sign ${FORMAT_EXTENSIONS} \
 		-Wmissing-include-dirs -fdiagnostics-show-option \
+		-Wno-unknown-pragmas \
 		${CWARNEXTRA}
 #
 # The following flags are next up for working on:
@@ -27,8 +28,7 @@ NO_WSOMETIMES_UNINITIALIZED=	-Wno-error-
 # some incentive to fix them eventually.
 CWARNEXTRA?=	-Wno-error-tautological-compare -Wno-error-empty-body \
 		-Wno-error-parentheses-equality -Wno-error-unused-function \
-		-Wno-error-pointer-sign -Wno-error-format -Wno-error-parentheses \
-		-Wno-unknown-pragmas
+		-Wno-error-pointer-sign -Wno-error-format -Wno-error-parentheses
 .endif
 
 .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40300



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