From 66085e516a04444baef5d329b29e84fbf4486dfe Mon Sep 17 00:00:00 2001 From: Goetz Gaycken Date: Wed, 6 Nov 2024 18:53:18 +0100 Subject: [PATCH 1/2] Silence compiler warning in tbb header about old-style casts. Silence warnings emitted by GCC 13.1 about old-style c-casts in some headers of tbb 2021.13. --- .../ActsExamples/TrackFinding/TrackFindingAlgorithm.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Examples/Algorithms/TrackFinding/include/ActsExamples/TrackFinding/TrackFindingAlgorithm.hpp b/Examples/Algorithms/TrackFinding/include/ActsExamples/TrackFinding/TrackFindingAlgorithm.hpp index c56e9508c9b..5b90970e5fc 100644 --- a/Examples/Algorithms/TrackFinding/include/ActsExamples/TrackFinding/TrackFindingAlgorithm.hpp +++ b/Examples/Algorithms/TrackFinding/include/ActsExamples/TrackFinding/TrackFindingAlgorithm.hpp @@ -36,8 +36,10 @@ #include #include #include - +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wold-style-cast" #include +#pragma GCC diagnostic pop namespace Acts { class MagneticFieldProvider; From d26334e123ee0ac89eaa3d7ca8421cefb637bc2f Mon Sep 17 00:00:00 2001 From: goetzgaycken Date: Tue, 12 Nov 2024 17:05:08 +0100 Subject: [PATCH 2/2] Update Examples/Algorithms/TrackFinding/include/ActsExamples/TrackFinding/TrackFindingAlgorithm.hpp Co-authored-by: Alexander J. Pfleger <70842573+AJPfleger@users.noreply.github.com> --- .../include/ActsExamples/TrackFinding/TrackFindingAlgorithm.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Examples/Algorithms/TrackFinding/include/ActsExamples/TrackFinding/TrackFindingAlgorithm.hpp b/Examples/Algorithms/TrackFinding/include/ActsExamples/TrackFinding/TrackFindingAlgorithm.hpp index 5b90970e5fc..0f532be2d28 100644 --- a/Examples/Algorithms/TrackFinding/include/ActsExamples/TrackFinding/TrackFindingAlgorithm.hpp +++ b/Examples/Algorithms/TrackFinding/include/ActsExamples/TrackFinding/TrackFindingAlgorithm.hpp @@ -36,6 +36,7 @@ #include #include #include + #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wold-style-cast" #include