[C++ PATCH] Deprecate ARM-era for scopes

Nathan Sidwell nathan@acm.org
Tue Jan 23 19:09:00 GMT 2018


On 01/23/2018 01:27 PM, Mike Stump wrote:
> On Jan 23, 2018, at 4:18 AM, Nathan Sidwell <nathan@acm.org> 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 deprecated feature without at least stating it is deprecated in the hint?  Not too important, as if they actually use it, the compiler will spit out:
> 
>    this flexibility is deprecated and will be removed
> 
> if someone tried to use it, but thought I might mention it.

yeah, I hemmed and hawed about that, but given how bitrotted those 
diagnostics had become punted.

nathan

-- 
Nathan Sidwell



More information about the Gcc-patches mailing list