From dbad60cf1034351de6dcf17fec1ff8a42e2b64b6 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 8 Aug 2011 16:22:54 +1000 Subject: [PATCH] Remove function attribute suggestions for gcc More annoying than helpful. --- configure.ac | 6 ------ 1 file changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index 2d6b61a4..f89b0a34 100644 --- a/configure.ac +++ b/configure.ac @@ -77,12 +77,6 @@ AS_CXX_COMPILER_FLAG([-fno-rtti], [COMMON_CFLAGS="$COMMON_CFLAGS -fno- AS_CXX_COMPILER_FLAG([-ggdb], [COMMON_CFLAGS="$COMMON_CFLAGS -ggdb"]) -## -## Assistance -AS_CXX_COMPILER_FLAG([-Wsuggest-attribute=pure], [COMMON_CFLAGS="$COMMON_CFLAGS -Wsuggest-attribute=pure"]) -AS_CXX_COMPILER_FLAG([-Wsuggest-attribute=const], [COMMON_CFLAGS="$COMMON_CFLAGS -Wsuggest-attribute=const"]) -AS_CXX_COMPILER_FLAG([-Wsuggest-attribute=return], [COMMON_CFLAGS="$COMMON_CFLAGS -Wsuggest-attribute=return"]) - ## ## Compiler features AC_C_CONST