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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/unix/Makefile
          +++ new/usr/src/uts/sun4u/unix/Makefile
↓ open down ↓ 113 lines elided ↑ open up ↑
 114  114  # Please do not carry these forward to new Makefiles.
 115  115  #
 116  116  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
 117  117  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 118  118  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
 119  119  LINTTAGS        += -erroff=E_STATIC_UNUSED
 120  120  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 121  121  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 122  122  
 123  123  CERRWARN        += -_gcc=-Wno-parentheses
 124      -CERRWARN        += -_gcc=-Wno-uninitialized
      124 +CERRWARN        += $(CNOWARN_UNINIT)
 125  125  CERRWARN        += -_gcc=-Wno-char-subscripts
 126  126  CERRWARN        += -_gcc=-Wno-unused-variable
 127  127  CERRWARN        += -_gcc=-Wno-unused-function
 128  128  CERRWARN        += -_gcc=-Wno-unused-label
 129  129  CERRWARN        += -_gcc=-Wno-type-limits
 130  130  CERRWARN        += -_gcc=-Wno-clobbered
 131  131  CERRWARN        += -_gcc=-Wno-empty-body
 132  132  CERRWARN        += -_gcc=-Wno-unused-value
 133  133  CERRWARN        += -_gcc=-Wno-switch
 134  134  
↓ open down ↓ 76 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX