Differences From Artifact [58ba402fca]:
- File
src/macros.h
— part of check-in
[f12043ee28]
at
2017-11-13 22:19:10
on branch trunk
— Only use OF_WARN_UNUSED_RESULT with Clang
GCC does not support it. (user: js, size: 20087) [annotate] [blame] [check-ins using]
To Artifact [63c7ed2d2c]:
- File src/macros.h — part of check-in [1d41fff819] at 2017-11-13 23:06:14 on branch trunk — macros.h: Reduce OF_INVALID_INIT_METHOD code size (user: js, size: 20050) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
361 362 363 364 365 366 367 | __LINE__); \ abort(); \ } \ } while (0) #define OF_UNRECOGNIZED_SELECTOR of_method_not_found(self, _cmd); #if __has_feature(objc_arc) | | < < < | | 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 | __LINE__); \ abort(); \ } \ } while (0) #define OF_UNRECOGNIZED_SELECTOR of_method_not_found(self, _cmd); #if __has_feature(objc_arc) # define OF_INVALID_INIT_METHOD of_method_not_found(self, _cmd); #else # define OF_INVALID_INIT_METHOD \ @try { \ of_method_not_found(self, _cmd); \ } @catch (id e) { \ [self release]; \ @throw e; \ } \ \ abort(); #endif |
︙ | ︙ |