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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/genunix/Makefile
          +++ new/usr/src/uts/intel/genunix/Makefile
↓ open down ↓ 99 lines elided ↑ open up ↑
 100  100  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 101  101  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 102  102  
 103  103  CERRWARN        += -_gcc=-Wno-unused-label
 104  104  CERRWARN        += -_gcc=-Wno-unused-variable
 105  105  CERRWARN        += -_gcc=-Wno-unused-value
 106  106  CERRWARN        += -_gcc=-Wno-unused-function
 107  107  CERRWARN        += -_gcc=-Wno-parentheses
 108  108  CERRWARN        += -_gcc=-Wno-switch
 109  109  CERRWARN        += -_gcc=-Wno-type-limits
 110      -CERRWARN        += -_gcc=-Wno-uninitialized
      110 +CERRWARN        += $(CNOWARN_UNINIT)
 111  111  CERRWARN        += -_gcc=-Wno-clobbered
 112  112  CERRWARN        += -_gcc=-Wno-empty-body
 113  113  
 114  114  # false positives
 115  115  SMOFF += index_overflow
 116  116  $(OBJS_DIR)/seg_vn.o := SMOFF += deref_check
 117  117  $(OBJS_DIR)/ddi_intr_irm.o := SMOFF += deref_check
 118  118  
 119  119  # need work still
 120  120  SMOFF += signed,indenting,all_func_returns
↓ open down ↓ 77 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX