Compiler version: Pelles C for Windows, Version 7.00.350 (Win64) under Windows 7 Ultimate 64 bits
When I compile the attached source file "noreturn_bug.c", I get the errors in the attached "noreturn_bug.log".
Reversing the order of the #include directives avoids the problem (and lets me use the "noreturn" macro).
For quick reference, the source file looks like:
#include <stdnoreturn.h>
#include <stdlib.h>
int main(void) {
}
and the error log starts with:
Building noreturn_bug.obj.
C:\Program Files\PellesC\Include\stdlib.h(84): error #2001: Syntax error: expected ')' but found '_Noreturn'.
C:\Program Files\PellesC\Include\stdlib.h(84): warning #2099: Missing type specifier; assuming 'int'.
C:\Program Files\PellesC\Include\stdlib.h(84): error #2014: Empty declaration.
C:\Program Files\PellesC\Include\stdlib.h(84): error #2001: Syntax error: expected ';' but found ')'.