From b6784fa3defb141f5bb5cb91aae6da4e303acb84 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 11 Dec 2019 12:36:50 +0100 Subject: [PATCH] doc: Document that ISO C or POSIX substitutes are supported in C++ mode. * doc/gnulib-intro.texi (Various Kinds of Modules): Document that ISO C and POSIX substitutes are supported in C++ mode. * NEWS: Likewise. --- ChangeLog | 7 +++++++ NEWS | 6 ++++++ doc/gnulib-intro.texi | 5 +++++ 3 files changed, 18 insertions(+) diff --git a/ChangeLog b/ChangeLog index a8bcfe57da..86e3c82804 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2019-12-11 Bruno Haible + + doc: Document that ISO C or POSIX substitutes are supported in C++ mode. + * doc/gnulib-intro.texi (Various Kinds of Modules): Document that ISO C + and POSIX substitutes are supported in C++ mode. + * NEWS: Likewise. + 2019-12-11 Bruno Haible stddef: Fix compilation error in C++ mode on MSVC. diff --git a/NEWS b/NEWS index 30bb22361b..8085c353e6 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,12 @@ Important general notes Date Modules Changes +2019-12-11 Support for These modules are now supported in C++ mode as well. + ISO C or POSIX This means, while the autoconfiguration uses the C + functions compiler, the resulting header files and function + substitutes can be used with a matching C++ compiler + as well. + 2019-02-14 gnulib-tool If you use multiple --local-dir options at once: The first one now has the highest priority, not the last one. diff --git a/doc/gnulib-intro.texi b/doc/gnulib-intro.texi index 26f8cb816d..5d75c9bb14 100644 --- a/doc/gnulib-intro.texi +++ b/doc/gnulib-intro.texi @@ -323,6 +323,11 @@ with @samp{.in} inserted before the @samp{.h} extension, so that on systems which do provide a correct header file the system's one is used. +The modules in this category are supported in C++ mode as well. This +means, while the autoconfiguration uses the C compiler, the resulting +header files and function substitutes can be used with a matching C++ +compiler as well. + @subsection Enhancements of ISO C or POSIX functions These are sometimes POSIX functions with GNU extensions also found in -- 2.39.5