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/cheetahplus/Makefile
          +++ new/usr/src/uts/sun4u/cheetahplus/Makefile
↓ open down ↓ 122 lines elided ↑ open up ↑
 123  123  # to investigate and remove these for maximum lint coverage.
 124  124  # Please do not carry these forward to new Makefiles.
 125  125  #
 126  126  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
 127  127  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 128  128  LINTTAGS        += -erroff=E_STATIC_UNUSED
 129  129  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 130  130  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 131  131  
 132  132  CERRWARN        += -_gcc=-Wno-parentheses
 133      -CERRWARN        += -_gcc=-Wno-uninitialized
      133 +CERRWARN        += $(CNOWARN_UNINIT)
 134  134  CERRWARN        += -_gcc=-Wno-unused-variable
 135  135  CERRWARN        += -_gcc=-Wno-type-limits
 136  136  CERRWARN        += -_gcc=-Wno-clobbered
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX