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/emlxs/Makefile
          +++ new/usr/src/uts/intel/emlxs/Makefile
↓ open down ↓ 86 lines elided ↑ open up ↑
  87   87  # to investigate and remove these for maximum lint coverage.
  88   88  #
  89   89  LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  90   90  LINTTAGS        += -erroff=E_STATIC_UNUSED
  91   91  LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  92   92  LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  93   93  LINTTAGS        += -erroff=E_INCONS_VAL_TYPE_DECL2
  94   94  
  95   95  CERRWARN        += -_gcc=-Wno-parentheses
  96   96  CERRWARN        += -_gcc=-Wno-unused-label
  97      -CERRWARN        += -_gcc=-Wno-uninitialized
       97 +CERRWARN        += $(CNOWARN_UNINIT)
  98   98  
  99   99  SMOFF += indenting,deref_check,all_func_returns
 100  100  
 101  101  # seems definitely wrong
 102  102  $(OBJS_DIR)/emlxs_fcf.o := SMOFF += logical_instead_of_bitwise
 103  103  
 104  104  #
 105  105  #       Default build targets.
 106  106  #
 107  107  .KEEP_STATE:
↓ open down ↓ 21 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX