Add suggest-attribute compiler option checks
This commit is contained in:
parent
c6fea4291d
commit
fef55f7943
@ -56,6 +56,12 @@ 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user