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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libcmd/Makefile.com
          +++ new/usr/src/lib/libcmd/Makefile.com
↓ open down ↓ 127 lines elided ↑ open up ↑
 128  128                  "[-license?http://www.opensource.org/licenses/cpl1.0.txt]"\
 129  129                  "[--catalog?libcmd]"'
 130  130  
 131  131  CFLAGS += \
 132  132          $(ASTCFLAGS)
 133  133  CFLAGS64 += \
 134  134          $(ASTCFLAGS64)
 135  135  
 136  136  CERRWARN        += -_gcc=-Wno-unused-value
 137  137  CERRWARN        += -_gcc=-Wno-parentheses
 138      -CERRWARN        += -_gcc=-Wno-uninitialized
      138 +CERRWARN        += $(CNOWARN_UNINIT)
 139  139  CERRWARN        += -_gcc=-Wno-unused-variable
 140  140  CERRWARN        += -_gcc=-Wno-implicit-function-declaration
 141  141  
 142  142  # not linted
 143  143  SMATCH=off
 144  144  
 145  145  pics/cut.o      := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
 146  146  pics/sync.o     := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
 147  147  pics/vmstate.o  := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
 148  148  
↓ open down ↓ 13 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX