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++/14738] [3.3 regression] ICE on use of bound member pointers


------- Additional Comments From giovannibajo at libero dot it  2004-03-26 01:46 -------
Well, the error message is less than optimal. With Comeau, I get:

line 7: error: a pointer to a bound function may only be used to call the 
function
        Wild Guess: You're calling a member function and forgot the ()'s
        foo(a->*x);

which is times better. If Gaby doesn't want this fixed on 3.3, we can still 
keep it as a request for diagnostic enhancement.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14738


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