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/rpcmod/Makefile
          +++ new/usr/src/uts/intel/rpcmod/Makefile
↓ open down ↓ 76 lines elided ↑ open up ↑
  77   77  # Please do not carry these forward to new Makefiles.
  78   78  #
  79   79  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  80   80  LINTTAGS        += -erroff=E_STATIC_UNUSED
  81   81  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  82   82  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  83   83  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  84   84  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  85   85  
  86   86  CERRWARN        += -_gcc=-Wno-parentheses
  87      -CERRWARN        += -_gcc=-Wno-uninitialized
       87 +CERRWARN        += $(CNOWARN_UNINIT)
  88   88  CERRWARN        += -_gcc=-Wno-switch
  89   89  CERRWARN        += -_gcc=-Wno-unused-variable
  90   90  CERRWARN        += -_gcc=-Wno-unused-label
  91   91  CERRWARN        += -_gcc=-Wno-unused-function
  92   92  
  93   93  # needs work
  94   94  SMOFF += all_func_returns,indenting,no_if_block,deref_check
  95   95  
  96   96  #
  97   97  #       Default build targets.
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX