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/dld/Makefile
          +++ new/usr/src/uts/intel/dld/Makefile
↓ open down ↓ 60 lines elided ↑ open up ↑
  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  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  68   68  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  69   69  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  70   70  
  71      -CERRWARN        += -_gcc=-Wno-uninitialized
       71 +CERRWARN        += $(CNOWARN_UNINIT)
  72   72  CERRWARN        += -_gcc=-Wno-type-limits
  73   73  CERRWARN        += -_gcc=-Wno-parentheses
  74   74  
  75   75  # needs work
  76   76  $(OBJS_DIR)/dld_proto.o := SMOFF += signed
  77   77  $(OBJS_DIR)/dld_drv.o := SMOFF += cast_assign
  78   78  
  79   79  #
  80   80  #       Default build targets.
  81   81  #
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX