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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sparc/dls/Makefile
          +++ new/usr/src/uts/sparc/dls/Makefile
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60  #
  61   61  # For now, disable these lint checks; maintainers should endeavor
  62   62  # to investigate and remove these for maximum lint coverage.
  63   63  # Please do not carry these forward to new Makefiles.
  64   64  #
  65   65  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  66   66  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  67   67  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  68   68  LINTTAGS        += -erroff=E_STATIC_UNUSED
  69   69  
  70      -CERRWARN        += -_gcc=-Wno-uninitialized
       70 +CERRWARN        += $(CNOWARN_UNINIT)
  71   71  
  72   72  #
  73   73  # Default build targets.
  74   74  #
  75   75  .KEEP_STATE:
  76   76  
  77   77  def:            $(DEF_DEPS)
  78   78  
  79   79  all:            $(ALL_DEPS)
  80   80  
↓ open down ↓ 16 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX