From 13a47610f12088e6bcf5a3ea90f049342035fbc9 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sun, 26 Oct 2008 09:31:44 +0100 Subject: [PATCH] doc/gnulib.texi (Header files): C++ fixes, based on Bruno's findings. --- ChangeLog | 5 +++++ doc/gnulib.texi | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8eb9366b9..8cea4bbb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-26 Simon Josefsson + + * doc/gnulib.texi (Header files): C++ fixes, based on Bruno's + findings. + 2008-10-25 Ben Pfaff Bruno Haible diff --git a/doc/gnulib.texi b/doc/gnulib.texi index e98f124c4..1d9cf600f 100644 --- a/doc/gnulib.texi +++ b/doc/gnulib.texi @@ -200,9 +200,10 @@ your header file as something available for C programs only, or for C and C++ programs alike. Note that putting a @code{#include} in an @code{extern "C" @{ ... @}} -block yields a syntax error in C++ mode on some platforms. For this -reason, it is recommended to place the @code{#include} before the -@code{extern "C"} block. +block yields a syntax error in C++ mode on some platforms (e.g., glibc +systems with g++ v3.3 to v4.2, AIX, OSF/1, IRIX). For this reason, it +is recommended to place the @code{#include} before the @code{extern +"C"} block. @subheading Include ordering -- 2.11.0