Ignore -Wcpp for gtest.h/gmock.h

This commit is contained in:
Jonas Kvinge
2025-01-24 11:39:31 +01:00
parent dd9f80d539
commit e800926f57
21 changed files with 39 additions and 20 deletions

View 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