]> git.notmuchmail.org Git - notmuch/commit
Provide a NORETURN_ATTRIBUTE macro similar to PRINTF_ATTRIBUTE
authorJustus Winter <4winter@informatik.uni-hamburg.de>
Mon, 24 Sep 2012 15:21:16 +0000 (17:21 +0200)
committerDavid Bremner <bremner@debian.org>
Thu, 27 Sep 2012 15:50:22 +0000 (12:50 -0300)
commit25d97b97914e2bddc1b1d82ac5ebbe8608ad8e74
tree06aa8feb57533ac964f819722576a2f79db1e0ec
parentda12807734cc90d8bf78ce5814636aaf5a18827b
Provide a NORETURN_ATTRIBUTE macro similar to PRINTF_ATTRIBUTE

This attribute is understood by gcc since version 2.5. clang provides
support for testing for function attributes using __has_attribute. For
other compilers this macro evaluates to the empty string.

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
compat/function-attributes.h