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/dnet/Makefile
          +++ new/usr/src/uts/intel/dnet/Makefile
↓ open down ↓ 53 lines elided ↑ open up ↑
  54   54  #
  55   55  # For now, disable these lint checks; maintainers should endeavor
  56   56  # to investigate and remove these for maximum lint coverage.
  57   57  # Please do not carry these forward to new Makefiles.
  58   58  #
  59   59  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  60   60  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  61   61  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  62   62  
  63   63  CERRWARN        += -_gcc=-Wno-parentheses
  64      -CERRWARN        += -_gcc=-Wno-uninitialized
       64 +CERRWARN        += $(CNOWARN_UNINIT)
  65   65  
  66   66  # needs work
  67   67  $(OBJS_DIR)/dnet.o := SMOFF += index_overflow
  68   68  $(OBJS_DIR)/dnet_mii.o := SMOFF += all_func_returns
  69   69  
  70   70  LDFLAGS         += -dy -N misc/mac
  71   71  
  72   72  #
  73   73  #       Default build targets.
  74   74  #
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX