suppressing -Wundef in clang (GTest emitted)
This commit is contained in:
1 parent
43aca2646b
commit
87eaa45445
13 files changed
+13
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user