… | |
… | |
357 | |
357 | |
358 | /* TODO http://msdn.microsoft.com/en-us/library/k6ktzx3s.aspx __declspec(noreturn) */ |
358 | /* TODO http://msdn.microsoft.com/en-us/library/k6ktzx3s.aspx __declspec(noreturn) */ |
359 | #if ECB_C11 || __IBMC_NORETURN |
359 | #if ECB_C11 || __IBMC_NORETURN |
360 | /* http://pic.dhe.ibm.com/infocenter/compbg/v121v141/topic/com.ibm.xlcpp121.bg.doc/language_ref/noreturn.html */ |
360 | /* http://pic.dhe.ibm.com/infocenter/compbg/v121v141/topic/com.ibm.xlcpp121.bg.doc/language_ref/noreturn.html */ |
361 | #define ecb_noreturn _Noreturn |
361 | #define ecb_noreturn _Noreturn |
|
|
362 | #elif ECB_CPP11 |
|
|
363 | #define ecb_noreturn [[noreturn]] |
|
|
364 | #elif _MSC_VER >= 1200 |
|
|
365 | #define ecb_noreturn __declspec (noreturn) |
362 | #else |
366 | #else |
363 | #define ecb_noreturn ecb_attribute ((__noreturn__)) |
367 | #define ecb_noreturn ecb_attribute ((__noreturn__)) |
364 | #endif |
368 | #endif |
365 | |
369 | |
366 | #if ECB_GCC_VERSION(4,3) |
370 | #if ECB_GCC_VERSION(4,3) |