Skip to content

Commit 82f9bf1

Browse files
committed
Fix Catch2 compilation with Clang 13
1 parent 1bab12a commit 82f9bf1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

extern/catchorg/files.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,5 @@ SRC_$(d) := \
6767

6868
CXXFLAGS_$(d) += \
6969
-Wno-float-equal \
70-
-Wno-sign-conversion
70+
-Wno-sign-conversion \
71+
-Wno-unused-variable

extern/catchorg/flags.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ CXXFLAGS_$(d) += \
33
-DCATCH_CONFIG_PREFIX_ALL \
44
-DCATCH_CONFIG_FAST_COMPILE \
55
-DCATCH_CONFIG_ENABLE_OPTIONAL_STRINGMAKER \
6-
-DCATCH_CONFIG_DEFAULT_REPORTER=\"libfly\"
6+
-DCATCH_CONFIG_DEFAULT_REPORTER=\"libfly\" \
7+
-DCATCH_CONFIG_NO_POSIX_SIGNALS

0 commit comments

Comments
 (0)