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/pcicfg/Makefile
          +++ new/usr/src/uts/intel/pcicfg/Makefile
↓ open down ↓ 65 lines elided ↑ open up ↑
  66   66  # For now, disable these lint checks; maintainers should endeavor
  67   67  # to investigate and remove these for maximum lint coverage.
  68   68  # Please do not carry these forward to new Makefiles.
  69   69  #
  70   70  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71   71  LINTTAGS        += -erroff=E_STATIC_UNUSED
  72   72  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73   73  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  74   74  
  75   75  CERRWARN        += -_gcc=-Wno-unused-function
  76      -CERRWARN        += -_gcc=-Wno-uninitialized
       76 +CERRWARN        += $(CNOWARN_UNINIT)
  77   77  
  78   78  # needs work
  79   79  $(OBJS_DIR)/pcicfg.o := SMOFF += deref_check
  80   80  
  81   81  #
  82   82  #       Default build targets.
  83   83  #
  84   84  .KEEP_STATE:
  85   85  
  86   86  def:            $(DEF_DEPS)
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX