Differences From Artifact [60a41b82a1]:
- File
src/macros.h
— part of check-in
[e53c0160a8]
at
2022-06-06 07:06:25
on branch trunk
— Always implement dummy for OF_UNAVAILABLE methods
GCC now supports the attribute, but still complains if the method is not
implemented, so always implement it with a method that throws. (user: js, size: 18304) [annotate] [blame] [check-ins using] [more...]
To Artifact [4ca2ebbb7b]:
- File src/macros.h — part of check-in [a0c049d8f1] at 2022-11-05 18:38:12 on branch trunk — More consistency in how pragmas are used (user: js, size: 18333) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
381 382 383 384 385 386 387 | [self release]; \ @throw e; \ } \ \ abort(); #endif #ifdef __clang__ | | | | | | | > | | 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 | [self release]; \ @throw e; \ } \ \ abort(); #endif #ifdef __clang__ # define OF_DEALLOC_UNSUPPORTED \ [self doesNotRecognizeSelector: _cmd]; \ \ abort(); \ \ _Pragma("clang diagnostic push"); \ _Pragma("clang diagnostic ignored \"-Wunreachable-code\""); \ [super dealloc]; /* Get rid of a stupid warning */ \ _Pragma("clang diagnostic pop"); #else # define OF_DEALLOC_UNSUPPORTED \ [self doesNotRecognizeSelector: _cmd]; \ \ abort(); \ \ |
︙ | ︙ |