bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] inttypes, stdint: add C++11 support


From: Paul Eggert
Subject: Re: [PATCH] inttypes, stdint: add C++11 support
Date: Tue, 13 Dec 2011 15:34:06 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

No further comment, so I pushed that patch into gnulib,
with the following further changes to document it:

* doc/posix-headers/inttypes.texi (inttypes.h):
* doc/posix-headers/stdint.texi (stdint.h): Document this.
diff --git a/doc/posix-headers/inttypes.texi b/doc/posix-headers/inttypes.texi
index c1720e5..6ef87bb 100644
--- a/doc/posix-headers/inttypes.texi
+++ b/doc/posix-headers/inttypes.texi
@@ -22,6 +22,10 @@ NetBSD 3.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 
5.1, BeOS.
 The declarations of @code{strtoimax} and @code{strtoumax} are missing on some
 platforms:
 OpenBSD 3.8, AIX 4.3.2, AIX 5.1 (missing only @code{strtoumax}), OSF/1 5.1.
address@hidden
+On some hosts that predate C++11, when using C++ one must define
address@hidden to make visible the declarations of format
+macros such as @code{PRIdMAX}.
 @end itemize
 
 Portability problems not fixed by Gnulib:
diff --git a/doc/posix-headers/stdint.texi b/doc/posix-headers/stdint.texi
index 3730166..be19269 100644
--- a/doc/posix-headers/stdint.texi
+++ b/doc/posix-headers/stdint.texi
@@ -27,6 +27,12 @@ HP-UX 11.23.
 The macros @code{WCHAR_MIN} and @code{WCHAR_MAX} are not defined in
 @code{<stdint.h>} (only in @code{<wchar.h>}) on some platforms:
 Dragonfly, BSDI.
address@hidden
+On some hosts that predate C++11, when using C++ one must define
address@hidden to make visible the definitions of
+constant macros such as @code{INTMAX_C}, and one must define
address@hidden to make visible the definitions of limit
+macros such as @code{INTMAX_MAX}.
 @end itemize
 
 Portability problems not fixed by Gnulib:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]