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


  53 #
  54 #       Override defaults to build a unique, local modstubs.o.
  55 #
  56 MODSTUBS_DIR    = $(OBJS_DIR)
  57 
  58 CLEANFILES      += $(MODSTUBS_O)
  59 
  60 #
  61 #       Define targets
  62 #
  63 ALL_TARGET      = $(BINARY)
  64 LINT_TARGET     = $(MODULE).lint
  65 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  66 
  67 #
  68 # lint pass one enforcement
  69 #
  70 CFLAGS += $(CCVERBOSE)
  71 CERRWARN += -_gcc=-Wno-type-limits
  72 CERRWARN += -_gcc=-Wno-unused-function
  73 CERRWARN += -_gcc=-Wno-uninitialized
  74 
  75 #
  76 # compiler failes with not reached statements
  77 #
  78 CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
  79 
  80 #
  81 # module dependencies
  82 #
  83 LDFLAGS += -dy -Nmisc/ldc -Nmisc/platsvc
  84 
  85 #
  86 # For now, disable these lint checks; maintainers should endeavor
  87 # to investigate and remove these for maximum lint coverage.
  88 # Please do not carry these forward to new Makefiles.
  89 #
  90 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  91 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  92 LINTTAGS        += -erroff=E_STATIC_UNUSED
  93 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON




  53 #
  54 #       Override defaults to build a unique, local modstubs.o.
  55 #
  56 MODSTUBS_DIR    = $(OBJS_DIR)
  57 
  58 CLEANFILES      += $(MODSTUBS_O)
  59 
  60 #
  61 #       Define targets
  62 #
  63 ALL_TARGET      = $(BINARY)
  64 LINT_TARGET     = $(MODULE).lint
  65 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  66 
  67 #
  68 # lint pass one enforcement
  69 #
  70 CFLAGS += $(CCVERBOSE)
  71 CERRWARN += -_gcc=-Wno-type-limits
  72 CERRWARN += -_gcc=-Wno-unused-function
  73 CERRWARN += $(CNOWARN_UNINIT)
  74 
  75 #
  76 # compiler failes with not reached statements
  77 #
  78 CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
  79 
  80 #
  81 # module dependencies
  82 #
  83 LDFLAGS += -dy -Nmisc/ldc -Nmisc/platsvc
  84 
  85 #
  86 # For now, disable these lint checks; maintainers should endeavor
  87 # to investigate and remove these for maximum lint coverage.
  88 # Please do not carry these forward to new Makefiles.
  89 #
  90 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  91 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  92 LINTTAGS        += -erroff=E_STATIC_UNUSED
  93 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON