This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


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

Re: Ptrs to functions (gcc vs. egcs)


On Sat, 27 Mar 1999, Mike wrote:

> On 27 Mar 1999, Jason Merrill wrote:
> 
> > Just change
> > 
> >   ptr();
> > 
> > to
> > 
> >   this->*ptr();
> > 
> > Jason
> > 
> 
> This doesn't seem to fix it. Same error message results.

I've tended to us:

	this->(*ptr)();

Which might or might not work for you.

	-B