Commit 34527c47 by Martin v. Löwis Committed by Martin v. Löwis

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
parent 69942c20
2000-04-11 Martin v. Lwis <loewis@informatik.hu-berlin.de> 2000-04-11 Martin v. Lwis <loewis@informatik.hu-berlin.de>
* 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.
* extend.texi (-fthis-is-variable): Undocument. * extend.texi (-fthis-is-variable): Undocument.
* flags.h (warn_template_debugging): Remove declaration. * flags.h (warn_template_debugging): Remove declaration.
* gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable, * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
......
...@@ -1036,10 +1036,11 @@ C++. ...@@ -1036,10 +1036,11 @@ C++.
@item __cplusplus @item __cplusplus
@findex __cplusplus @findex __cplusplus
The draft ANSI standard for C++ used to require predefining this The ISO standard for C++ requires predefining this variable. You can
variable. Though it is no longer required, GNU C++ continues to define use @samp{__cplusplus} to test whether a header is compiled by a C
it, as do other popular C++ compilers. You can use @samp{__cplusplus} compiler or a C++ compiler. The compiler currently uses a value of
to test whether a header is compiled by a C compiler or a C++ compiler. @samp{1}, instead of the value @samp{199711L}, which would indicate
full conformance with the standard.
@item __STRICT_ANSI__ @item __STRICT_ANSI__
@findex __STRICT_ANSI__ @findex __STRICT_ANSI__
......
...@@ -3094,7 +3094,7 @@ meaning inside a function, since the preprocessor does not do anything ...@@ -3094,7 +3094,7 @@ meaning inside a function, since the preprocessor does not do anything
special with the identifier @code{__FUNCTION__}. special with the identifier @code{__FUNCTION__}.
GNU CC also supports the magic word @code{__func__}, defined by the GNU CC also supports the magic word @code{__func__}, defined by the
draft standard for C-99: ISO standard C-99:
@display @display
The identifier @code{__func__} is implicitly declared by the translator The identifier @code{__func__} is implicitly declared by the translator
......
...@@ -1088,7 +1088,7 @@ This option is deprecated. ...@@ -1088,7 +1088,7 @@ This option is deprecated.
@itemx -fno-for-scope @itemx -fno-for-scope
If -ffor-scope is specified, the scope of variables declared in If -ffor-scope is specified, the scope of variables declared in
a @i{for-init-statement} is limited to the @samp{for} loop itself, a @i{for-init-statement} is limited to the @samp{for} loop itself,
as specified by the draft C++ standard. as specified by the C++ standard.
If -fno-for-scope is specified, the scope of variables declared in If -fno-for-scope is specified, the scope of variables declared in
a @i{for-init-statement} extends to the end of the enclosing scope, a @i{for-init-statement} extends to the end of the enclosing scope,
as was the case in old versions of gcc, and other (traditional) as was the case in old versions of gcc, and other (traditional)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment