Remove function attribute suggestions for gcc

More annoying than helpful.
This commit is contained in:
Danny Robson 2011-08-08 16:22:54 +10:00
parent 4c96950130
commit dbad60cf10

View File

@ -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"]) 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 ## Compiler features
AC_C_CONST AC_C_CONST