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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/unix/Makefile
          +++ new/usr/src/uts/i86xpv/unix/Makefile
↓ open down ↓ 132 lines elided ↑ open up ↑
 133  133  # Please do not carry these forward to new Makefiles.
 134  134  #
 135  135  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 136  136  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
 137  137  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
 138  138  LINTTAGS        += -erroff=E_STATIC_UNUSED
 139  139  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 140  140  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 141  141  
 142  142  CERRWARN        += -_gcc=-Wno-parentheses
 143      -CERRWARN        += -_gcc=-Wno-uninitialized
      143 +CERRWARN        += $(CNOWARN_UNINIT)
 144  144  CERRWARN        += -_gcc=-Wno-char-subscripts
 145  145  CERRWARN        += -_gcc=-Wno-unused-variable
 146  146  CERRWARN        += -_gcc=-Wno-unused-function
 147  147  CERRWARN        += -_gcc=-Wno-unused-label
 148  148  CERRWARN        += -_gcc=-Wno-type-limits
 149  149  CERRWARN        += -_gcc=-Wno-clobbered
 150  150  CERRWARN        += -_gcc=-Wno-unused-value
 151  151  CERRWARN        += -_gcc=-Wno-empty-body
 152  152  
 153  153  # needs work
↓ open down ↓ 90 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX