[Vm-dev] Not declared errors when compiling Windows vm

Guillermo Polito guillermopolito at gmail.com
Wed Jan 25 23:44:26 UTC 2012


Hi!

I'm trying to get Windows VM compiled with Msys, using the Cog source code
in the git repository.  I've almost surpassed everything, but I'm having
some "not declared" errors like this:

c:/MinGW/msys/1.0/home/Guille/cog/gpolito-cogvm/platforms/win32/vm/sqWin32Intel.
c:1250:27: error: '_MCW_EM' no se declar¾ aquÝ (primer uso en esta funci¾n)

related to these lines of the sqWin32Intel.c file:

...
#define FPU_DEFAULT (_RC_NEAR + _PC_53 + _EM_INVALID + _EM_ZERODIVIDE +
_EM_OVERFLOW + _EM_UNDERFLOW + _EM_INEXACT + _EM_DENORMAL)
...

in squeakExceptionHandler and sqMain

_control87(FPU_DEFAULT, _MCW_EM | _MCW_RC | _MCW_PC | _MCW_IC);
...

However, if I comment those lines, I can compile and everything seem to
work :/.

I googled a little but I've not found anything that helps me...  Has anyone
has this problem?  Is it a Msys configuration problem?

Thanks!
Guille
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120125/4874c01c/attachment.htm


More information about the Vm-dev mailing list