summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-05-26 17:26:50 +0700
committerGitHub <[email protected]>2021-05-26 17:26:50 +0700
commit220f4410485a84a4e5e8f2a68e03dd8ed3b93900 (patch)
tree647d2541f19b1650dac46591c0bc0f071842d31d /examples/make.mk
parente411ce1937c1ebe0b8ac3a7201d3bd1d031d9ac7 (diff)
parentf8e9c6ddbb29292c1aef93a3797752e3815c8b88 (diff)
Merge pull request #850 from hathach/fix-warnings
fix warnings
Diffstat (limited to 'examples/make.mk')
-rw-r--r--examples/make.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 6366d6cef..df8bfd617 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -88,6 +88,7 @@ CFLAGS += \
-fno-strict-aliasing \
-Wdouble-promotion \
-Wstrict-prototypes \
+ -Wstrict-overflow \
-Wall \
-Wextra \
-Werror \
@@ -100,7 +101,8 @@ CFLAGS += \
-Wsign-compare \
-Wmissing-format-attribute \
-Wunreachable-code \
- -Wcast-align
+ -Wcast-align \
+ -Wcast-function-type
# Debugging/Optimization
ifeq ($(DEBUG), 1)