Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  90 
  91 #
  92 # For now, disable these lint checks; maintainers should endeavor
  93 # to investigate and remove these for maximum lint coverage.
  94 # Please do not carry these forward to new Makefiles.
  95 #
  96 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  97 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  98 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  99 LINTTAGS        += -erroff=E_STATIC_UNUSED
 100 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 101 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 102 
 103 CERRWARN        += -_gcc=-Wno-unused-label
 104 CERRWARN        += -_gcc=-Wno-unused-variable
 105 CERRWARN        += -_gcc=-Wno-unused-value
 106 CERRWARN        += -_gcc=-Wno-unused-function
 107 CERRWARN        += -_gcc=-Wno-parentheses
 108 CERRWARN        += -_gcc=-Wno-switch
 109 CERRWARN        += -_gcc=-Wno-type-limits
 110 CERRWARN        += -_gcc=-Wno-uninitialized
 111 CERRWARN        += -_gcc=-Wno-clobbered
 112 CERRWARN        += -_gcc=-Wno-empty-body
 113 
 114 # false positives
 115 SMOFF += index_overflow
 116 $(OBJS_DIR)/seg_vn.o := SMOFF += deref_check
 117 $(OBJS_DIR)/ddi_intr_irm.o := SMOFF += deref_check
 118 
 119 # need work still
 120 SMOFF += signed,indenting,all_func_returns
 121 $(OBJS_DIR)/clock_highres.o := SMOFF += signed_integer_overflow_check
 122 $(OBJS_DIR)/evchannels.o := SMOFF += allocating_enough_data
 123 $(OBJS_DIR)/klpd.o := SMOFF += cast_assign
 124 $(OBJS_DIR)/lookup.o := SMOFF += strcpy_overflow
 125 $(OBJS_DIR)/process.o := SMOFF += or_vs_and
 126 $(OBJS_DIR)/sunpci.o := SMOFF += deref_check
 127 $(OBJS_DIR)/timers.o := SMOFF += signed_integer_overflow_check
 128 
 129 # definitely wrong
 130 $(OBJS_DIR)/acl_common.o := SMOFF += or_vs_and




  90 
  91 #
  92 # For now, disable these lint checks; maintainers should endeavor
  93 # to investigate and remove these for maximum lint coverage.
  94 # Please do not carry these forward to new Makefiles.
  95 #
  96 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  97 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  98 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  99 LINTTAGS        += -erroff=E_STATIC_UNUSED
 100 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
 101 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
 102 
 103 CERRWARN        += -_gcc=-Wno-unused-label
 104 CERRWARN        += -_gcc=-Wno-unused-variable
 105 CERRWARN        += -_gcc=-Wno-unused-value
 106 CERRWARN        += -_gcc=-Wno-unused-function
 107 CERRWARN        += -_gcc=-Wno-parentheses
 108 CERRWARN        += -_gcc=-Wno-switch
 109 CERRWARN        += -_gcc=-Wno-type-limits
 110 CERRWARN        += $(CNOWARN_UNINIT)
 111 CERRWARN        += -_gcc=-Wno-clobbered
 112 CERRWARN        += -_gcc=-Wno-empty-body
 113 
 114 # false positives
 115 SMOFF += index_overflow
 116 $(OBJS_DIR)/seg_vn.o := SMOFF += deref_check
 117 $(OBJS_DIR)/ddi_intr_irm.o := SMOFF += deref_check
 118 
 119 # need work still
 120 SMOFF += signed,indenting,all_func_returns
 121 $(OBJS_DIR)/clock_highres.o := SMOFF += signed_integer_overflow_check
 122 $(OBJS_DIR)/evchannels.o := SMOFF += allocating_enough_data
 123 $(OBJS_DIR)/klpd.o := SMOFF += cast_assign
 124 $(OBJS_DIR)/lookup.o := SMOFF += strcpy_overflow
 125 $(OBJS_DIR)/process.o := SMOFF += or_vs_and
 126 $(OBJS_DIR)/sunpci.o := SMOFF += deref_check
 127 $(OBJS_DIR)/timers.o := SMOFF += signed_integer_overflow_check
 128 
 129 # definitely wrong
 130 $(OBJS_DIR)/acl_common.o := SMOFF += or_vs_and