ObjFW  Check-in [bac91ccede]

Overview
Comment:Add C11 noreturn

If it's unavailable, it's defined to __attribute__((noreturn)).

Unfortunately, it cannot be used for ObjC methods, as noreturn is part
of the return type while __attribute__((noreturn)) needs to be at the
end for an ObjC method. To make matters worse, even GCC versions that
accept noreturn don't allow it for an ObjC method. Thus, the only thing
that can be done is to always use __attribute__((noreturn)) for ObjC
methods using the OF_METHOD_NORETURN define.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: bac91ccede95f3f052337b11c967483136eb3c08d103555c19bcc40e8b093cf4
User & Date: js on 2014-05-14 20:45:00
Other Links: manifest | tags
Context
2014-05-14
21:09
Replace @compatibility_alias with #define for NS* check-in: ac1ae59c91 user: js tags: trunk
20:45
Add C11 noreturn check-in: bac91ccede user: js tags: trunk
20:28
Always use __foo__ instead of foo for attributes check-in: e35b10115e user: js tags: trunk
Changes