Overview
Comment: | Clang with the new GNU runtime does not like blocks checked against nil. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
bb68bc87dd91d1108ea20e08a97af1a4 |
User & Date: | js on 2011-07-10 03:18:38 |
Other Links: | manifest | tags |
Context
2011-07-10
| ||
03:19 | Include objc/runtime.h when using the new GNU runtime. check-in: 19bb966105 user: js tags: trunk | |
03:18 | Clang with the new GNU runtime does not like blocks checked against nil. check-in: bb68bc87dd user: js tags: trunk | |
2011-07-09
| ||
22:03 | OFDate: Fix wrong format specifier for microseconds. check-in: 75dde25734 user: js tags: trunk | |
Changes
Modified src/OFThread.m from [812930f276] to [b844fc3209].
︙ | ︙ | |||
66 67 68 69 70 71 72 | newWithClass: [thread class]]; /* * Nasty workaround for thread implementations which can't return a * value on join. */ #ifdef OF_HAVE_BLOCKS | | | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | newWithClass: [thread class]]; /* * Nasty workaround for thread implementations which can't return a * value on join. */ #ifdef OF_HAVE_BLOCKS if (thread->block != NULL) thread->returnValue = [thread->block(thread->object) retain]; else thread->returnValue = [[thread main] retain]; #else thread->returnValue = [[thread main] retain]; #endif |
︙ | ︙ |