From 1fea4a7335b030b9ad15b469ac81094d6255db74 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Sat, 22 Jul 2023 12:32:01 +0200 Subject: [PATCH] catch2: Fix build with gcc13 Cherrypick of catch2 commit 52066dbc2a53f4c3ab2a418d03f93200a8245451 to fix the build with gcc 13 without a full update. --- lib/Catch2/src/catch2/catch_test_case_info.hpp | 1 + lib/Catch2/src/catch2/internal/catch_string_manip.hpp | 1 + lib/Catch2/src/catch2/internal/catch_xmlwriter.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/Catch2/src/catch2/catch_test_case_info.hpp b/lib/Catch2/src/catch2/catch_test_case_info.hpp index 6cfc2aaf9..a32399a36 100644 --- a/lib/Catch2/src/catch2/catch_test_case_info.hpp +++ b/lib/Catch2/src/catch2/catch_test_case_info.hpp @@ -15,6 +15,7 @@ #include +#include #include #include diff --git a/lib/Catch2/src/catch2/internal/catch_string_manip.hpp b/lib/Catch2/src/catch2/internal/catch_string_manip.hpp index dc58a3360..e80d76a6f 100644 --- a/lib/Catch2/src/catch2/internal/catch_string_manip.hpp +++ b/lib/Catch2/src/catch2/internal/catch_string_manip.hpp @@ -10,6 +10,7 @@ #include +#include #include #include #include diff --git a/lib/Catch2/src/catch2/internal/catch_xmlwriter.cpp b/lib/Catch2/src/catch2/internal/catch_xmlwriter.cpp index 93758cba7..85e44aa96 100644 --- a/lib/Catch2/src/catch2/internal/catch_xmlwriter.cpp +++ b/lib/Catch2/src/catch2/internal/catch_xmlwriter.cpp @@ -11,6 +11,7 @@ #include #include +#include #include #include