[Bug c++/37374] "using" shadows declaration
chris dot fairles at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 4 17:35:00 GMT 2008
------- Comment #1 from chris dot fairles at gmail dot com 2008-09-04 17:33 -------
mainline compiles first snippet fine. second gives:
error: 'void N2::f(int)' should have been declared inside 'N2'
For what its worth msvc 9 and Comeau C/C++ 4.3.10.1 compile both snippets w/o
error.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37374
More information about the Gcc-bugs
mailing list