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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/unix/Makefile
          +++ new/usr/src/uts/i86pc/unix/Makefile
↓ open down ↓ 121 lines elided ↑ open up ↑
 122  122  $(OBJS_DIR)/comm_page_ctf.o :=  CERRWARN += -_cc=-erroff=E_TKNS_IGNORED_AT_END_OF_DIR
 123  123  
 124  124  CFLAGS += -DDIS_MEM
 125  125  
 126  126  #
 127  127  # For now, disable these checks; maintainers should endeavor
 128  128  # to investigate and remove these for maximum coverage.
 129  129  # Please do not carry these forward to new Makefiles.
 130  130  #
 131  131  CERRWARN        += -_gcc=-Wno-parentheses
 132      -CERRWARN        += -_gcc=-Wno-uninitialized
      132 +CERRWARN        += $(CNOWARN_UNINIT)
 133  133  CERRWARN        += -_gcc=-Wno-char-subscripts
 134  134  CERRWARN        += -_gcc=-Wno-unused-variable
 135  135  CERRWARN        += -_gcc=-Wno-unused-function
 136  136  CERRWARN        += -_gcc=-Wno-unused-label
 137  137  CERRWARN        += -_gcc=-Wno-type-limits
 138  138  CERRWARN        += -_gcc=-Wno-clobbered
 139  139  CERRWARN        += -_gcc=-Wno-empty-body
 140  140  CERRWARN        += -_gcc=-Wno-unused-value
 141  141  
 142  142  # false positives
↓ open down ↓ 72 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX