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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/pcisch/Makefile
          +++ new/usr/src/uts/sun4u/pcisch/Makefile
↓ open down ↓ 69 lines elided ↑ open up ↑
  70   70  # to investigate and remove these for maximum lint coverage.
  71   71  # Please do not carry these forward to new Makefiles.
  72   72  #
  73   73  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  74   74  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  75   75  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  76   76  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  77   77  LINTTAGS        += -erroff=E_STATIC_UNUSED
  78   78  
  79   79  CERRWARN        += -_gcc=-Wno-parentheses
  80      -CERRWARN        += -_gcc=-Wno-uninitialized
       80 +CERRWARN        += $(CNOWARN_UNINIT)
  81   81  CERRWARN        += -_gcc=-Wno-unused-function
  82   82  CERRWARN        += -_gcc=-Wno-unused-value
  83   83  
  84   84  #
  85   85  #       Default build targets.
  86   86  #
  87   87  .KEEP_STATE:
  88   88  
  89   89  def:            $(DEF_DEPS)
  90   90  
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX