diff options
author | melifaro <melifaro@FreeBSD.org> | 2014-10-09 18:03:12 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2014-10-09 18:03:12 +0000 |
commit | 2cf773b92f5fe4942695a1e398886dbfc30369b2 (patch) | |
tree | 598c0dad587fbf0928d5035c005b3fd23de2fa5c /sys/conf | |
parent | 74b507651ffd308e898a78abff4bb8c9b6a90b63 (diff) | |
download | FreeBSD-src-2cf773b92f5fe4942695a1e398886dbfc30369b2.zip FreeBSD-src-2cf773b92f5fe4942695a1e398886dbfc30369b2.tar.gz |
Merge HEAD@r272834
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kern.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index c3fb969..e4819c6 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -33,7 +33,13 @@ CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \ .endif .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40300 -CWARNEXTRA?= -Wno-inline +# Catch-all for all the things that are in our tree, but for which we're +# not yet ready for this compiler. Note: we likely only really "support" +# building with gcc 4.8 and newer. Nothing older has been tested. +CWARNEXTRA?= -Wno-error=inline -Wno-error=enum-compare -Wno-error=unused-but-set-variable \ + -Wno-error=aggressive-loop-optimizations -Wno-error=maybe-uninitialized \ + -Wno-error=unused-local-typedefs -Wno-error=array-bounds -Wno-error=address \ + -Wno-error=cast-qual -Wno-error=sequence-point -Wno-error=attributes .endif # External compilers may not support our format extensions. Allow them |