Author: br
Date: Thu Jul 28 13:15:23 2016
New Revision: 303438
URL: https://svnweb.freebsd.org/changeset/base/303438

Log:
  o Add warn flags required to build modules with GCC 6.1;
  o Sort GCC 4.8 warn flags.
  
  Sponsored by: DARPA, AFRL
  Sponsored by: HEIF5

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk       Thu Jul 28 12:25:58 2016        (r303437)
+++ head/sys/conf/kern.mk       Thu Jul 28 13:15:23 2016        (r303438)
@@ -45,13 +45,23 @@ CLANG_NO_IAS34= -no-integrated-as
 .if ${COMPILER_VERSION} >= 40800
 # Catch-all for all the things that are in our tree, but for which we're
 # not yet ready for this compiler.
-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=array-bounds -Wno-error=address \
-               -Wno-error=cast-qual -Wno-error=sequence-point 
-Wno-error=attributes \
-               -Wno-error=strict-overflow -Wno-error=overflow
+CWARNEXTRA?=   -Wno-error=address                              \
+               -Wno-error=aggressive-loop-optimizations        \
+               -Wno-error=array-bounds                         \
+               -Wno-error=attributes                           \
+               -Wno-error=cast-qual                            \
+               -Wno-error=enum-compare                         \
+               -Wno-error=inline                               \
+               -Wno-error=maybe-uninitialized                  \
+               -Wno-error=overflow                             \
+               -Wno-error=sequence-point                       \
+               -Wno-error=strict-overflow                      \
+               -Wno-error=unused-but-set-variable
 .if ${COMPILER_VERSION} >= 60100
-CWARNEXTRA+=   -Wno-error=nonnull-compare -Wno-error=shift-overflow
+CWARNEXTRA+=   -Wno-error=misleading-indentation               \
+               -Wno-error=nonnull-compare                      \
+               -Wno-error=shift-overflow                       \
+               -Wno-error=tautological-compare
 .endif
 .else
 # For gcc 4.2, eliminate the too-often-wrong warnings about uninitialized vars.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to