This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/37374] "using" shadows declaration



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]