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/genunix/Makefile
          +++ new/usr/src/uts/sun4u/genunix/Makefile
↓ open down ↓ 109 lines elided ↑ open up ↑
 110  110  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 111  111  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 112  112  
 113  113  CERRWARN        += -_gcc=-Wno-unused-label
 114  114  CERRWARN        += -_gcc=-Wno-unused-variable
 115  115  CERRWARN        += -_gcc=-Wno-unused-value
 116  116  CERRWARN        += -_gcc=-Wno-unused-function
 117  117  CERRWARN        += -_gcc=-Wno-parentheses
 118  118  CERRWARN        += -_gcc=-Wno-switch
 119  119  CERRWARN        += -_gcc=-Wno-type-limits
 120      -CERRWARN        += -_gcc=-Wno-uninitialized
      120 +CERRWARN        += $(CNOWARN_UNINIT)
 121  121  CERRWARN        += -_gcc=-Wno-clobbered
 122  122  CERRWARN        += -_gcc=-Wno-empty-body
 123  123  
 124  124  #
 125  125  # Ensure that lint sees 'struct cpu' containing a fully declared
 126  126  # embedded 'struct machcpu'
 127  127  #
 128  128  LINTFLAGS       += -D_MACHDEP -I../../sun4 -I../../$(PLATFORM) -I../../sfmmu
 129  129  
 130  130  #       Default build targets.
↓ open down ↓ 49 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX