]> eyrie.org Git - kerberos/kadmin-remctl.git/commitdiff
Update warning flags from rra-c-util 5.1
authorRuss Allbery <eagle@eyrie.org>
Wed, 15 Jan 2014 22:33:54 +0000 (14:33 -0800)
committerRuss Allbery <eagle@eyrie.org>
Wed, 15 Jan 2014 22:33:54 +0000 (14:33 -0800)
Makefile.am

index f94103d19092ca496b07ad3975991144396d0aa3..0cf4f1ea5109d254a091bacb78eca99008788e61 100644 (file)
@@ -1,7 +1,7 @@
 # Automake makefile for kadmin-remctl.
 #
 # Written by Russ Allbery <eagle@eyrie.org>
-# Copyright 2007, 2008, 2010, 2011, 2013
+# Copyright 2007, 2008, 2010, 2011, 2013, 2014
 #     The Board of Trustees of the Leland Stanford Junior University
 #
 # See LICENSE for licensing terms.
@@ -45,21 +45,22 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 build-aux/compile             \
        config.h.in config.h.in~ configure kadmin-backend.8             \
        kadmin-backend-heim.8 ksetpass.1 passwd_change.1
 
-# A set of flags for warnings.  Add -O because gcc won't find some warnings
+# A set of flags for warnings. Add -O because gcc won't find some warnings
 # without optimization turned on.  Desirable warnings that can't be turned
 # on due to other problems:
 #
-#     -Wconversion      http://bugs.debian.org/488884 (htons warnings)
+#     -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)'