Differences From Artifact [5676813928]:
- File src/macros.h — part of check-in [1a86b8175b] at 2022-02-12 07:46:07 on branch trunk — Update copyright (user: js, size: 18333) [annotate] [blame] [check-ins using] [more...]
To 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...]
︙ | ︙ | |||
252 253 254 255 256 257 258 | # define OF_WARN_UNUSED_RESULT __attribute__((__warn_unused_result__)) #else # define OF_WARN_UNUSED_RESULT #endif #if __has_attribute(__unavailable__) # define OF_UNAVAILABLE __attribute__((__unavailable__)) | < | 252 253 254 255 256 257 258 259 260 261 262 263 264 265 | # define OF_WARN_UNUSED_RESULT __attribute__((__warn_unused_result__)) #else # define OF_WARN_UNUSED_RESULT #endif #if __has_attribute(__unavailable__) # define OF_UNAVAILABLE __attribute__((__unavailable__)) #else # define OF_UNAVAILABLE #endif #if __has_attribute(__objc_requires_super__) # define OF_REQUIRES_SUPER __attribute__((__objc_requires_super__)) #else |
︙ | ︙ |