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/pcic/Makefile
          +++ new/usr/src/uts/sparc/pcic/Makefile
↓ open down ↓ 72 lines elided ↑ open up ↑
  73   73  #
  74   74  CFLAGS += $(CCVERBOSE)
  75   75  CPPFLAGS        +=      -DCARDBUS -DHOTPLUG
  76   76  
  77   77  #       dependency
  78   78  LDFLAGS +=      -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/cardbus
  79   79  
  80   80  CERRWARN        += -_gcc=-Wno-parentheses
  81   81  CERRWARN        += -_gcc=-Wno-unused-variable
  82   82  CERRWARN        += -_gcc=-Wno-unused-function
  83      -CERRWARN        += -_gcc=-Wno-uninitialized
       83 +CERRWARN        += $(CNOWARN_UNINIT)
  84   84  
  85   85  #
  86   86  # For now, disable these lint checks; maintainers should endeavor
  87   87  # to investigate and remove these for maximum lint coverage.
  88   88  # Please do not carry these forward to new Makefiles.
  89   89  #
  90   90  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  91   91  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  92   92  LINTTAGS        += -erroff=E_STATIC_UNUSED
  93   93  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX