configure: Enable more compiler warnings
authorKim Alvefur <zash@zash.se>
Sat, 16 Mar 2019 18:51:02 +0100
changeset 9865 84916bbe5985
parent 9864 2cf3dcf93d74
child 9866 f5623a1b33e5
configure: Enable more compiler warnings
configure
--- a/configure	Sat Mar 16 18:43:11 2019 +0100
+++ b/configure	Sat Mar 16 18:51:02 2019 +0100
@@ -24,7 +24,7 @@
 PRNGLIBS=
 
 CFLAGS="-fPIC -std=c99"
-CFLAGS="$CFLAGS -Wall -pedantic"
+CFLAGS="$CFLAGS -Wall -pedantic -Wextra -Wshadow -Wformat=2"
 LDFLAGS="-shared"
 
 IDN_LIBRARY="idn"