delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/02/19:15:28

From: a DOT gillett AT virgin DOT net (Andrew R. Gillett)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: pointers 'n stuff in Allegro
Date: Tue, 2 Jun 1998 23:10:39 +0100
Organization: Virgin Net News Service
Lines: 14
Message-ID: <MPG.fde88b8c38fe6ee989704@news.virgin.net>
References: <3573548e DOT 23288993 AT news DOT eznet DOT net>
NNTP-Posting-Host: 194.168.68.127
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019