GCC 4.6

Walter Bright newshound2 at digitalmars.com
Sat Oct 30 16:43:12 PDT 2010


bearophile wrote:
>> The -Wshadow option now warns if a local variable or type declaration shadows another
>> type in C++. Note that the compiler will not warn if a local variable shadows a
>> struct/class/enum, but will warn if it shadows an explicit typedef.
> 
> This seems interesting.

Yeah, D has had that for 10 years now.


More information about the Digitalmars-d mailing list