> On Apr 26, 2016, at 5:56 PM, Trevor Saunders <tbsau...@tbsaunde.org> wrote:
> So pre ISO C++ gave the second decl the same scope as the first one?
> that's... exciting ;)

So, all the code in the world that is meant to be ported up the an ANSI 
standard for C++ has already been so ported, we could remove all notion that 
the scoping changed from the warnings given new C++ (any ISO C++ and later).  
The old semantics and warning can remain for users that select the old 
languages.  This means that in 5 years, once the new compiler is released 
distributed, and everyone has it in their OS distribution, we could _then_ not 
get the warning anymore and we could then write code that way.  We could also 
maybe turn the warning off, with -ffor-scope, if that works.  The benefit of 
that is we could then do that now and start using that style of code now.  We 
should excise that warning in any event.

Reply via email to