aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpp.texi
diff options
context:
space:
mode:
authorMartin v. Löwis <loewis@informatik.hu-berlin.de>2000-04-11 07:20:47 +0000
committerMartin v. Löwis <loewis@gcc.gnu.org>2000-04-11 07:20:47 +0000
commit34527c47b633878689fac74c64a6279a27a96a58 (patch)
treee6d0d714d436cec56c75f56593ac442f9f050836 /gcc/cpp.texi
parent69942c205184e7d67dfff495466556a617625960 (diff)
downloadgcc-34527c47b633878689fac74c64a6279a27a96a58.zip
gcc-34527c47b633878689fac74c64a6279a27a96a58.tar.gz
gcc-34527c47b633878689fac74c64a6279a27a96a58.tar.bz2
extend.texi: ISO C99 is not a draft anymore.
* extend.texi: ISO C99 is not a draft anymore. * invoke.texi: ISO C++ is not a draft anymore. * cpp.texi: __cplusplus is required by the ISO standard. From-SVN: r33073
Diffstat (limited to 'gcc/cpp.texi')
-rw-r--r--gcc/cpp.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/cpp.texi b/gcc/cpp.texi
index e0442a1..700d637 100644
--- a/gcc/cpp.texi
+++ b/gcc/cpp.texi
@@ -1036,10 +1036,11 @@ C++.
@item __cplusplus
@findex __cplusplus
-The draft ANSI standard for C++ used to require predefining this
-variable. Though it is no longer required, GNU C++ continues to define
-it, as do other popular C++ compilers. You can use @samp{__cplusplus}
-to test whether a header is compiled by a C compiler or a C++ compiler.
+The ISO standard for C++ requires predefining this variable. You can
+use @samp{__cplusplus} to test whether a header is compiled by a C
+compiler or a C++ compiler. The compiler currently uses a value of
+@samp{1}, instead of the value @samp{199711L}, which would indicate
+full conformance with the standard.
@item __STRICT_ANSI__
@findex __STRICT_ANSI__