From 9e8a607ad948e23acf78b53a570da2dabb77f8d3 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 8 Dec 2019 21:49:27 +0200 Subject: [PATCH] Suppress clang warnings about unknown warning suppression :-) --- test/throw_exception_test3.cpp | 1 + test/throw_exception_test5.cpp | 1 + test/throw_from_library_test.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/test/throw_exception_test3.cpp b/test/throw_exception_test3.cpp index d88c7fb..53d6e6f 100644 --- a/test/throw_exception_test3.cpp +++ b/test/throw_exception_test3.cpp @@ -10,6 +10,7 @@ #endif #if defined(__clang__) +# pragma clang diagnostic ignored "-Wunknown-pragmas" # pragma clang diagnostic ignored "-Wpotentially-evaluated-expression" # pragma clang diagnostic ignored "-Wdelete-non-abstract-non-virtual-dtor" # pragma clang diagnostic ignored "-Wunused-parameter" diff --git a/test/throw_exception_test5.cpp b/test/throw_exception_test5.cpp index e38329b..2a3861e 100644 --- a/test/throw_exception_test5.cpp +++ b/test/throw_exception_test5.cpp @@ -6,6 +6,7 @@ // http://www.boost.org/LICENSE_1_0.txt #if defined(__clang__) +# pragma clang diagnostic ignored "-Wunknown-pragmas" # pragma clang diagnostic ignored "-Wpotentially-evaluated-expression" # pragma clang diagnostic ignored "-Wdelete-non-abstract-non-virtual-dtor" #endif diff --git a/test/throw_from_library_test.cpp b/test/throw_from_library_test.cpp index 0993bd9..546fc4e 100644 --- a/test/throw_from_library_test.cpp +++ b/test/throw_from_library_test.cpp @@ -10,6 +10,7 @@ #endif #if defined(__clang__) +# pragma clang diagnostic ignored "-Wunknown-pragmas" # pragma clang diagnostic ignored "-Wpotentially-evaluated-expression" # pragma clang diagnostic ignored "-Wdelete-non-abstract-non-virtual-dtor" # pragma clang diagnostic ignored "-Wunused-parameter"