From ac72b396f51bd603377ebc0088fe75d6eb43ba0e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 8 Dec 2019 22:14:55 +0200 Subject: [PATCH] Clang 5 has a different warning for unknown warnings --- 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 53d6e6f..3e80773 100644 --- a/test/throw_exception_test3.cpp +++ b/test/throw_exception_test3.cpp @@ -11,6 +11,7 @@ #if defined(__clang__) # pragma clang diagnostic ignored "-Wunknown-pragmas" +# pragma clang diagnostic ignored "-Wunknown-warning-option" # 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 2a3861e..32970cf 100644 --- a/test/throw_exception_test5.cpp +++ b/test/throw_exception_test5.cpp @@ -7,6 +7,7 @@ #if defined(__clang__) # pragma clang diagnostic ignored "-Wunknown-pragmas" +# pragma clang diagnostic ignored "-Wunknown-warning-option" # 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 546fc4e..af2a673 100644 --- a/test/throw_from_library_test.cpp +++ b/test/throw_from_library_test.cpp @@ -11,6 +11,7 @@ #if defined(__clang__) # pragma clang diagnostic ignored "-Wunknown-pragmas" +# pragma clang diagnostic ignored "-Wunknown-warning-option" # pragma clang diagnostic ignored "-Wpotentially-evaluated-expression" # pragma clang diagnostic ignored "-Wdelete-non-abstract-non-virtual-dtor" # pragma clang diagnostic ignored "-Wunused-parameter"