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.mdb
          +++ new/usr/src/cmd/mdb/Makefile.mdb
↓ open down ↓ 94 lines elided ↑ open up ↑
  95   95  
  96   96  $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
  97   97  CPPFLAGS += -D_MDB -I. -I../.. -I../../../common
  98   98  
  99   99  CSTD=   $(CSTD_GNU99)
 100  100  C99LMODE=       -Xc99=%all
 101  101  
 102  102  LDLIBS += -lcurses -lkvm -lproc -lrtld_db -lctf -lumem -ldisasm -lscf
 103  103  LDLIBS += -ldemangle-sys
 104  104  
 105      -CERRWARN += -_gcc=-Wno-uninitialized
      105 +CERRWARN += $(CNOWARN_UNINIT)
 106  106  CERRWARN += -_gcc=-Wno-char-subscripts
 107  107  CERRWARN += -_gcc=-Wno-clobbered
 108  108  CERRWARN += -_gcc=-Wno-parentheses
 109  109  CERRWARN += -_gcc=-Wno-unused-label
 110  110  CERRWARN += -_gcc=-Wno-unused-variable
 111  111  
 112  112  #
 113  113  # -erroff=E_INCONS_ARG_DECL2 works around a problem where lint gets confused
 114  114  # about how struct mdb_tgt_gregset is used in mdb_tgt_stack_f() and
 115  115  # mdb_tgt_stack_iter_f(). Will be resolved as part of fix for CR 6749868.
↓ open down ↓ 95 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX