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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ptools/Makefile.bld
          +++ new/usr/src/cmd/ptools/Makefile.bld
↓ open down ↓ 54 lines elided ↑ open up ↑
  55   55  LDLIBS_pwdx             = -lproc
  56   56  
  57   57  LDLIBS += $(LDLIBS_$(PROG))
  58   58  
  59   59  CERRWARN_plgrp  += -_gcc=-Wno-parentheses
  60   60  CERRWARN_plgrp  += -_smatch=off
  61   61  
  62   62  CERRWARN_pmadvise += -_smatch=off
  63   63  
  64   64  CERRWARN_ppriv  += -_gcc=-Wno-parentheses
  65      -CERRWARN_ppriv  += -_gcc=-Wno-uninitialized
       65 +CERRWARN_ppriv  += $(CNOWARN_UNINIT)
  66   66  
  67   67  CERRWARN_ptree  += -_gcc=-Wno-parentheses
  68   68  CERRWARN_ptree  += -_smatch=off
  69   69  
  70      -CERRWARN_pstack += -_gcc=-Wno-uninitialized
       70 +CERRWARN_pstack += $(CNOWARN_UNINIT)
  71   71  CERRWARN_pstack += -_gcc=-Wno-clobbered
  72   72  
  73   73  CERRWARN_pargs  += -_gcc=-Wno-clobbered
  74   74  CERRWARN_pargs  += -_gcc=-Wno-type-limits
  75   75  
  76   76  CERRWARN_pwait  += -_smatch=off
  77   77  
  78   78  CERRWARN += $(CERRWARN_$(PROG))
  79   79  
  80   80  # pargs depends on ../../common/elfcap components
↓ open down ↓ 74 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX