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


  54 #
  55 
  56 #
  57 # lint pass one enforcement
  58 #
  59 CFLAGS += $(CCVERBOSE)
  60 
  61 #
  62 # For now, disable these lint checks; maintainers should endeavor
  63 # to investigate and remove these for maximum lint coverage.
  64 # Please do not carry these forward to new Makefiles.
  65 #
  66 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  67 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  69 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  70 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  71 
  72 CERRWARN        += -_gcc=-Wno-type-limits
  73 CERRWARN        += -_gcc=-Wno-switch
  74 CERRWARN        += -_gcc=-Wno-uninitialized
  75 CERRWARN        += -_gcc=-Wno-parentheses
  76 CERRWARN        += -_gcc=-Wno-unused-value
  77 
  78 # needs work
  79 $(OBJS_DIR)/ibtl_impl.o := SMOFF += precedence
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 
  90 clean:          $(CLEAN_DEPS)
  91 
  92 clobber:        $(CLOBBER_DEPS)
  93 
  94 lint:           $(LINT_DEPS)


  54 #
  55 
  56 #
  57 # lint pass one enforcement
  58 #
  59 CFLAGS += $(CCVERBOSE)
  60 
  61 #
  62 # For now, disable these lint checks; maintainers should endeavor
  63 # to investigate and remove these for maximum lint coverage.
  64 # Please do not carry these forward to new Makefiles.
  65 #
  66 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  67 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  69 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  70 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  71 
  72 CERRWARN        += -_gcc=-Wno-type-limits
  73 CERRWARN        += -_gcc=-Wno-switch
  74 CERRWARN        += $(CNOWARN_UNINIT)
  75 CERRWARN        += -_gcc=-Wno-parentheses
  76 CERRWARN        += -_gcc=-Wno-unused-value
  77 
  78 # needs work
  79 $(OBJS_DIR)/ibtl_impl.o := SMOFF += precedence
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 
  90 clean:          $(CLEAN_DEPS)
  91 
  92 clobber:        $(CLOBBER_DEPS)
  93 
  94 lint:           $(LINT_DEPS)