Include the names of the surrounding classes themselves in the lookup for Foo::, to make it possible to adress hidden variables in the scopes of surrounding classes, e.g: class X { int i; void create (int i) {X::i = i;} } Since this change is mostly but not completely compatible with the earlier lookup rule, it's disabled in 7.2 compatibility mode. Rev: src/language.yacc:1.275 Rev: src/testsuite.in:1.508