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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/cfgadm_plugins/fp/Makefile.com
          +++ new/usr/src/lib/cfgadm_plugins/fp/Makefile.com
↓ open down ↓ 39 lines elided ↑ open up ↑
  40   40  LIBS=   $(DYNLIB)
  41   41  
  42   42  LINTFLAGS +=    -DDEBUG
  43   43  LINTFLAGS64 +=  -DDEBUG
  44   44  
  45   45  CFLAGS +=       $(CCVERBOSE)
  46   46  CFLAGS64 +=     $(CCVERBOSE)
  47   47  
  48   48  CERRWARN +=     -_gcc=-Wno-parentheses
  49   49  CERRWARN +=     -_gcc=-Wno-char-subscripts
  50      -CERRWARN +=     -_gcc=-Wno-uninitialized
       50 +CERRWARN +=     $(CNOWARN_UNINIT)
  51   51  CERRWARN +=     -_gcc=-Wno-switch
  52   52  CERRWARN +=     -_gcc=-Wno-address
  53   53  
  54   54  # not linted
  55   55  SMATCH=off
  56   56  
  57   57  CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS
  58   58  
  59   59  LINTFLAGS += -erroff=E_SEC_SPRINTF_UNBOUNDED_COPY
  60   60  LINTFLAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
↓ open down ↓ 50 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX