From 2ad011cd42b40aebf90105be4521fb1727266d1d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 26 Sep 2022 15:08:09 +0100 Subject: gentoo auto-resync : 26:09:2022 - 15:08:08 --- dev-cpp/sol2/files/sol2-3.3.0-werror.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dev-cpp/sol2/files/sol2-3.3.0-werror.patch (limited to 'dev-cpp/sol2/files/sol2-3.3.0-werror.patch') diff --git a/dev-cpp/sol2/files/sol2-3.3.0-werror.patch b/dev-cpp/sol2/files/sol2-3.3.0-werror.patch new file mode 100644 index 000000000000..27118f38cafd --- /dev/null +++ b/dev-cpp/sol2/files/sol2-3.3.0-werror.patch @@ -0,0 +1,21 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -208,7 +208,6 @@ if (sol2-is-top-level-project) + check_compiler_flag(warn-pedantic GCC -Wpedantic) + check_compiler_flag(warn-all MSVC /W4 GCC -Wall) + check_compiler_flag(warn-extra GCC -Wextra) +- check_compiler_flag(warn-errors MSVC /WX GCC -Werror) + # Individual warnings/errors + check_compiler_diagnostic(unknown-warning) + check_compiler_diagnostic(unknown-warning-option) +--- a/examples/customization/CMakeLists.txt ++++ b/examples/customization/CMakeLists.txt +@@ -45,7 +45,7 @@ function (MAKE_CUSTOMIZATION_EXAMPLE example_suffix target_sol) + PRIVATE -std=c++1z + -ftemplate-backtrace-limit=0 + -Wno-unknown-warning -Wno-unknown-warning-option +- -Wall -Wpedantic -Werror -pedantic -pedantic-errors ++ -Wall -Wpedantic -pedantic -pedantic-errors + -Wno-noexcept-type) + endif() + -- cgit v1.2.3