This repository was archived by the owner on Feb 18, 2026. It is now read-only.
Commit f146109
committed
fix(build-windows): suppress unreachable code warning for Unity test macros
Unity's TEST_FAIL_MESSAGE macro uses longjmp and never returns, causing
MSVC to warn about unreachable cleanup code. This is expected behavior
for test frameworks. Suppress C4702 warning with /wd4702.1 parent 40de0b7 commit f146109
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments