>From 28ee2afa64498f5e7e397dfc66e0a6c9bf339d65 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 3 Sep 2022 22:12:42 +0200 Subject: [PATCH 12/14] stdnoreturn: Document relation to C++. * doc/posix-headers/stdnoreturn.texi: Document FreeBSD problem. --- ChangeLog | 5 +++++ doc/posix-headers/stdnoreturn.texi | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index eb6a269b24..7316fb0f12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2022-09-03 Bruno Haible + + stdnoreturn: Document relation to C++. + * doc/posix-headers/stdnoreturn.texi: Document FreeBSD problem. + 2022-09-03 Bruno Haible sysexits: Add C++ tests. diff --git a/doc/posix-headers/stdnoreturn.texi b/doc/posix-headers/stdnoreturn.texi index f37228536c..3e1c5882db 100644 --- a/doc/posix-headers/stdnoreturn.texi +++ b/doc/posix-headers/stdnoreturn.texi @@ -22,6 +22,9 @@ MSVC/clang. Portability problems not fixed by Gnulib: @itemize @item +@code{} cannot be #included in C++ mode on some platforms: +FreeBSD 13.1. +@item @code{} should be #included before @samp{_Noreturn} is used. @item You cannot assume that @code{_Noreturn} is a reserved word; -- 2.34.1