From 09f0af1d8113d9e7eec9ad2f1f7edc932aa441f4 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Thu, 21 May 2015 13:28:33 +0200 Subject: [PATCH] Add -Wheader-guard and -Wdocumentation to CFLAG (Use by Clang) --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 616a6d2b..47d8d805 100644 --- a/configure.ac +++ b/configure.ac @@ -78,6 +78,8 @@ AX_CFLAGS_GCC_OPTION([-Wformat], [LLDP_CFLAGS]) AX_CFLAGS_GCC_OPTION([-Wformat-security], [LLDP_CFLAGS]) AX_CFLAGS_GCC_OPTION([-Wfatal-errors], [LLDP_CFLAGS]) AX_CFLAGS_GCC_OPTION([-Wcast-align], [LLDP_CFLAGS]) +AX_CFLAGS_GCC_OPTION([-Wheader-guard], [LLDP_CFLAGS]) +AX_CFLAGS_GCC_OPTION([-Wdocumentation], [LLDP_CFLAGS]) AX_CFLAGS_GCC_OPTION([-Winline], [LLDP_CFLAGS]) AX_CFLAGS_GCC_OPTION([-fno-omit-frame-pointer], [LLDP_CFLAGS]) AX_CFLAGS_GCC_OPTION([-Wno-unused-parameter], [LLDP_CFLAGS]) -- 2.39.5