diff options
author | Christopher Haster <chaster@utexas.edu> | 2019-02-12 09:11:01 +0300 |
---|---|---|
committer | Christopher Haster <chaster@utexas.edu> | 2019-02-27 10:35:44 +0300 |
commit | 7d8f8ced03ea7b0afd7f26c340fc1c2474360ab5 (patch) | |
tree | 5755ed371d9db6c45a20926dff7ea5355fe5b99a /Makefile | |
parent | a0644794ca63ae63bb52fcbd26d3a50bff03a778 (diff) |
Enabled -Wextra
This only required adding NULLs where commit statements were not fully
initialized.
Unfortunately we still need -Wno-missing-field-initializers because
of a bug in GCC that persists on Travis.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60784
Found by apmorton
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -26,7 +26,9 @@ override CFLAGS += -m$(WORD) endif override CFLAGS += -I. override CFLAGS += -std=c99 -Wall -pedantic -override CFLAGS += -Wshadow -Wunused-parameter -Wjump-misses-init -Wsign-compare +override CFLAGS += -Wextra -Wshadow -Wjump-misses-init +# Remove missing-field-initializers because of GCC bug +override CFLAGS += -Wno-missing-field-initializers all: $(TARGET) |