Differences From Artifact [1dcb1c7fda]:
- File src/OFDate.m — part of check-in [096c2662d6] at 2020-07-25 17:24:22 on branch tagged-pointers — OFDate: Fix missing #ifdef (user: js, size: 19742) [annotate] [blame] [check-ins using]
To Artifact [8d4b356936]:
- File
src/OFDate.m
— part of check-in
[94c7e3e8f3]
at
2020-07-25 18:32:42
on branch tagged-pointers
— OFDate: Also ignore -Wunknown-pragmas
This makes old versions of Clang happy which don't know about
-Wobjc-designated-initializers. (user: js, size: 19796) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
277 278 279 280 281 282 283 284 285 286 287 288 289 290 | } @end @implementation OFDatePlaceholder #ifdef __clang__ /* We intentionally don't call into super, so silence the warning. */ # pragma clang diagnostic push # pragma clang diagnostic ignored "-Wobjc-designated-initializers" #endif - (instancetype)initWithTimeIntervalSince1970: (of_time_interval_t)seconds { #if defined(OF_OBJFW_RUNTIME) && UINTPTR_MAX == UINT64_MAX uint64_t value; #endif | > | 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | } @end @implementation OFDatePlaceholder #ifdef __clang__ /* We intentionally don't call into super, so silence the warning. */ # pragma clang diagnostic push # pragma clang diagnostic ignored "-Wunknown-pragmas" # pragma clang diagnostic ignored "-Wobjc-designated-initializers" #endif - (instancetype)initWithTimeIntervalSince1970: (of_time_interval_t)seconds { #if defined(OF_OBJFW_RUNTIME) && UINTPTR_MAX == UINT64_MAX uint64_t value; #endif |
︙ | ︙ |