[BACK]Return to Makefile.kern.inc CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / conf

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/conf/Makefile.kern.inc between version 1.149 and 1.149.6.1

version 1.149, 2011/09/25 22:26:33 version 1.149.6.1, 2012/02/18 07:34:01
Line 65  DEFWARNINGS?= yes
Line 65  DEFWARNINGS?= yes
 .if (${DEFWARNINGS} == "yes")  .if (${DEFWARNINGS} == "yes")
 CWARNFLAGS+=    -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith  CWARNFLAGS+=    -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
 CWARNFLAGS+=    -Wmissing-prototypes -Wstrict-prototypes  CWARNFLAGS+=    -Wmissing-prototypes -Wstrict-prototypes
   CWARNFLAGS+=    -Wold-style-definition
 CWARNFLAGS+=    -Wswitch -Wshadow  CWARNFLAGS+=    -Wswitch -Wshadow
 CWARNFLAGS+=    -Wcast-qual -Wwrite-strings  CWARNFLAGS+=    -Wcast-qual -Wwrite-strings
 CWARNFLAGS+=    -Wno-unreachable-code  CWARNFLAGS+=    -Wno-unreachable-code
Line 74  CWARNFLAGS+= -Wno-pointer-sign -Wno-attr
Line 75  CWARNFLAGS+= -Wno-pointer-sign -Wno-attr
         ${MACHINE_ARCH} == "sparc64" || ${MACHINE} == "prep"          ${MACHINE_ARCH} == "sparc64" || ${MACHINE} == "prep"
 CWARNFLAGS+=    -Wextra -Wno-unused-parameter  CWARNFLAGS+=    -Wextra -Wno-unused-parameter
 .  endif  .  endif
   .  if ${MACHINE} == "i386" || ${MACHINE_ARCH} == "x86_64"
   CWARNFLAGS+=    -Wold-style-definition
   .  endif
 . endif  . endif
 # Add -Wno-sign-compare.  -Wsign-compare is included in -Wall as of GCC 3.3,  # Add -Wno-sign-compare.  -Wsign-compare is included in -Wall as of GCC 3.3,
 # but our sources aren't up for it yet.  # but our sources aren't up for it yet.
Line 83  CWARNFLAGS+= -Wno-sign-compare
Line 87  CWARNFLAGS+= -Wno-sign-compare
 CWARNFLAGS.clang+=      -Wno-unknown-pragmas -Wno-conversion \  CWARNFLAGS.clang+=      -Wno-unknown-pragmas -Wno-conversion \
                         -Wno-self-assign                          -Wno-self-assign
   
   CWARNFLAGS.ah_regdomain.c= ${${ACTIVE_CC} == "clang":? \
       -Wno-shift-count-negative -Wno-shift-count-overflow:}
   
 CFLAGS+=        -ffreestanding -fno-zero-initialized-in-bss  CFLAGS+=        -ffreestanding -fno-zero-initialized-in-bss
 CFLAGS+=        ${DEBUG} ${COPTS}  CFLAGS+=        ${DEBUG} ${COPTS}
 AFLAGS+=        -D_LOCORE -Wa,--fatal-warnings  AFLAGS+=        -D_LOCORE -Wa,--fatal-warnings

Legend:
Removed from v.1.149  
changed lines
  Added in v.1.149.6.1

CVSweb <webmaster@jp.NetBSD.org>