diff options
| author | Ha Thach <[email protected]> | 2021-05-26 17:26:50 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-26 17:26:50 +0700 |
| commit | 220f4410485a84a4e5e8f2a68e03dd8ed3b93900 (patch) | |
| tree | 647d2541f19b1650dac46591c0bc0f071842d31d /examples | |
| parent | e411ce1937c1ebe0b8ac3a7201d3bd1d031d9ac7 (diff) | |
| parent | f8e9c6ddbb29292c1aef93a3797752e3815c8b88 (diff) | |
Merge pull request #850 from hathach/fix-warnings
fix warnings
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/make.mk | 4 |
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) |
