Xcode: resolve -Wunknown-pragmas

This is a multi-platform project and while trying to reduce amount of

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
2024-02-14 10:32:45 +01:00
parent 2232b0d23e
commit 681a6955d8
9 changed files with 58 additions and 18 deletions

View File

@@ -9,7 +9,7 @@ using namespace std;
#ifdef _WIN32
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
#endif
#ifdef __GNUC__
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
@@ -99,6 +99,6 @@ namespace UnitTests
}
}
#ifdef __GNUC__
#if defined(__GNUC__)
#pragma GCC diagnostic pop
#endif