Created attachment 27318 [details] testcase With gcc 4.7 and -std=c++11, the 'using' statement fails to bring in a function from the base class into the current class. This is useful to prevent hiding. Error message: base.cpp:12:19: error: type ‘A’ is not a base type for type ‘A’ Workaround: Create a new member function and explicitly call the base class function. Versions tested: Arch gcc (GCC) 4.7.0 20120114 (prerelease) gcc-4.7 (Debian 4.7.0-3) 4.7.0
Fabien, is this a dup of one of the other "using" regressions?
(In reply to comment #1) > Fabien, is this a dup of one of the other "using" regressions? Definitely, this is a duplicate, thanks. *** This bug has been marked as a duplicate of bug 52841 ***