Ignore -Wcpp for gtest.h/gmock.h
This commit is contained in:
8
tests/src/gtest_include.h
Normal file
8
tests/src/gtest_include.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wcpp"
|
||||
#endif
|
||||
#include <gtest/gtest.h>
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
Reference in New Issue
Block a user