ref: 3afa6b5a5a1711fa072f4d5e6f25fcb23070e473
parent: 9b49f788e4e1cb4ba720234d12f76ab97e39a91e
author: ISSOtm <[email protected]>
date: Sat Feb 5 07:27:30 EST 2022
Use pedantic warnings in Makefile default config as well We aim to be standard-conformant, and the CMakeLists already does it
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@
# Note: if this comes up empty, `version.c` will automatically fall back to last release number
VERSION_STRING := `git describe --tags --dirty --always 2>/dev/null`
-WARNFLAGS := -Wall
+WARNFLAGS := -Wall -pedantic
# Overridable CFLAGS
CFLAGS ?= -O3 -flto -DNDEBUG