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


  75 #
  76 LDFLAGS         += -dy -N misc/mac -N drv/ip -N misc/ldc -N misc/platsvc
  77 
  78 #
  79 # For now, disable these lint checks; maintainers should endeavor
  80 # to investigate and remove these for maximum lint coverage.
  81 # Please do not carry these forward to new Makefiles.
  82 #
  83 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  84 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  85 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  86 LINTTAGS        += -erroff=E_STATIC_UNUSED
  87 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  88 
  89 CERRWARN        += -_gcc=-Wno-type-limits
  90 CERRWARN        += -_gcc=-Wno-clobbered
  91 CERRWARN        += -_gcc=-Wno-unused-label
  92 CERRWARN        += -_gcc=-Wno-unused-function
  93 CERRWARN        += -_gcc=-Wno-unused-variable
  94 CERRWARN        += -_gcc=-Wno-parentheses
  95 CERRWARN        += -_gcc=-Wno-uninitialized
  96 
  97 #
  98 #       Default build targets.
  99 #
 100 .KEEP_STATE:
 101 
 102 def:            $(DEF_DEPS)
 103 
 104 all:            $(ALL_DEPS)
 105 
 106 clean:          $(CLEAN_DEPS)
 107 
 108 clobber:        $(CLOBBER_DEPS)
 109 
 110 lint:           $(LINT_DEPS)
 111 
 112 modlintlib:     $(MODLINTLIB_DEPS)
 113 
 114 clean.lint:     $(CLEAN_LINT_DEPS)
 115 


  75 #
  76 LDFLAGS         += -dy -N misc/mac -N drv/ip -N misc/ldc -N misc/platsvc
  77 
  78 #
  79 # For now, disable these lint checks; maintainers should endeavor
  80 # to investigate and remove these for maximum lint coverage.
  81 # Please do not carry these forward to new Makefiles.
  82 #
  83 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  84 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  85 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  86 LINTTAGS        += -erroff=E_STATIC_UNUSED
  87 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  88 
  89 CERRWARN        += -_gcc=-Wno-type-limits
  90 CERRWARN        += -_gcc=-Wno-clobbered
  91 CERRWARN        += -_gcc=-Wno-unused-label
  92 CERRWARN        += -_gcc=-Wno-unused-function
  93 CERRWARN        += -_gcc=-Wno-unused-variable
  94 CERRWARN        += -_gcc=-Wno-parentheses
  95 CERRWARN        += $(CNOWARN_UNINIT)
  96 
  97 #
  98 #       Default build targets.
  99 #
 100 .KEEP_STATE:
 101 
 102 def:            $(DEF_DEPS)
 103 
 104 all:            $(ALL_DEPS)
 105 
 106 clean:          $(CLEAN_DEPS)
 107 
 108 clobber:        $(CLOBBER_DEPS)
 109 
 110 lint:           $(LINT_DEPS)
 111 
 112 modlintlib:     $(MODLINTLIB_DEPS)
 113 
 114 clean.lint:     $(CLEAN_LINT_DEPS)
 115