HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling (not) with gcc 2.8.0 and libg++ 2.8.0



Hello Peter,
I've had a go with gcc 2.8.0 on patch level 2, and am getting similar results.
Later the code is generating a compiler internal error which doesn't say
much abot 2.8.0

At 14:17 19/02/98 +1000, Peter Arnold wrote:
....
>SendFaxJob.c++:499: no matching function for call to
>`SendFaxClient::sendZData (int &, unsigned char (FaxClient::)(fxStr &,
>fxStr &), fxStr &, fxStr &)'
>FaxClient.h:273: candidates are: FaxClient::sendZData(int, unsigned char
>(FaxClient::*)(fxStr &, fxStr &), fxStr &, fxStr &)
.....

Somewhat unbelievably gcc is trying to pass the first argument by reference
rather than value?

The second argument is what is getting me, the sendZData method is being
passed the address of non-static class method(FaxClient::storeTemp()) which
i didnt think was possible.

There is a bunch of other stuff like this....

- Robert




Project hosted by iFAX Solutions