<font size="4">on window xp sp2,<br>cvs get lastest ecl code,<br></font><pre>cvs.exe -z3 -d:pserver:anonymous@ecls.cvs.sourceforge.net:/cvsroot/ecls<br> checkout ecl</pre><br><font size="4">compile option:<br><br>make clean;./configure --prefix=/usr/local --enable-threads --enable-unicode ;make<br>
<br>get error:<br>rm -f tmp.c<br>if test -f ../CROSS-DPP ; then ../CROSS-DPP /temp/ecl/ecl/src/c/package.d tmp.c<br>; else ./dpp.exe /temp/ecl/ecl/src/c/package.d tmp.c ; fi<br>dpp: d:/temp/ecl/ecl/src/c/package.d -> tmp.c<br>
gcc -DECLDIR="\"/usr/local/lib/ecl-10.7.1\"" -I. -Id:/temp/ecl/ecl/build -I/temp<br>/ecl/ecl/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY -g -O2 -g -O2 -D_THREAD_<br>SAFE -Dmingw32 -c -o package.o tmp.c<br>
d:/temp/ecl/ecl/src/c/package.d: In function 'ecl_intern':<br>d:/temp/ecl/ecl/src/c/package.d:368:11: error: expected ';' before ':' token<br>d:/temp/ecl/ecl/src/c/package.d:395:22: error: expected identifier or '*' before<br>
numeric constant<br>d:/temp/ecl/ecl/src/c/package.d: In function 'cl_export2':<br>d:/temp/ecl/ecl/src/c/package.d:539:11: error: expected ';' before ':' token<br>d:/temp/ecl/ecl/src/c/package.d:563:22: error: expected identifier or '*' before<br>
numeric constant<br>make[2]: *** [package.o] Error 1<br>make[2]: Leaving directory `/temp/ecl/ecl/build/c'<br>make[1]: *** [libeclmin.a] Error 2<br>make[1]: Leaving directory `/temp/ecl/ecl/build'<br>make: *** [all] Error 2<br>
<br><br>mingw is latest mingw-get-inst-20101030.exe is gcc 4.5.0.<br><br>complie 10.4.1 is ok.<br><br>thanks.<br><br></font>