Only microsoft compiler, which can be correctly tested with #ifdef _MSC_VER) has __declspec(noreturn)