+2020-08-14 Bruno Haible <bruno@clisp.org>
+
+ stdnoreturn: Work around problem with MSVC/clang.
+ * m4/stdnoreturn.m4 (gl_STDNORETURN_H): On native Windows, include some
+ system header after <stdnoreturn.h>.
+ * doc/posix-headers/stdnoreturn.texi: Mention the issue.
+
2020-08-14 Bruno Haible <bruno@clisp.org>
utime-h: Generate an utime.h file always.
@item
This header file is missing on many platforms:
FreeBSD 6.4, NetBSD 7.1, OpenBSD 3.8, Minix 3.3.0, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11.3, Cygwin 2.9.0, mingw, MSVC 14, Android 9.0.
+@item
+This file conflicts with some system header files, such as @code{<stdlib.h>} and
+@code{<process.h>}, on some platforms:
+MSVC/clang.
@end itemize
Portability problems not fixed by Gnulib:
[AC_LANG_PROGRAM(
[[#include <stdlib.h>
#include <stdnoreturn.h>
+ #if defined _WIN32 && !defined __CYGWIN__
+ # include <process.h>
+ #endif
/* Do not check for 'noreturn' after the return type.
C11 allows it, but it's rarely done that way
and circa-2012 bleeding-edge GCC rejects it when given