Merge pull request #850 from hathach/fix-warnings

fix warnings
This commit is contained in:
Ha Thach
2021-05-26 17:26:50 +07:00
committed by GitHub
9 changed files with 203 additions and 258 deletions

View File

@@ -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)