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/socal/Makefile
          +++ new/usr/src/uts/sparc/socal/Makefile
↓ open down ↓ 65 lines elided ↑ open up ↑
  66   66  # to investigate and remove these for maximum lint coverage.
  67   67  # Please do not carry these forward to new Makefiles.
  68   68  #
  69   69  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  70   70  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71   71  LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  72   72  LINTTAGS        += -erroff=E_STATIC_UNUSED
  73   73  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  74   74  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  75   75  
  76      -CERRWARN        += -_gcc=-Wno-uninitialized
       76 +CERRWARN        += $(CNOWARN_UNINIT)
  77   77  
  78   78  #
  79   79  #       Default build targets.
  80   80  #
  81   81  .KEEP_STATE:
  82   82  
  83   83  all:            $(ALL_DEPS)
  84   84  
  85   85  def:            $(DEF_DEPS)
  86   86  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX