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/cpr/Makefile
          +++ new/usr/src/uts/sun4u/cpr/Makefile
↓ open down ↓ 83 lines elided ↑ open up ↑
  84   84  # to investigate and remove these for maximum lint coverage.
  85   85  # Please do not carry these forward to new Makefiles.
  86   86  #
  87   87  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  88   88  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  89   89  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  90   90  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  91   91  
  92   92  CERRWARN        += -_gcc=-Wno-unused-variable
  93   93  CERRWARN        += -_gcc=-Wno-unused-label
  94      -CERRWARN        += -_gcc=-Wno-uninitialized
       94 +CERRWARN        += $(CNOWARN_UNINIT)
  95   95  CERRWARN        += -_gcc=-Wno-parentheses
  96   96  CERRWARN        += -_gcc=-Wno-type-limits
  97   97  
  98   98  #
  99   99  #       Default build targets.
 100  100  #
 101  101  .KEEP_STATE:
 102  102  
 103  103  def:            $(DEF_DEPS)
 104  104  
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX