Skip to content

Commit 2c83911

Browse files
committed
build: Disable Wshadow warning
This warning was enabled by default in #8808 but it's a [continuing](bitcoin/bitcoin#9911 (comment)) [source](bitcoin/bitcoin#10089 (comment)) of [annoyance](bitcoin/bitcoin#9911 (comment)) for me and other developers. I'm sick of sounding like a broken record, so disable it again.
1 parent 351d0ad commit 2c83911

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ if test "x$CXXFLAGS_overridden" = "xno"; then
227227
AX_CHECK_COMPILE_FLAG([-Wformat],[CXXFLAGS="$CXXFLAGS -Wformat"],,[[$CXXFLAG_WERROR]])
228228
AX_CHECK_COMPILE_FLAG([-Wvla],[CXXFLAGS="$CXXFLAGS -Wvla"],,[[$CXXFLAG_WERROR]])
229229
AX_CHECK_COMPILE_FLAG([-Wformat-security],[CXXFLAGS="$CXXFLAGS -Wformat-security"],,[[$CXXFLAG_WERROR]])
230-
AX_CHECK_COMPILE_FLAG([-Wshadow],[CXXFLAGS="$CXXFLAGS -Wshadow"],,[[$CXXFLAG_WERROR]])
231230

232231
## Some compilers (gcc) ignore unknown -Wno-* options, but warn about all
233232
## unknown options if any other warning is produced. Test the -Wfoo case, and

0 commit comments

Comments
 (0)