On Tuesday 07 January 2003 18:44, PhiHo Hoang wrote:
> $ gcc -O2 -DDATE='"07jan2003"' -mno-cygwin bigforth.c linker.S -o
> forthker.exe
> In file included from /usr/include/w32api/objbase.h:57,
>                  from /usr/include/w32api/ole2.h:9,
>                  from /usr/include/w32api/windows.h:108,
>                  from bigforth.c:15:
> /usr/include/w32api/wtypes.h:97: parse error before string constant
> In file included from /usr/include/w32api/objbase.h:59,
>                  from /usr/include/w32api/ole2.h:9,
>                  from /usr/include/w32api/windows.h:108,
>                  from bigforth.c:15:
> /usr/include/w32api/objidl.h:247: parse error before string constant
> /usr/include/w32api/objidl.h:321: parse error before string constant
> /usr/include/w32api/objidl.h:344: parse error before "cadate"
> /usr/include/w32api/objidl.h:353: parse error before '}' token
> /usr/include/w32api/objidl.h:894: parse error before "PROPVARIANT"
> /usr/include/w32api/objidl.h:895: parse error before "PROPVARIANT"

I suppose "DATE" is used within these include files. You should change DATE in 
bigforth.c to something else (e.g. VERSION_DATE), and also in the invocation 
of GCC.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to