diff options
| author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2022-09-25 22:30:27 +0100 |
|---|---|---|
| committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-26 05:34:09 -0400 |
| commit | 9a6d9c1ece3205412ae0e6f3f36777ce7e203138 (patch) | |
| tree | c0b08b8d1e3bdffcd1df609ca405632b3448a043 /dev-cpp/sol2/files/sol2-3.3.0-werror.patch | |
| parent | e6ff55cc55eb7e2b862326965ace1ac5b941c590 (diff) | |
| download | gentoo-9a6d9c1ece3205412ae0e6f3f36777ce7e203138.tar.gz gentoo-9a6d9c1ece3205412ae0e6f3f36777ce7e203138.tar.bz2 gentoo-9a6d9c1ece3205412ae0e6f3f36777ce7e203138.zip | |
dev-cpp/sol2: add 3.3.0
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Closes: https://bugs.gentoo.org/864169
Closes: https://github.com/gentoo/gentoo/pull/27456
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-cpp/sol2/files/sol2-3.3.0-werror.patch')
| -rw-r--r-- | dev-cpp/sol2/files/sol2-3.3.0-werror.patch | 21 |
1 files changed, 21 insertions, 0 deletions
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()
+
|
