On 01/23/2018 01:27 PM, Mike Stump wrote:
On Jan 23, 2018, at 4:18 AM, Nathan Sidwell wrote:
As discussed (https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01778.html) this
patch deprecates the ARM-era for scope.
The code gives:
if you use %<-fpermissive%> G++ will accept your code
I thin
On Jan 23, 2018, at 4:18 AM, Nathan Sidwell wrote:
>
> As discussed (https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01778.html) this
> patch deprecates the ARM-era for scope.
The code gives:
if you use %<-fpermissive%> G++ will accept your code
I think we should no longer recommend a depreca
As discussed (https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01778.html)
this patch deprecates the ARM-era for scope.
a) in c++98 mode with -fpermissive, there's now a deprecation note when
we fix up something like
for (int i = ...) {}
... i ... // out of scope use of i
b) -fno-for-scope