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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/vi/misc/Makefile
          +++ new/usr/src/cmd/vi/misc/Makefile
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34  #
  35   35  # For message catalogue file
  36   36  #
  37   37  POFILES= $(SRCS:%.c=%.po)
  38   38  
  39   39  include ../../Makefile.cmd
  40   40  $(XPG4) := CFLAGS += -DXPG4
  41   41  
  42   42  CERRWARN += -_gcc=-Wno-char-subscripts
  43   43  CERRWARN += -_gcc=-Wno-parentheses
  44      -CERRWARN += -_gcc=-Wno-uninitialized
       44 +CERRWARN += $(CNOWARN_UNINIT)
  45   45  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  46   46  CERRWARN += -_gcc=-Wno-unused-variable
  47   47  
  48   48  # way too old
  49   49  SMATCH=off
  50   50  
  51   51  POFILE= misc.po
  52   52  
  53   53  CLOBBERFILES += $(OTHERPROGS)
  54   54  
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX