On 3/26/2011 2:51 PM, bearophile wrote:
This seems useful: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.<
D already does this.
When an identifier is not found in the current scope, G++ now offers suggestions about which identifier might have been intended.
and this.