Enable -Wextra

-Wsign-compare has been disabled because flex generates a comparison
that triggers a warning and cannot be fixed in the code.

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2018-04-01 01:18:29 +01:00
parent b28a16c0da
commit 9829be1045
7 changed files with 12 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ PNGLDLIBS := `${PKG_CONFIG} --static --libs-only-l libpng`
VERSION_STRING := `git describe --tags --dirty --always 2>/dev/null`
WARNFLAGS := -Werror -Wall -Wpedantic
WARNFLAGS := -Werror -Wall -Wextra -Wpedantic -Wno-sign-compare
# Overridable CFLAGS
CFLAGS := -g