]> eyrie.org Git - kerberos/krb5-sync.git/commitdiff
Update warning flags from the latest rra-c-util
authorRuss Allbery <eagle@eyrie.org>
Thu, 5 Dec 2013 04:39:41 +0000 (20:39 -0800)
committerRuss Allbery <eagle@eyrie.org>
Thu, 5 Dec 2013 04:39:41 +0000 (20:39 -0800)
Makefile.am

index 57fe6542969e47a5a81b491b8b1a1b4af18cb487..57b8a2bf852bd797ed09f6208ac1cbaef9330976 100644 (file)
@@ -75,15 +75,16 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 build-aux/compile              \
 #
 #     -Wconversion      http://bugs.debian.org/488884 (htons warnings)
 #
-# Last checked against gcc 4.6.1 (2011-05-04).  -D_FORTIFY_SOURCE=2 enables
+# Last checked against gcc 4.7.2 (2013-04-22).  -D_FORTIFY_SOURCE=2 enables
 # warn_unused_result attribute markings on glibc functions on Linux, which
 # catches a few more issues.
-WARNINGS = -g -O -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wendif-labels          \
-       -Wformat=2 -Winit-self -Wswitch-enum -Wdeclaration-after-statement  \
-       -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align           \
-       -Wwrite-strings -Wjump-misses-init -Wlogical-op                     \
-       -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls          \
-       -Wnested-externs -Werror
+WARNINGS = -g -O -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wendif-labels         \
+       -Wformat=2 -Winit-self -Wswitch-enum -Wuninitialized -Wfloat-equal \
+       -Wdeclaration-after-statement -Wshadow -Wpointer-arith             \
+       -Wbad-function-cast -Wcast-align -Wwrite-strings                   \
+       -Wjump-misses-init -Wlogical-op -Wstrict-prototypes                \
+       -Wold-style-definition -Wmissing-prototypes -Wnormalized=nfc       \
+       -Wpacked -Wredundant-decls -Wnested-externs -Winline -Wvla -Werror
 
 warnings:
        $(MAKE) V=0 CFLAGS='$(WARNINGS)'