File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ INC += -I$(BUILD)
1919
2020# compiler settings
2121CWARN = -Wall -Werror
22- CWARN += -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition - Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes - Wuninitialized -Wunused-parameter
22+ CWARN += -Wdouble-promotion -Wpointer-arith -Wuninitialized
2323CFLAGS = $(INC ) $(CWARN ) -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD ) $(COPT ) $(CFLAGS_EXTRA )
2424
2525# Debugging/Optimization
@@ -136,7 +136,7 @@ minimal:
136136# build an interpreter for coverage testing and do the testing
137137coverage :
138138 @echo Make sure to run make -B
139- $(MAKE ) COPT=" -O0" CFLAGS_EXTRA=' -fprofile-arcs -ftest-coverage' LDFLAGS_EXTRA=' -fprofile-arcs -ftest-coverage' BUILD=build-coverage PROG=micropython_coverage
139+ $(MAKE ) COPT=" -O0" CFLAGS_EXTRA=' -fprofile-arcs -ftest-coverage -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wuninitialized -Wunused-parameter ' LDFLAGS_EXTRA=' -fprofile-arcs -ftest-coverage' BUILD=build-coverage PROG=micropython_coverage
140140
141141coverage_test : coverage
142142 $(eval DIRNAME=$(notdir $(CURDIR ) ) )
You can’t perform that action at this time.
0 commit comments