This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]