Internal compiler error 40: pointer to member function syntax

Alexandre Oliva oliva@dcc.unicamp.br
Thu Jan 8 13:14:00 GMT 1998


Phil Austin writes:

> Thanks, that works once I add the parentheses:

> (this->*useMethod)(y,ts,dt);

That's right, they are required for method invocation because
parentheses have higher precedence than ->*.  Sorry for spreading
misinformation.  :-)

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



More information about the Gcc-bugs mailing list