www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/19/10:33:19

Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3567329@probe-2.acclaim-euro.net>
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: help : problems with allegro
Date: Fri, 19 Feb 1999 15:32:49 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1460.8)
Reply-To: djgpp AT delorie DOT com

JUTON.AGIER writes:
> When I try to compile allegro library, make resend :
>
> allegro.h: In function ftofix :
> In file included from src/internal.h:24,
> from src/allegro.c:34:
> allegro.h:2386: `errno' undeclared (first use in this function)

I don't understand how that error can happen unless there is something
really badly corrupted about your djgpp installation. The errno
variable is declared in the system header <errno.h>, which is included
by allegro.h at line 59. Do you have this include in your version of it?
If so, have a look at your djgpp errno.h file (in the djgpp/include dir),
because I think this must have been damaged in some way. My version of
it declares "extern int errno;" at line 15.


	Shawn Hargreaves.

- Raw text -


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