svn commit: r276625 - head/sys/conf
Warner Losh
imp at FreeBSD.org
Sat Jan 3 16:48:09 UTC 2015
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
More information about the svn-src-head
mailing list