Overview
Comment: | tests: Work around a Clang bug on Windows with ARC |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
91fd8bb4d2a0b10de90e39676c076eaa |
User & Date: | js on 2022-06-15 14:44:28 |
Other Links: | manifest | tags |
Context
2022-06-17
| ||
14:36 | Better workaround for Clang bug on Windows check-in: 658caa441b user: js tags: trunk | |
2022-06-15
| ||
14:44 | tests: Work around a Clang bug on Windows with ARC check-in: 91fd8bb4d2 user: js tags: trunk | |
2022-06-13
| ||
21:57 | Fix UNIX socket tests on iOS check-in: fac49a6297 user: js tags: trunk | |
Changes
Modified tests/Makefile from [bb692e21b0] to [c9143096e6].
︙ | |||
206 207 208 209 210 211 212 213 214 215 | 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | + + + + + | rm -fr nds-data ${PROG_NOINST}.3dsx: ${PROG_NOINST} 3dsxtool $< $@ CPPFLAGS += -I../src -I../src/exceptions -I../src/runtime -I.. -DSTDOUT OBJCFLAGS_RuntimeARCTests.m = -fobjc-arc -fobjc-arc-exceptions # Clang on Windows creates an invalid call into # objc_retainAutoreleasedReturnValue() in init with any optimization level # greater 0. # TODO: Investigate further and file a bug against Clang OBJCFLAGS_RuntimeARCTests.m += -O0 LIBS := ${TESTS_LIBS} ${LIBS} LDFLAGS += ${MAP_LDFLAGS} LD = ${OBJC} |