Skip to content

Commit

Permalink
guard apple
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesnicholson committed Oct 22, 2023
1 parent 8454a16 commit 4467b43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/doctest_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@
#pragma warning(disable:5264) // unused const variable
#endif

#if defined(__clang__) && !defined(__APPLE__)
#pragma GCC diagnostic ignored "-Wunsafe-buffer-usage"
#endif

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest.h"

0 comments on commit 4467b43

Please sign in to comment.