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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/cardbus/Makefile
          +++ new/usr/src/uts/intel/cardbus/Makefile
↓ open down ↓ 73 lines elided ↑ open up ↑
  74   74  # For now, disable these lint checks; maintainers should endeavor
  75   75  # to investigate and remove these for maximum lint coverage.
  76   76  # Please do not carry these forward to new Makefiles.
  77   77  #
  78   78  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  79   79  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  80   80  LINTTAGS        += -erroff=E_STATIC_UNUSED
  81   81  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  82   82  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  83   83  
  84      -CERRWARN        += -_gcc=-Wno-uninitialized
       84 +CERRWARN        += $(CNOWARN_UNINIT)
  85   85  CERRWARN        += -_gcc=-Wno-parentheses
  86   86  CERRWARN        += -_gcc=-Wno-unused-function
  87   87  CERRWARN        += -_gcc=-Wno-unused-variable
  88   88  
  89   89  SMOFF += indenting,no_if_block
  90   90  
  91   91  #
  92   92  #       Default build targets.
  93   93  #
  94   94  .KEEP_STATE:
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX