diff --git a/tests/algorithm_tests.cpp b/tests/algorithm_tests.cpp index 96bfb93..e00e688 100644 --- a/tests/algorithm_tests.cpp +++ b/tests/algorithm_tests.cpp @@ -23,6 +23,7 @@ #if __clang__ || __GNUC__ //disable warnings from gtest #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/assertion_tests.cpp b/tests/assertion_tests.cpp index b1d8f60..1584bcd 100644 --- a/tests/assertion_tests.cpp +++ b/tests/assertion_tests.cpp @@ -23,6 +23,7 @@ #if __clang__ || __GNUC__ //disable warnings from gtest #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/at_tests.cpp b/tests/at_tests.cpp index 67e8729..0f7e3d9 100644 --- a/tests/at_tests.cpp +++ b/tests/at_tests.cpp @@ -23,6 +23,7 @@ #if __clang__ || __GNUC__ //disable warnings from gtest #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/bounds_tests.cpp b/tests/bounds_tests.cpp index 7bd3b2a..725127f 100644 --- a/tests/bounds_tests.cpp +++ b/tests/bounds_tests.cpp @@ -26,6 +26,7 @@ #pragma GCC diagnostic ignored "-Wdeprecated-declarations" //disable warnings from gtest +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/byte_tests.cpp b/tests/byte_tests.cpp index 6d3342a..c5403a4 100644 --- a/tests/byte_tests.cpp +++ b/tests/byte_tests.cpp @@ -23,6 +23,7 @@ #if __clang__ || __GNUC__ //disable warnings from gtest #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/multi_span_tests.cpp b/tests/multi_span_tests.cpp index 63ebd63..702b021 100644 --- a/tests/multi_span_tests.cpp +++ b/tests/multi_span_tests.cpp @@ -27,6 +27,7 @@ #pragma GCC diagnostic ignored "-Wdeprecated-declarations" //disable warnings from gtest +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/notnull_tests.cpp b/tests/notnull_tests.cpp index b26e618..0c183c9 100644 --- a/tests/notnull_tests.cpp +++ b/tests/notnull_tests.cpp @@ -26,6 +26,7 @@ #if __clang__ || __GNUC__ //disable warnings from gtest #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/owner_tests.cpp b/tests/owner_tests.cpp index 32343af..2e7a1d4 100644 --- a/tests/owner_tests.cpp +++ b/tests/owner_tests.cpp @@ -24,6 +24,7 @@ #if __clang__ || __GNUC__ //disable warnings from gtest #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/span_tests.cpp b/tests/span_tests.cpp index 2e752fd..2f39d2b 100644 --- a/tests/span_tests.cpp +++ b/tests/span_tests.cpp @@ -24,6 +24,7 @@ #if __clang__ || __GNUC__ //disable warnings from gtest #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/strict_notnull_tests.cpp b/tests/strict_notnull_tests.cpp index f060912..bbaddb2 100644 --- a/tests/strict_notnull_tests.cpp +++ b/tests/strict_notnull_tests.cpp @@ -26,6 +26,7 @@ #if __clang__ || __GNUC__ //disable warnings from gtest #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/strided_span_tests.cpp b/tests/strided_span_tests.cpp index 6344228..8c5b932 100644 --- a/tests/strided_span_tests.cpp +++ b/tests/strided_span_tests.cpp @@ -27,6 +27,7 @@ #pragma GCC diagnostic ignored "-Wdeprecated-declarations" //disable warnings from gtest +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/string_span_tests.cpp b/tests/string_span_tests.cpp index 41863e4..afa6ce3 100644 --- a/tests/string_span_tests.cpp +++ b/tests/string_span_tests.cpp @@ -24,6 +24,7 @@ #if __clang__ || __GNUC__ //disable warnings from gtest #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" diff --git a/tests/utils_tests.cpp b/tests/utils_tests.cpp index 3583ea4..9cf59cd 100644 --- a/tests/utils_tests.cpp +++ b/tests/utils_tests.cpp @@ -24,6 +24,7 @@ #if __clang__ || __GNUC__ //disable warnings from gtest #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wundef" #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default"