mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
Merge nowarn_unused-function
This commit is contained in:
commit
45a2e5951c
@ -411,6 +411,9 @@ dnl Some compilers (gcc) ignore unknown -Wno-* options, but warn about all
|
||||
dnl unknown options if any other warning is produced. Test the -Wfoo case, and
|
||||
dnl set the -Wno-foo case if it works.
|
||||
AX_CHECK_COMPILE_FLAG([-Wunused-parameter], [NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-unused-parameter"], [], [$CXXFLAG_WERROR])
|
||||
if test "$CXXFLAG_WERROR" != ""; then
|
||||
AX_CHECK_COMPILE_FLAG([-Wunused-function], [NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-error=unused-function"], [], [$CXXFLAG_WERROR])
|
||||
fi
|
||||
|
||||
dnl Don't allow extended (non-ASCII) symbols in identifiers. This is easier for code review.
|
||||
AX_CHECK_COMPILE_FLAG([-fno-extended-identifiers], [CORE_CXXFLAGS="$CORE_CXXFLAGS -fno-extended-identifiers"], [], [$CXXFLAG_WERROR])
|
||||
|
Loading…
Reference in New Issue
Block a user