Overview
| Comment: | undef __{unsafe_unretained,bridge,autoreleasing}
It seems Clang has these as built-in defines when cross-compiling for |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
3d11f9ee8fbc0fbee666f2831119b934 |
| User & Date: | js on 2016-01-05 17:11:44 |
| Other Links: | manifest | tags |
Context
|
2016-01-05
| ||
| 17:15 | configure: Check for pthread_attr_setinheritsched (check-in: a65818a67f user: js tags: trunk) | |
| 17:11 | undef __{unsafe_unretained,bridge,autoreleasing} (check-in: 3d11f9ee8f user: js tags: trunk) | |
| 17:09 | configure: Only link -lpthread if available (check-in: 80fae284b9 user: js tags: trunk) | |
Changes
Modified src/macros.h from [3aac42d28b] to [9f039167db].
| ︙ | ︙ | |||
139 140 141 142 143 144 145 146 147 148 149 150 151 152 | # define OF_WEAK_UNAVAILABLE __attribute__((__objc_arc_weak_unavailable__)) #else # define OF_RETURNS_RETAINED # define OF_RETURNS_NOT_RETAINED # define OF_RETURNS_INNER_POINTER # define OF_CONSUMED # define OF_WEAK_UNAVAILABLE # define __unsafe_unretained # define __bridge # define __autoreleasing #endif #if __has_feature(objc_generics) # define OF_HAVE_GENERICS | > > > > > > > > | 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | # define OF_WEAK_UNAVAILABLE __attribute__((__objc_arc_weak_unavailable__)) #else # define OF_RETURNS_RETAINED # define OF_RETURNS_NOT_RETAINED # define OF_RETURNS_INNER_POINTER # define OF_CONSUMED # define OF_WEAK_UNAVAILABLE /* * undef them first, as it seems Clang has these as built-in defines for some * platforms, even when ARC is disabled (at least it does when cross-compiling * for Android). */ # undef __unsafe_unretained # undef __bridge # undef __autoreleasing # define __unsafe_unretained # define __bridge # define __autoreleasing #endif #if __has_feature(objc_generics) # define OF_HAVE_GENERICS |
| ︙ | ︙ |