mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 14:08:40 +01:00
build: re-enable deprecated warning copy
This was disabled in #18738 due to the combo of old gcc and qt, neither of which are relevant to us anymore.
This commit is contained in:
@@ -417,9 +417,6 @@ dnl unknown options if any other warning is produced. Test the -Wfoo case, and
|
|||||||
dnl set the -Wno-foo case if it works.
|
dnl set the -Wno-foo case if it works.
|
||||||
AX_CHECK_COMPILE_FLAG([-Wunused-parameter], [NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-unused-parameter"], [], [$CXXFLAG_WERROR])
|
AX_CHECK_COMPILE_FLAG([-Wunused-parameter], [NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-unused-parameter"], [], [$CXXFLAG_WERROR])
|
||||||
AX_CHECK_COMPILE_FLAG([-Wself-assign], [NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-self-assign"], [], [$CXXFLAG_WERROR])
|
AX_CHECK_COMPILE_FLAG([-Wself-assign], [NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-self-assign"], [], [$CXXFLAG_WERROR])
|
||||||
if test "$suppress_external_warnings" != "yes" ; then
|
|
||||||
AX_CHECK_COMPILE_FLAG([-Wdeprecated-copy], [NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-deprecated-copy"], [], [$CXXFLAG_WERROR])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Don't allow extended (non-ASCII) symbols in identifiers. This is easier for code review.
|
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])
|
AX_CHECK_COMPILE_FLAG([-fno-extended-identifiers], [CORE_CXXFLAGS="$CORE_CXXFLAGS -fno-extended-identifiers"], [], [$CXXFLAG_WERROR])
|
||||||
|
|||||||
Reference in New Issue
Block a user