------- Comment #5 from Simon80 at gmail dot com 2006-04-19 04:54 ------- (In reply to comment #4) > This is not a bug. While the name in a function call is looked up from > inside the class, the name of a member function is looked up in the > global scope. There, the member in question here is inaccessible. > > W. >
If that were the case, wouldn't the program in comment #3 fail as well? or am I misunderstanding something? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26838