This is the mail archive of the
cygwin-xfree@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Xggi/glide
- To: "Mumit Khan" <khan@xraylith.wisc.edu>
- Subject: RE: Xggi/glide
- From: "Suhaib M. Siddiqi" <Ssiddiqi@InspirePharm.Com>
- Date: Wed, 14 Jul 1999 14:42:26 -0400
- Cc: "Cygwin-Xfree@Sourceware.Cygnus.Com" <cygwin-xfree@sourceware.cygnus.com>
> > 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
cfbpntwin.c
cfbpntwin.i
cfbpntwin.s