summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-11-26 17:06:46 +0100
committerBruno Haible <bruno@clisp.org>2020-11-26 17:06:46 +0100
commita6d9eef5cacdc110bc3f03d379dff52434048e8e (patch)
tree06a7aff7995818761d82f64d565b8dbf326287cf
parentaf00772324533eec56696f3e0ee23136323ea5f6 (diff)
downloadgnulib-a6d9eef5cacdc110bc3f03d379dff52434048e8e.tar.gz
gnulib-a6d9eef5cacdc110bc3f03d379dff52434048e8e.tar.bz2
raise-tests: Fix compilation error on MSVC (regression 2020-11-25).
* modules/raise-tests (Depends-on): Add unistd. * doc/posix-functions/_exit.texi: Mention the 'unistd' module.
-rw-r--r--ChangeLog6
-rw-r--r--doc/posix-functions/_exit.texi6
-rw-r--r--modules/raise-tests1
3 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 49d4ed1046..5048856ecb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-11-26 Bruno Haible <bruno@clisp.org>
+
+ raise-tests: Fix compilation error on MSVC (regression 2020-11-25).
+ * modules/raise-tests (Depends-on): Add unistd.
+ * doc/posix-functions/_exit.texi: Mention the 'unistd' module.
+
2020-11-25 Jim Meyering <meyering@fb.com>
setlocale-tests: do not trigger gcc's -Wanalyzer-possible-null-argument
diff --git a/doc/posix-functions/_exit.texi b/doc/posix-functions/_exit.texi
index 93d7c4f20d..8d96a52776 100644
--- a/doc/posix-functions/_exit.texi
+++ b/doc/posix-functions/_exit.texi
@@ -4,10 +4,14 @@
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/_exit.html}
-Gnulib module: ---
+Gnulib module: unistd
Portability problems fixed by Gnulib:
@itemize
+@item
+This function is declared in a different header file (namely, @code{<stdlib.h>})
+on some platforms:
+mingw, MSVC 14.
@end itemize
Portability problems not fixed by Gnulib:
diff --git a/modules/raise-tests b/modules/raise-tests
index 257f9e3389..4804cad38d 100644
--- a/modules/raise-tests
+++ b/modules/raise-tests
@@ -4,6 +4,7 @@ tests/signature.h
tests/macros.h
Depends-on:
+unistd
configure.ac:

Return to:

Send suggestions and report system problems to the System administrator.