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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/isns/isnsd/Makefile
          +++ new/usr/src/cmd/isns/isnsd/Makefile
↓ open down ↓ 53 lines elided ↑ open up ↑
  54   54  CFLAGS          +=      $(CCVERBOSE)
  55   55  CPPFLAGS        += -I./ -I$(ADJUNCT_PROTO)/usr/include/libxml2
  56   56  CPPFLAGS        += -DTARGET_DATA_STORE=$(DATA_STORE)
  57   57  CPPFLAGS        += -D_POSIX_PTHREAD_SEMANTICS
  58   58  LINTFLAGS += -xerroff=E_BAD_PTR_CAST_ALIGN
  59   59  LINTFLAGS += -xerroff=E_NAME_USED_NOT_DEF2
  60   60  LINTFLAGS += -xerroff=E_CASE_FALLTHRU
  61   61  
  62   62  CERRWARN += -_gcc=-Wno-char-subscripts
  63   63  CERRWARN += -_gcc=-Wno-ignored-qualifiers
  64      -CERRWARN += -_gcc=-Wno-uninitialized
       64 +CERRWARN += $(CNOWARN_UNINIT)
  65   65  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  66   66  
  67   67  # not linted
  68   68  SMATCH=off
  69   69  
  70   70  CLOBBERFILES += $(DTRACE_HEADER)
  71   71  
  72   72  obj.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR
  73   73  obj.o := CERRWARN += -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT
  74   74  
↓ open down ↓ 37 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX