www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/03/22:28:08

From: "Andrew R. Gillett" <arg AT whangomatic DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: implicit declaration error using allegro
Date: Thu, 4 Nov 1999 00:41:02 -0000
Organization: www.release-dates.co.uk
Lines: 14
Message-ID: <MPG.128ae6753f5e10b598b52a@news.freeserve.net>
References: <232U3.25$t8 DOT 29 AT testbox>
NNTP-Posting-Host: modem-57.spotted-trigger.dialup.pol.co.uk
X-Trace: news4.svr.pol.co.uk 941676096 11750 62.137.47.57 (4 Nov 1999 00:41:36 GMT)
NNTP-Posting-Date: 4 Nov 1999 00:41:36 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: MicroPlanet Gravity v2.20.1575
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In comp.os.msdos.djgpp, Justin White wrote:
> when compiling a .cpp file with the init_allegro() function in it, gcc gives
> me the error "implicit declaration of function 'int init_allegro(...)'".
> what exactly does this mean? i've compiled the libraries and have them
> linked into the main .cpp file. all the test programs work fine. i'm using
> DFE95 3.2 as an IDE, but i also get this error if i export to a makefile and
> run make seperately

It's allegro_init(), not init_allegro().

-- 
Andrew Gillett      http://argnet.fatal-design.com/     ICQ: See homepage

   long double double_long;

- Raw text -


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