Skip to content

Commit 15a6269

Browse files
committed
Try to silence warnings on mac.
1 parent a1bbc71 commit 15a6269

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

testlib.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
#ifdef __clang__
2+
#pragma clang diagnostic push
3+
#pragma clang diagnostic ignored "-Wfloat-equal -Wshadow"
4+
#endif
15
#include <criterion/criterion.h>
26
#include <criterion/new/assert.h>
7+
#ifdef __clang__
8+
#pragma clang diagnostic pop
9+
#endif
310

411
#include "scary.h"
512

0 commit comments

Comments
 (0)