On Tue, Mar 15, 2011 at 6:24 PM, Martin Rubey <
[email protected]> wrote:

> I just tried to compile ecl from cvs, but unfortunately it complained
> again:
>
>
> if test -f ../CROSS-DPP ; then ../CROSS-DPP
> /cygdrive/d/ecl-cvs/src/c/numbers/co
> s.d tmp.c ; else ./dpp.exe /cygdrive/d/ecl-cvs/src/c/numbers/cos.d tmp.c ;
> fi
> dpp: /cygdrive/d/ecl-cvs/src/c/numbers/cos.d -> tmp.c
> gcc -DECLDIR="\"/usr/local/lib/ecl-11.1.1\"" -I.
> -I/cygdrive/d/ecl-cvs/build -I/
> cygdrive/d/ecl-cvs/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY    -g -O2
>  -Dcygw
> in -c -o numbers/cos.o tmp.c
> In file included from /cygdrive/d/ecl-cvs/build/ecl/impl/math_fenv.h:68,
>                 from /cygdrive/d/ecl-cvs/build/ecl/impl/math_dispatch.h:20,
>                 from /cygdrive/d/ecl-cvs/src/c/numbers/cos.d:21:
> /usr/include/fenv.h:52: error: redefinition of `struct _fenv_t'
> /usr/include/fenv.h:53: error: redefinition of `struct _fpu_env_info'
>

Seems that the new cygwin headers are broken -- they are not protected
against double inclusion --. I hope I have managed to fix it properly. I
still need to conduct testing of the uploaded patch.

Juanjo

-- 
Instituto de FĂ­sica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Ecls-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to