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/rdsv3/Makefile
          +++ new/usr/src/uts/intel/rdsv3/Makefile
↓ open down ↓ 55 lines elided ↑ open up ↑
  56   56  LINTTAGS        += -erroff=E_CONSTANT_CONDITION 
  57   57  LINTTAGS        += -erroff=E_FUNC_VAR_UNUSED
  58   58  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON 
  59   59  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  60   60  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV 
  61   61  LINTTAGS        += -erroff=E_FUNC_SET_NOT_USED
  62   62  
  63   63  CERRWARN        += -_gcc=-Wno-unused-label
  64   64  CERRWARN        += -_gcc=-Wno-unused-variable
  65   65  CERRWARN        += -_gcc=-Wno-unused-function
  66      -CERRWARN        += -_gcc=-Wno-uninitialized
       66 +CERRWARN        += $(CNOWARN_UNINIT)
  67   67  CERRWARN        += -_gcc=-Wno-parentheses
  68   68  
  69   69  # needs work
  70   70  SMATCH=off
  71   71  
  72   72  #
  73   73  #       Define targets
  74   74  #
  75   75  ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  76   76  LINT_TARGET     = $(MODULE).lint
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX