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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/Makefile.kmdb
          +++ new/usr/src/cmd/mdb/Makefile.kmdb
↓ open down ↓ 90 lines elided ↑ open up ↑
  91   91  # to the driver, parts of which are executed directly by the kernel, and other
  92   92  # parts which are called by kmdb via the auxv.
  93   93  ALLLINTFLAGS = $(LINTFLAGS) \
  94   94          -xerroff=E_FUNC_DECL_VAR_ARG2 \
  95   95          -xerroff=E_INCONS_ARG_DECL \
  96   96          -xerroff=E_INCONS_ARG_DECL2 \
  97   97          -xerroff=E_INCONS_ARG_USED2 \
  98   98          -xerroff=E_INCONS_VAL_TYPE_DECL2 \
  99   99          -xerroff=E_INCONS_VAL_TYPE_USED2
 100  100  
 101      -CERRWARN += -_gcc=-Wno-uninitialized
      101 +CERRWARN += $(CNOWARN_UNINIT)
 102  102  CERRWARN += -_gcc=-Wno-unused-label
 103  103  CERRWARN += -_gcc=-Wno-char-subscripts
 104  104  CERRWARN += -_gcc=-Wno-clobbered
 105  105  CERRWARN += -_gcc=-Wno-unused-variable
 106  106  CERRWARN += -_gcc=-Wno-parentheses
 107  107  
 108  108  MAPFILE = mapfile
 109  109  MAPFILE_INTERMEDIATE = $(MAPFILE).i
 110  110  MAPFILE_TEMPLATE = ../../../common/kmdb/mapfile_skel
 111  111  MAPFILE_SOURCES_COMMON = \
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX