Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/xge/Makefile
          +++ new/usr/src/uts/intel/xge/Makefile
↓ open down ↓ 100 lines elided ↑ open up ↑
 101  101  # Please do not carry these forward to new Makefiles.
 102  102  #
 103  103  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
 104  104  LINTTAGS        += -erroff=E_STATIC_UNUSED
 105  105  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 106  106  
 107  107  CERRWARN        += -_gcc=-Wno-parentheses
 108  108  CERRWARN        += -_gcc=-Wno-unused-variable
 109  109  CERRWARN        += -_gcc=-Wno-unused-label
 110  110  CERRWARN        += -_gcc=-Wno-empty-body
 111      -CERRWARN        += -_gcc=-Wno-uninitialized
      111 +CERRWARN        += $(CNOWARN_UNINIT)
 112  112  
 113  113  # needs work
 114  114  SMOFF += indenting,all_func_returns,no_if_block
 115  115  
 116  116  #
 117  117  #
 118  118  #       Default build targets.
 119  119  #
 120  120  .KEEP_STATE:
 121  121  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX