delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/03/03:54:31

Date: Mon, 3 Aug 1998 10:54:30 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: I Know Not <nobody AT nowhere DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Allegro Installation Problem
In-Reply-To: <mt1x1.1439$Wb1.1639186530@newsreader.digex.net>
Message-ID: <Pine.SUN.3.91.980803105402.632D-100000@is>
MIME-Version: 1.0

On Sun, 2 Aug 1998, I Know Not wrote:

> In file included from c:/djgpp/include/io.h:15,
>                          from src/allegro.c:25:
> c:/djgpp/include/sys/types.h:29: warning: redefinition of `size_t'
> c:/djgpp/include/stdlib.h:12 warning: `size_t' previously declared here
> c:/djgpp/include/sys/types.h:32: warning: `ssize_t' previously declared here
> In file included from src/allegro.c:31:
> c:/djgpp/include/dos.h:126: conflicting types for `os_major'
> c:/djgpp/include/stdlib.h:168: previous declaration of `os_major'

These messages all indicate that you are using stdlib.h that is not
the one which comes with DJGPP.  Unzip the original stdlib.h from
djdev201.zip, and these problems will go away.  (I would strongly
suggest to nuke the entire include directory and unzip it all from
djdev.)

How did you get to overwriting stdlib.h in the first place?

- Raw text -


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