diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-05-29 18:54:24 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-07 10:08:07 -0500 |
commit | 371353aa83f63de9239c4c754f4f24d52f676844 (patch) | |
tree | 11fa0f03c95c959532ae586e9f0f87760fafd450 /user/rttr/show-warnings-not-error-out.patch | |
parent | f2853d4a02ececc95fe68f4d4957fca009c0d537 (diff) | |
download | packages-371353aa83f63de9239c4c754f4f24d52f676844.tar.gz packages-371353aa83f63de9239c4c754f4f24d52f676844.tar.bz2 packages-371353aa83f63de9239c4c754f4f24d52f676844.tar.xz packages-371353aa83f63de9239c4c754f4f24d52f676844.zip |
user/rttr: Bring upstream patches in for newer C++
Also, change the warnings we disable to ensure it builds with GCC 13.
Also, replaces '-Werror' with '-Wextra' for more verbosity without
causing the build to fail.
Closes: #1196
Diffstat (limited to 'user/rttr/show-warnings-not-error-out.patch')
-rw-r--r-- | user/rttr/show-warnings-not-error-out.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/user/rttr/show-warnings-not-error-out.patch b/user/rttr/show-warnings-not-error-out.patch new file mode 100644 index 000000000..11d332048 --- /dev/null +++ b/user/rttr/show-warnings-not-error-out.patch @@ -0,0 +1,16 @@ +diff -ur a/CMake/utility.cmake b/CMake/utility.cmake +--- a/CMake/utility.cmake 2024-06-04 17:45:24.308248159 +0000 ++++ b/CMake/utility.cmake 2024-06-04 17:46:10.476409691 +0000 +@@ -392,10 +392,10 @@ + #################################################################################### + function( set_compiler_warnings target) + if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") +- set(WARNINGS "-Werror" ++ set(WARNINGS "-Wextra" + "-Wall") + elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") +- set(WARNINGS "-Werror" ++ set(WARNINGS "-Wextra" + "-Wall") + elseif(MSVC) + set(WARNINGS "/WX" |