Mail Archives: djgpp/2001/01/04/14:53:22
> From: "Florian X" <dos DOT fire AT aon DOT at>
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 4 Jan 2001 16:19:29 +0100
>
> I got this error
> **********
> E:\sealsrc>gcc -c mouse.c -o mouse.o
> In file included from object.h:135,
> from mouse.h:35,
> from mouse.c:35:
> filter.h:60: warning: `#ifdef' argument starts with a digit
> In file included from allegro.h:56,
> from alltogrx.h:35,
> from mouse.h:36,
> from mouse.c:35:
> e:/djgpp/include/stdlib.h:44: parse error before `int'
> e:/djgpp/include/stdlib.h:56: parse error before `long'
> **********
The two lines from stdlib which the compiler complains about define
prototypes of `abs' and `labs' functions. I'm guessing that one of
the headers included before that, or the source before inclusion of
stdlib.h, defined macros or typedefs with the same names.
If you cannot figure this out, invoke the compile with the -save-temps
switch and look at the .ii file: you will see what the compiler gets
in stdlib.h, and I'm sure you will see the reason right away.
- Raw text -