Comment: | Make GCC 4.4 happy. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
fcade8da38e63991d269f0af6fce60b4 |
User & Date: | js on 2012-10-21 22:12:57 |
Other Links: | manifest | tags |
2012-10-21
| ||
22:13 | Fix a test on DragonFlyBSD. check-in: 83618d5a08 user: js tags: trunk | |
22:12 | Make GCC 4.4 happy. check-in: fcade8da38 user: js tags: trunk | |
2012-10-20
| ||
22:22 | Call C++ constructors in correct order. check-in: 1dcbea2fb0 user: js tags: trunk | |
Modified src/OFArray.m from [94fe6e85f7] to [03e4be362e].
︙ | |||
109 110 111 112 113 114 115 | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | - + | } @end @implementation OFArray + (void)initialize { if (self == [OFArray class]) |
︙ |
Modified src/OFBlock.m from [a204e2796b] to [6ab3d02d2d].
︙ | |||
175 176 177 178 179 180 181 | 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | - - + + | { of_block_literal_t *block = (of_block_literal_t*)block_; if (object_getClass((id)block) == (Class)&_NSConcreteStackBlock) { of_block_literal_t *copy; if ((copy = malloc(block->descriptor->size)) == NULL) { |
︙ | |||
263 264 265 266 267 268 269 | 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 | - - + + | break; case OF_BLOCK_FIELD_IS_BYREF:; of_block_byref_t *src = (of_block_byref_t*)src_; of_block_byref_t **dst = (of_block_byref_t**)dst_; if ((src->flags & OF_BLOCK_REFCOUNT_MASK) == 0) { if ((*dst = malloc(src->size)) == NULL) { |
︙ |
Modified src/OFCountedSet.m from [3f8c1b4cf9] to [dd9c0e4002].
︙ | |||
104 105 106 107 108 109 110 | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | - - + | } @end @implementation OFCountedSet + (void)initialize { if (self == [OFCountedSet class]) |
︙ |
Modified src/OFDictionary.m from [dd1d8a52aa] to [9c777b7efa].
︙ | |||
118 119 120 121 122 123 124 | 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | - - + | } @end @implementation OFDictionary + (void)initialize { if (self == [OFDictionary class]) |
︙ |
Modified src/OFMutableArray.m from [b32d8ba01b] to [93a257326c].
︙ | |||
145 146 147 148 149 150 151 | 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | - - + | } @end @implementation OFMutableArray + (void)initialize { if (self == [OFMutableArray class]) |
︙ |
Modified src/OFMutableDictionary.m from [46ace486e0] to [366d9b52dc].
︙ | |||
114 115 116 117 118 119 120 | 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | - - + | } @end @implementation OFMutableDictionary + (void)initialize { if (self == [OFMutableDictionary class]) |
︙ |
Modified src/OFMutableSet.m from [3f9a210be5] to [e5b23d482d].
︙ | |||
103 104 105 106 107 108 109 | 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | - - + | } @end @implementation OFMutableSet + (void)initialize { if (self == [OFMutableSet class]) |
︙ |
Modified src/OFMutableString.m from [c4f091786b] to [5fcf1bb841].
︙ | |||
239 240 241 242 243 244 245 | 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 | - - + | } @end @implementation OFMutableString + (void)initialize { if (self == [OFMutableString class]) |
︙ |
Modified src/OFObject.m from [b2fb1a5ccb] to [130a752ea7].
︙ | |||
184 185 186 187 188 189 190 | 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | - - + | extraAlignment = ((instanceSize + extraAlignment - 1) & ~(extraAlignment - 1)) - extraAlignment; instance = malloc(PRE_IVAR_ALIGN + instanceSize + extraAlignment + extraSize); if OF_UNLIKELY (instance == nil) { |
︙ |
Modified src/OFPlugin.m from [a25e85e2c5] to [1e21ccb1ef].
︙ | |||
52 53 54 55 56 57 58 | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | - + | if ((handle = dlopen([file cStringWithEncoding: OF_STRING_ENCODING_NATIVE], RTLD_LAZY)) == NULL) @throw [OFInitializationFailedException exceptionWithClass: self]; objc_autoreleasePoolPop(pool); |
︙ |
Modified src/OFSet.m from [ec5ebbb3c2] to [64a43ff987].
︙ | |||
102 103 104 105 106 107 108 | 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | - + | } @end @implementation OFSet + (void)initialize { if (self == [OFSet class]) |
︙ |
Modified src/OFString.m from [5e5459873a] to [5ea7b40c2a].
︙ | |||
337 338 339 340 341 342 343 | 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 | - + | } @end @implementation OFString + (void)initialize { if (self == [OFString class]) |
︙ |