Skip to content

Commit

Permalink
Merge branch 'jc/sparse-error-for-developer-build'
Browse files Browse the repository at this point in the history
"make DEVELOPER=1 sparse" used to run sparse and let it emit
warnings; now such warnings will cause an error.

* jc/sparse-error-for-developer-build:
  Makefile: enable -Wsparse-error for DEVELOPER build
  • Loading branch information
gitster committed Nov 18, 2020
2 parents 3f6dc9c + 521dc56 commit dfbc63d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.mak.dev
@@ -1,5 +1,6 @@
ifeq ($(filter no-error,$(DEVOPTS)),)
DEVELOPER_CFLAGS += -Werror
SPARSE_FLAGS += -Wsparse-error
endif
ifneq ($(filter pedantic,$(DEVOPTS)),)
DEVELOPER_CFLAGS += -pedantic
Expand Down

0 comments on commit dfbc63d

Please sign in to comment.