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/hxge/Makefile
          +++ new/usr/src/uts/intel/hxge/Makefile
↓ open down ↓ 75 lines elided ↑ open up ↑
  76   76  #
  77   77  # STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
  78   78  # force us to turn off these lint checks.
  79   79  #
  80   80  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  81   81  LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  82   82  LINTTAGS        += -erroff=E_FALSE_LOGICAL_EXPR
  83   83  
  84   84  CERRWARN        += -_gcc=-Wno-unused-label
  85   85  CERRWARN        += -_gcc=-Wno-switch
  86      -CERRWARN        += -_gcc=-Wno-uninitialized
       86 +CERRWARN        += $(CNOWARN_UNINIT)
  87   87  CERRWARN        += -_gcc=-Wno-parentheses
  88   88  
  89   89  SMOFF += deref_check,logical_instead_of_bitwise
  90   90  
  91   91  #
  92   92  #       Driver depends on mac & IP
  93   93  #
  94   94  LDFLAGS         += -dy -N misc/mac -N drv/ip
  95   95  
  96   96  #
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX