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/ufs/Makefile
          +++ new/usr/src/uts/intel/ufs/Makefile
↓ open down ↓ 71 lines elided ↑ open up ↑
  72   72  # Please do not carry these forward to new Makefiles.
  73   73  #
  74   74  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  75   75  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  76   76  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  77   77  LINTTAGS        += -erroff=E_STATIC_UNUSED
  78   78  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  79   79  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  80   80  
  81   81  CERRWARN        += -_gcc=-Wno-parentheses
  82      -CERRWARN        += -_gcc=-Wno-uninitialized
       82 +CERRWARN        += $(CNOWARN_UNINIT)
  83   83  CERRWARN        += -_gcc=-Wno-type-limits
  84   84  CERRWARN        += -_gcc=-Wno-unused-label
  85   85  
  86   86  # needs work
  87   87  SMATCH=off
  88   88  
  89   89  #
  90   90  #       Default build targets.
  91   91  #
  92   92  .KEEP_STATE:
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX