Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/GSL.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Maples <sloppyjaconda@pop-os.localdomain>2019-12-07 03:03:47 +0300
committerJordan Maples <sloppyjaconda@pop-os.localdomain>2019-12-07 03:03:47 +0300
commit9a8826254496085445c59249243c52c185271ce8 (patch)
tree4c4e3c811327888d902e037df90a3e439702f32b /tests/algorithm_tests.cpp
parentb39a9732f8e5eca21998bf8e1cef7698b20de320 (diff)
fixing suppression of gtest warnings for gcc
Diffstat (limited to 'tests/algorithm_tests.cpp')
-rw-r--r--tests/algorithm_tests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/algorithm_tests.cpp b/tests/algorithm_tests.cpp
index 7ba81b5..eb6641c 100644
--- a/tests/algorithm_tests.cpp
+++ b/tests/algorithm_tests.cpp
@@ -24,6 +24,8 @@
//disable warnings from gtest
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wundef"
+#endif
+#if __clang__
#pragma GCC diagnostic ignored "-Wglobal-constructors"
#pragma GCC diagnostic ignored "-Wused-but-marked-unused"
#pragma GCC diagnostic ignored "-Wcovered-switch-default"