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

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