Commit 5b2b92c5 by Nathan Sidwell Committed by Nathan Sidwell

[C++ PATCH] Deprecate -ffriend-injection

https://gcc.gnu.org/ml/gcc-patches/2018-02/msg01020.html
	* doc/extend.texi (Backwards Compatibility): Americanize 'behaviour'.

From-SVN: r257755
parent aaec81f1
2018-02-16 Nathan Sidwell <nathan@acm.org>
* doc/extend.texi (Backwards Compatibility): Americanize 'behaviour'.
2018-02-16 Carl Love <cel@us.ibm.com> 2018-02-16 Carl Love <cel@us.ibm.com>
* config/rs6000/rs6000-builtin.def: Add BU_P8V_VSX_2 macro definition. * config/rs6000/rs6000-builtin.def: Add BU_P8V_VSX_2 macro definition.
......
...@@ -23882,13 +23882,13 @@ deprecated. @xref{Deprecated Features}. ...@@ -23882,13 +23882,13 @@ deprecated. @xref{Deprecated Features}.
If a variable is declared at for scope, it used to remain in scope If a variable is declared at for scope, it used to remain in scope
until the end of the scope that contained the for statement (rather until the end of the scope that contained the for statement (rather
than just within the for scope). The deprecated than just within the for scope). The deprecated
@option{-fno-for-scope} option enables this non-standard behaviour. @option{-fno-for-scope} option enables this non-standard behavior.
Without the option, G++ retains this, but issues a warning, if such a Without the option, G++ retains this, but issues a warning, if such a
variable is accessed outside the for scope. variable is accessed outside the for scope.
The behaviour is deprecated, only available with @option{-std=c++98} The behavior is deprecated, only available with @option{-std=c++98}
@option{-std=gnu++98} languages and you must use the @option{-std=gnu++98} languages and you must use the
@option{-fpermissive} option to enable it. The behaviour will be @option{-fpermissive} option to enable it. The behavior will be
removed. removed.
@item Friend Injection @item Friend Injection
......
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