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

Split Close
Expand all
Collapse all
          --- old/usr/src/psm/stand/boot/Makefile.boot
          +++ new/usr/src/psm/stand/boot/Makefile.boot
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58  # turned off as well (along with a dozen other disabled warnings).
  59   59  #
  60   60  # The other two -erroff's are needed only because lint's -u flag is lame
  61   61  # and also turns off "name used but not defined" checks (so we instead
  62   62  # just enumerate the errors that -u turns off that we want turned off).
  63   63  #
  64   64  LINTFLAGS = -nmsF -erroff=E_BAD_PTR_CAST_ALIGN \
  65   65              -erroff=E_NAME_DECL_NOT_USED_DEF2 -erroff=E_NAME_DEF_NOT_USED2
  66   66  
  67   67  CERRWARN += -_gcc=-Wno-parentheses
  68      -CERRWARN += -_gcc=-Wno-uninitialized
       68 +CERRWARN += $(CNOWARN_UNINIT)
  69   69  CERRWARN += -_gcc=-Wno-char-subscripts
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX