This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14738] [3.3 regression] ICE on use of bound member pointers
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2004 01:46:32 -0000
- Subject: [Bug c++/14738] [3.3 regression] ICE on use of bound member pointers
- References: <20040326000406.14738.val@digiways.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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