Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2019-02-12 09:11:01 +0300
committerChristopher Haster <chaster@utexas.edu>2019-02-27 10:35:44 +0300
commit7d8f8ced03ea7b0afd7f26c340fc1c2474360ab5 (patch)
tree5755ed371d9db6c45a20926dff7ea5355fe5b99a /Makefile
parenta0644794ca63ae63bb52fcbd26d3a50bff03a778 (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--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 79d9156..185d8e5 100644
--- a/Makefile
+++ b/Makefile
@@ -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)