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/bge/Makefile
          +++ new/usr/src/uts/intel/bge/Makefile
↓ open down ↓ 57 lines elided ↑ open up ↑
  58   58  #
  59   59  #       Overrides
  60   60  #
  61   61  #
  62   62  # For now, disable these lint checks; maintainers should endeavor
  63   63  # to investigate and remove these for maximum lint coverage.
  64   64  # Please do not carry these forward to new Makefiles.
  65   65  #
  66   66  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  67   67  
  68      -CERRWARN        += -_gcc=-Wno-uninitialized
       68 +CERRWARN        += $(CNOWARN_UNINIT)
  69   69  CERRWARN        += -_gcc=-Wno-switch
  70   70  CERRWARN        += -_gcc=-Wno-parentheses
  71   71  CERRWARN       += -_gcc=-Wno-unused-variable
  72   72  CERRWARN       += -_gcc=-Wno-unused-function
  73   73  
  74   74  # 3rd party source
  75   75  SMOFF += all_func_returns
  76   76  
  77   77  #
  78   78  # Driver depends on MAC
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX