New KDE Macro for to wrap the noreturn attribute
Review Request #103832 - Created Jan. 31, 2012 and discarded
This diff adds a new macro KDE_NO_RETURN that wraps the noreturn attribute which is enabled differently based on the compiler.
did a test compile
MinGW accepts both "__attribute__" and "__declspec" so we maybe could ifdef the platform instead of compiler (consistently with what's being done with KDE_IMPORT / KDE_EXPORT macros) Also on MinGW I see the opposite effect, it only shows the warning when using the attribute (both ways): noret.c: In function 'fatal': noret.c:3: warning: 'noreturn' function does return (tested using mingw-w32, not mingw.org)