[Ecls-list] Building CVS in MSVC Express 2005

Samium Gromoff _deepfire at feelingofgreen.ru
Tue Apr 22 18:16:35 UTC 2008


Good day folks,

I've attempted to build recent CVS in MSVC Express 2005,
and it went down like that:


        cl -c -MD -EHsc -DGC_DLL -nologo -DGC_BUILD -DECL_API="__declspec(dllexp
ort)" -I./ -I../ -I..\..\src\c -I..\..\src/gc/include  -I..\..\src/gc/include/pr
ivate /Fonum_sfun.obj num_sfun.c
num_sfun.c
../ecl/internal.h(265) : warning C4005: 'expf' : macro redefinition
        c:\msvs8\vc\include\math.h(300) : see previous definition of 'expf'
../ecl/internal.h(268) : warning C4005: 'logf' : macro redefinition
        c:\msvs8\vc\include\math.h(303) : see previous definition of 'logf'
../ecl/internal.h(271) : warning C4005: 'sqrtf' : macro redefinition
        c:\msvs8\vc\include\math.h(309) : see previous definition of 'sqrtf'
../ecl/internal.h(274) : warning C4005: 'sinf' : macro redefinition
        c:\msvs8\vc\include\math.h(307) : see previous definition of 'sinf'
../ecl/internal.h(277) : warning C4005: 'cosf' : macro redefinition
        c:\msvs8\vc\include\math.h(298) : see previous definition of 'cosf'
../ecl/internal.h(280) : warning C4005: 'tanf' : macro redefinition
        c:\msvs8\vc\include\math.h(310) : see previous definition of 'tanf'
../ecl/internal.h(283) : warning C4005: 'sinhf' : macro redefinition
        c:\msvs8\vc\include\math.h(308) : see previous definition of 'sinhf'
../ecl/internal.h(286) : warning C4005: 'coshf' : macro redefinition
        c:\msvs8\vc\include\math.h(299) : see previous definition of 'coshf'
../ecl/internal.h(289) : warning C4005: 'tanhf' : macro redefinition
        c:\msvs8\vc\include\math.h(311) : see previous definition of 'tanhf'
../ecl/internal.h(293) : warning C4005: 'ceilf' : macro redefinition
        c:\msvs8\vc\include\math.h(297) : see previous definition of 'ceilf'
../ecl/internal.h(296) : warning C4005: 'floorf' : macro redefinition
        c:\msvs8\vc\include\math.h(301) : see previous definition of 'floorf'
../ecl/internal.h(299) : warning C4005: 'fabsf' : macro redefinition
        c:\msvs8\vc\include\math.h(288) : see previous definition of 'fabsf'
../ecl/internal.h(302) : warning C4005: 'frexpf' : macro redefinition
        c:\msvs8\vc\include\math.h(285) : see previous definition of 'frexpf'
../ecl/internal.h(305) : warning C4005: 'ldexpf' : macro redefinition
        c:\msvs8\vc\include\math.h(289) : see previous definition of 'ldexpf'
../../src/c/num_sfun.d(49) : error C2143: syntax error : missing ';' before 'con
stant'
../../src/c/num_sfun.d(49) : warning C4552: '+' : operator has no effect; expect
ed operator with side-effect
../../src/c/num_sfun.d(51) : error C2143: syntax error : missing ';' before 'con
stant'
../../src/c/num_sfun.d(53) : error C2143: syntax error : missing ')' before 'con
stant'
../../src/c/num_sfun.d(53) : error C2059: syntax error : ')'
NMAKE : fatal error U1077: 'c:\msvs8\vc\bin\cl.EXE' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'c:\msvs8\vc\bin\nmake.exe' : return code '0x2'
Stop.


I've looked at the file, but the line numbers weren't terribly helpful in
determining the cause, which apparently suggests that they are post-CPP.

It also appears that the HAVE_xxxx defines are missing, as ECL redefines
the math functions present in the SDK, or however it's called on win32...

Also, nevermind the "msvs8" folder name, it's the Express version, don't ask :-)


regards, Samium Gromoff




More information about the ecl-devel mailing list