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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ndmpd/Makefile
          +++ new/usr/src/cmd/ndmpd/Makefile
↓ open down ↓ 63 lines elided ↑ open up ↑
  64   64  LINTFLAGS += -xerroff=E_INCONS_ARG_DECL2
  65   65  # value type used inconsistently
  66   66  LINTFLAGS += -xerroff=E_INCONS_VAL_TYPE_USED2
  67   67  # value type declared inconsistently
  68   68  LINTFLAGS += -xerroff=E_INCONS_VAL_TYPE_DECL2
  69   69  # argument used inconsistently
  70   70  LINTFLAGS += -xerroff=E_INCONS_ARG_USED2 
  71   71  
  72   72  CERRWARN += -_gcc=-Wno-unused-variable
  73   73  CERRWARN += -_gcc=-Wno-switch
  74      -CERRWARN += -_gcc=-Wno-uninitialized
       74 +CERRWARN += $(CNOWARN_UNINIT)
  75   75  CERRWARN += -_gcc=-Wno-address
  76   76  
  77   77  LDLIBS   += -lsocket -lnsl -lzfs -lsec -lndmp -lmd5 -lnvpair -lumem -lbsm -lgen -lcmdutils -linetutil
  78   78  
  79   79  OBJS= \
  80   80          $(NDMP_DIR)/ndmp_xdr.o \
  81   81          $(NDMP_OBJ:%.o=$(NDMP_DIR)/%.o) $(TLM_OBJ:%.o=$(TLM_DIR)/%.o)
  82   82  
  83   83  NDMP_OBJ = \
  84   84          ndmpd_callbacks.o \
↓ open down ↓ 80 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX