diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-08 13:24:42 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-08 13:24:42 +0000 |
commit | 49dc2bdc682b9c0d7323fcdb9ad59f5aa17e1545 (patch) | |
tree | 2b08c23bd335a02ec50eaa3b6b75475dac18c95d /gcc/doc/cpp.texi | |
parent | bf4b25d781bef20b214f70388857c1e4235fb506 (diff) | |
download | gcc-49dc2bdc682b9c0d7323fcdb9ad59f5aa17e1545.tar.gz |
2012-01-08 Jonathan Wakely <jwakely.gcc@gmail.com>
* doc/cpp.texi (Predefined Macros): __STRICT_ANSI__ is defined
for -std=c++98 and -std=c++11 too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182991 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/cpp.texi')
-rw-r--r-- | gcc/doc/cpp.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index 230d32bdfc0..658ab98be01 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -2020,8 +2020,8 @@ testing @code{@w{(__GNUC__ && __cplusplus)}}. @item __STRICT_ANSI__ GCC defines this macro if and only if the @option{-ansi} switch, or a -@option{-std} switch specifying strict conformance to some version of ISO C, -was specified when GCC was invoked. It is defined to @samp{1}. +@option{-std} switch specifying strict conformance to some version of ISO C +or ISO C++, was specified when GCC was invoked. It is defined to @samp{1}. This macro exists primarily to direct GNU libc's header files to restrict their definitions to the minimal set found in the 1989 C standard. |