This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
found a workaround
- From: thomas at koeller dot dyndns dot org
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org,nobody at gcc dot gnu dot org, thomas at koeller dot dyndns dot org
- Date: Wed, 1 May 2002 23:38:31 +0200
- Subject: found a workaround
I found a way to work around this bug in the meantime: the pointer-to-member
part of the function call has to be put in parentheses, like this:
(c.*pf)();
I still think it's a bug, parentheses should not be required here.
Thomas