Mail Archives: djgpp/1998/06/02/19:15:28
In comp.os.msdos.djgpp, article <3573548e DOT 23288993 AT news DOT eznet DOT net>, Ryan
Twitchell (ptwitche AT eznet DOT net) wrote:
> I'm getting an interesting error in Allegro. I'm trying to call
> Allegro functions (textout, text_length, etc.) with pointers to
> variables in GUI dialogs as some of the arguments. The variables in
> the dialogs are of different types than the types specified in the
> function prototypes. The error messages are something like: "no
> matching function call to 'textout(BITMAP *&, FONT *&, void *&, int &,
> int &, int &)"
Yeah, I had this problem when I upgraded myself from C to C++.
Unfortunately I can't remember how I fixed it - if I managed to fix it at
all :(
- Raw text -