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


 112 CLOBBERFILES    = $(CLEANFILES) $(UNIX_BIN)
 113 
 114 # instr_size needs a special header
 115 $(OBJS_DIR)/instr_size.o :=     EXTRA_OPTIONS   = -I$(SRC)/common/dis/i386
 116 $(OBJS_DIR)/instr_size.ln :=    EXTRA_OPTIONS   = -I$(SRC)/common/dis/i386
 117 
 118 #
 119 # When performing shadow studio builds, the pre-processed comm page
 120 # output from gcc can end up confusing studio.
 121 #
 122 $(OBJS_DIR)/comm_page_ctf.o :=  CERRWARN += -_cc=-erroff=E_TKNS_IGNORED_AT_END_OF_DIR
 123 
 124 CFLAGS += -DDIS_MEM
 125 
 126 #
 127 # For now, disable these checks; maintainers should endeavor
 128 # to investigate and remove these for maximum coverage.
 129 # Please do not carry these forward to new Makefiles.
 130 #
 131 CERRWARN        += -_gcc=-Wno-parentheses
 132 CERRWARN        += -_gcc=-Wno-uninitialized
 133 CERRWARN        += -_gcc=-Wno-char-subscripts
 134 CERRWARN        += -_gcc=-Wno-unused-variable
 135 CERRWARN        += -_gcc=-Wno-unused-function
 136 CERRWARN        += -_gcc=-Wno-unused-label
 137 CERRWARN        += -_gcc=-Wno-type-limits
 138 CERRWARN        += -_gcc=-Wno-clobbered
 139 CERRWARN        += -_gcc=-Wno-empty-body
 140 CERRWARN        += -_gcc=-Wno-unused-value
 141 
 142 # false positives
 143 SMOFF += index_overflow
 144 
 145 # needs work
 146 SMOFF += all_func_returns,deref_check,signed
 147 
 148 $(OBJS_DIR)/fmsmb.o := SMOFF += indenting
 149 $(OBJS_DIR)/zutil.o := SMOFF += indenting
 150 $(OBJS_DIR)/bootrd_cpio.o := SMOFF += allocating_enough_data
 151 
 152 #




 112 CLOBBERFILES    = $(CLEANFILES) $(UNIX_BIN)
 113 
 114 # instr_size needs a special header
 115 $(OBJS_DIR)/instr_size.o :=     EXTRA_OPTIONS   = -I$(SRC)/common/dis/i386
 116 $(OBJS_DIR)/instr_size.ln :=    EXTRA_OPTIONS   = -I$(SRC)/common/dis/i386
 117 
 118 #
 119 # When performing shadow studio builds, the pre-processed comm page
 120 # output from gcc can end up confusing studio.
 121 #
 122 $(OBJS_DIR)/comm_page_ctf.o :=  CERRWARN += -_cc=-erroff=E_TKNS_IGNORED_AT_END_OF_DIR
 123 
 124 CFLAGS += -DDIS_MEM
 125 
 126 #
 127 # For now, disable these checks; maintainers should endeavor
 128 # to investigate and remove these for maximum coverage.
 129 # Please do not carry these forward to new Makefiles.
 130 #
 131 CERRWARN        += -_gcc=-Wno-parentheses
 132 CERRWARN        += $(CNOWARN_UNINIT)
 133 CERRWARN        += -_gcc=-Wno-char-subscripts
 134 CERRWARN        += -_gcc=-Wno-unused-variable
 135 CERRWARN        += -_gcc=-Wno-unused-function
 136 CERRWARN        += -_gcc=-Wno-unused-label
 137 CERRWARN        += -_gcc=-Wno-type-limits
 138 CERRWARN        += -_gcc=-Wno-clobbered
 139 CERRWARN        += -_gcc=-Wno-empty-body
 140 CERRWARN        += -_gcc=-Wno-unused-value
 141 
 142 # false positives
 143 SMOFF += index_overflow
 144 
 145 # needs work
 146 SMOFF += all_func_returns,deref_check,signed
 147 
 148 $(OBJS_DIR)/fmsmb.o := SMOFF += indenting
 149 $(OBJS_DIR)/zutil.o := SMOFF += indenting
 150 $(OBJS_DIR)/bootrd_cpio.o := SMOFF += allocating_enough_data
 151 
 152 #