We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 373e55c commit 7cb752cCopy full SHA for 7cb752c
configure.ac
@@ -463,8 +463,7 @@ MC_PROG_CC_SUPPORTS_OPTION([-Wall], [
463
])
464
465
if test "x$compiler_is_clang" = "xyes"; then
466
- AM_CFLAGS="$AM_CFLAGS -Wno-vla-cxx-extension"
467
- AM_CXXFLAGS="$AM_CXXFLAGS -Wno-vla-cxx-extension"
+ MC_PROG_CC_SUPPORTS_OPTION([-Wvla-cxx-extension -Werror], [ AM_CXXFLAGS="$AM_CXXFLAGS -Wno-vla-cxx-extension" ])
468
WARN_GLOBAL_CDTORS="-Wglobal-constructors -Wexit-time-destructors"
469
else
470
WARN_GLOBAL_CDTORS=""
0 commit comments