Xggi/glide

Suhaib M. Siddiqi Ssiddiqi@InspirePharm.Com
Wed Jul 14 17:02:00 GMT 1999


> >                  from cfbpntwin.c:64:
> >
> c:/cygnus/CYGWIN~4/H-I586~1/bin/../lib/gcc-lib/i586-cygwin32/egcs-
> 2.91.66/..
> > /../
> > ../../i586-cygwin32/include/stdlib.h:46: parse error before `int'
> > make[5]: *** [cfbpntwin.o] Error 1
> >
>
> Line 46 declares a function named abs, and it might be that there is an
> existing abs macro when the compiler sees it and croaks. It really is
> useful to look at the preprocessed file and see what happens there after
> pre-processing.
>
> Regards,
> Mumit
>
>

Mumit,

Thanks.  Actually problem exsists in the recent snapshots too.  i tried a
recent
snap shot and in that case the number of line moved from 46 to 51.  If I
compile with -O2 flag
it works, but with -g flag it gives a parse error.  The code compiled with
optimization
after doing changes over the weekend, is doing core dumps.  I need to get
everything compiled
with -g so I can debug it.  I forwarding this message to list, perhaps
someone else
on Xfree project also may have notice this problem.

Attached is the --save-temps file and code.

Thansk for your help.
Suhaib


More information about the Cygwin-xfree mailing list