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/genunix/Makefile
          +++ new/usr/src/uts/sun4v/genunix/Makefile
↓ open down ↓ 117 lines elided ↑ open up ↑
 118  118  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 119  119  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 120  120  
 121  121  CERRWARN        += -_gcc=-Wno-unused-label
 122  122  CERRWARN        += -_gcc=-Wno-unused-variable
 123  123  CERRWARN        += -_gcc=-Wno-unused-value
 124  124  CERRWARN        += -_gcc=-Wno-unused-function
 125  125  CERRWARN        += -_gcc=-Wno-parentheses
 126  126  CERRWARN        += -_gcc=-Wno-switch
 127  127  CERRWARN        += -_gcc=-Wno-type-limits
 128      -CERRWARN        += -_gcc=-Wno-uninitialized
      128 +CERRWARN        += $(CNOWARN_UNINIT)
 129  129  CERRWARN        += -_gcc=-Wno-clobbered
 130  130  CERRWARN        += -_gcc=-Wno-empty-body
 131  131  
 132  132  
 133  133  # Ensure that lint sees 'struct cpu' containing a fully declared
 134  134  # embedded 'struct machcpu'.
 135  135  #
 136  136  LINTFLAGS       += -D_MACHDEP -I../../sun4 -I../../$(PLATFORM) -I../../sfmmu
 137  137  
 138  138  #
↓ open down ↓ 44 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX