1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00
aports/testing/inspircd/re2-cxx-std.patch
2023-07-25 01:45:25 +00:00

15 lines
591 B
Diff

new re2 requires c++14 or greater, but 17 for string_view
--
diff --git a/src/modules/extra/m_regex_re2.cpp b/src/modules/extra/m_regex_re2.cpp
index a554605..4ecd3d3 100644
--- a/src/modules/extra/m_regex_re2.cpp
+++ b/src/modules/extra/m_regex_re2.cpp
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/// $CompilerFlags: -std=c++11 find_compiler_flags("re2" "")
+/// $CompilerFlags: -std=c++17 find_compiler_flags("re2" "")
/// $CompilerFlags: require_version("re2" "11") -std=c++17
/// $LinkerFlags: find_linker_flags("re2" "-lre2")