Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libshell/Makefile.com
          +++ new/usr/src/lib/libshell/Makefile.com
↓ open down ↓ 150 lines elided ↑ open up ↑
 151  151  
 152  152  CFLAGS += \
 153  153          $(ASTCFLAGS)
 154  154  CFLAGS64 += \
 155  155          $(ASTCFLAGS64)
 156  156  
 157  157  CERRWARN        += -_gcc=-Wno-parentheses
 158  158  CERRWARN        += -_gcc=-Wno-unused-value
 159  159  CERRWARN        += -_gcc=-Wno-unused-variable
 160  160  CERRWARN        += -_gcc=-Wno-unused-function
 161      -CERRWARN        += -_gcc=-Wno-uninitialized
      161 +CERRWARN        += $(CNOWARN_UNINIT)
 162  162  CERRWARN        += -_gcc=-Wno-clobbered
 163  163  CERRWARN        += -_gcc=-Wno-char-subscripts
 164  164  
 165  165  # smatch gets out of memory on common/sh/macro.c
 166  166  SMATCH          = off
 167  167  
 168  168  pics/sh/macro.o         := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
 169  169  pics/sh/nvdisc.o        := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
 170  170  
 171  171  .KEEP_STATE:
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX