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


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


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