Enable -Wpedantic

Fix a few warnings related needed to build the source with this option.

Add new exception to .checkpatch.conf.

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 00:47:35 +01:00
parent 4d13d57491
commit b28a16c0da
5 changed files with 10 additions and 5 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 := -Wall -Werror
WARNFLAGS := -Werror -Wall -Wpedantic
# Overridable CFLAGS
CFLAGS := -g