Make sure use of C++14 and C++17 extensions are an error instead of a warning

This commit is contained in:
2022-07-13 09:43:43 -04:00
parent e34409f3d6
commit 43ad1be6ca

View File

@@ -2286,6 +2286,8 @@
"-Werror=parentheses", "-Werror=parentheses",
"-Werror=dangling-else", "-Werror=dangling-else",
"-Werror=array-bounds", "-Werror=array-bounds",
"-Werror=c++14-extensions",
"-Werror=c++17-extensions",
); );
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"-lboost_system", "-lboost_system",
@@ -2385,6 +2387,8 @@
"-Werror=parentheses", "-Werror=parentheses",
"-Werror=dangling-else", "-Werror=dangling-else",
"-Werror=array-bounds", "-Werror=array-bounds",
"-Werror=c++14-extensions",
"-Werror=c++17-extensions",
); );
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"-lboost_system", "-lboost_system",