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