Overview
| Comment: | More consistency in how pragmas are used |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
a0c049d8f1f5d3d7f8023d03622e1776 |
| User & Date: | js on 2022-11-05 18:38:12 |
| Other Links: | manifest | tags |
Context
|
2022-11-05
| ||
| 19:47 | Always support IPv6 addresses with numeric scope (check-in: df7580d5e1 user: js tags: trunk) | |
| 18:38 | More consistency in how pragmas are used (check-in: a0c049d8f1 user: js tags: trunk) | |
| 10:01 | Don't include <net/if.h> on MorphOS (check-in: 6235989999 user: js tags: trunk) | |
Changes
Modified configure.ac from [39df9f43ba] to [1cc78068e1].
| ︙ | ︙ | |||
2094 2095 2096 2097 2098 2099 2100 | */ #ifdef __clang__ # define OF_DEALLOC_UNSUPPORTED \ [self doesNotRecognizeSelector: _cmd]; \ \ abort(); \ \ | | > | 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 |
*/
#ifdef __clang__
# define OF_DEALLOC_UNSUPPORTED \
[self doesNotRecognizeSelector: _cmd]; \
\
abort(); \
\
_Pragma("clang diagnostic push"); \
_Pragma("clang diagnostic ignored \
\"-Wunreachable-code\""); \
[super dealloc]; \
_Pragma("clang diagnostic pop");
#else
# define OF_DEALLOC_UNSUPPORTED \
[self doesNotRecognizeSelector: _cmd]; \
\
|
| ︙ | ︙ |
Modified src/macros.h from [60a41b82a1] to [4ca2ebbb7b].
| ︙ | ︙ | |||
386 387 388 389 390 391 392 | #endif #ifdef __clang__ # define OF_DEALLOC_UNSUPPORTED \ [self doesNotRecognizeSelector: _cmd]; \ \ abort(); \ \ | | > | 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 |
#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(); \
|
| ︙ | ︙ |