Skip to content

Commit b052b2d

Browse files
committed
build: remove -Wdocumentation conditional
Now that --enable-suppress-external-warnings is on by default, we can drop it.
1 parent 5c6d900 commit b052b2d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

configure.ac

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -432,10 +432,7 @@ if test "$CXXFLAGS_overridden" = "no"; then
432432
AX_CHECK_COMPILE_FLAG([-Wsuggest-override], [WARN_CXXFLAGS="$WARN_CXXFLAGS -Wsuggest-override"], [], [$CXXFLAG_WERROR])
433433
AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough], [WARN_CXXFLAGS="$WARN_CXXFLAGS -Wimplicit-fallthrough"], [], [$CXXFLAG_WERROR])
434434
AX_CHECK_COMPILE_FLAG([-Wunreachable-code], [WARN_CXXFLAGS="$WARN_CXXFLAGS -Wunreachable-code"], [], [$CXXFLAG_WERROR])
435-
436-
if test "$suppress_external_warnings" != "no" ; then
437-
AX_CHECK_COMPILE_FLAG([-Wdocumentation], [WARN_CXXFLAGS="$WARN_CXXFLAGS -Wdocumentation"], [], [$CXXFLAG_WERROR])
438-
fi
435+
AX_CHECK_COMPILE_FLAG([-Wdocumentation], [WARN_CXXFLAGS="$WARN_CXXFLAGS -Wdocumentation"], [], [$CXXFLAG_WERROR])
439436

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

0 commit comments

Comments
 (0)