Mail Archives: djgpp/1998/08/03/03:54:31
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 -