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