forked from microsoft/GSL
missed from the merge
This commit is contained in:
@@ -18,17 +18,14 @@
|
|||||||
// blanket turn off warnings from CppCoreCheck from catch
|
// blanket turn off warnings from CppCoreCheck from catch
|
||||||
// so people aren't annoyed by them when running the tool.
|
// so people aren't annoyed by them when running the tool.
|
||||||
#pragma warning(disable : 26440 26426 26497 4189 4996)
|
#pragma warning(disable : 26440 26426 26497 4189 4996)
|
||||||
|
#endif
|
||||||
#if __clang__ || __GNUC__
|
|
||||||
#pragma GCC diagnostic push
|
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __clang__ || __GNUC__
|
#if __clang__ || __GNUC__
|
||||||
//disable warnings from gtest
|
//disable warnings from gtest
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wundef"
|
#pragma GCC diagnostic ignored "-Wundef"
|
||||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||||
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
#endif // __clang__ || __GNUC__
|
#endif // __clang__ || __GNUC__
|
||||||
|
|
||||||
#if __clang__
|
#if __clang__
|
||||||
|
Reference in New Issue
Block a user