[Yhc] Building Yhi on Windows

Neil Mitchell ndmitchell at gmail.com
Mon Jun 4 12:55:25 EDT 2007


Hi,

We haven't had buildbot going through with Yhi on Windows for quite a
while, because I upgraded to Visual Studio 2005, and the .obj files
started going all wrong. I've now managed to get a VS 2005 project
file which builds Yhi on my computer, so the knowledge on how to
compile Yhi on my machine is in that project file - we need to figure
out the difference and put it back into the scons scripts. I suspect
I'll need Andrews help for that.

I've also got some warnings, I've fixed a few but there are some left:

1>d:\sources\yhc\current\src\runtime\bckernel\hashtable.c(20) :
warning C4018: '>=' : signed/unsigned mismatch
1>d:\sources\yhc\current\src\runtime\bckernel\info.c(64) : warning
C4244: '=' : conversion from 'Int' to 'HUInt', possible loss of data
1>d:\sources\yhc\current\src\runtime\bckernel\primitive.c(143) :
warning C4244: '=' : conversion from 'unsigned long' to 'HUInt',
possible loss of data
1>d:\sources\yhc\current\src\runtime\bckernel\primitive.c(146) :
warning C4244: '=' : conversion from 'Word' to 'HUInt', possible loss
of data
1>d:\sources\yhc\current\src\runtime\bckernel\builtin\system.c(30) :
warning C4013: 'mkdir' undefined; assuming extern returning int
1>d:\sources\yhc\current\src\runtime\bckernel\builtin\system.c(34) :
warning C4013: 'rmdir' undefined; assuming extern returning int
1>d:\sources\yhc\current\src\runtime\bckernel\builtin\system.c(53) :
warning C4013: '_getcwd' undefined; assuming extern returning int
1>d:\sources\yhc\current\src\runtime\bckernel\builtin\system.c(53) :
warning C4047: 'initializing' : 'Char *' differs in levels of
indirection from 'int'
1>d:\sources\yhc\current\src\runtime\bckernel\builtin\system.c(64) :
warning C4013: 'chdir' undefined; assuming extern returning int
1>d:\sources\yhc\current\src\runtime\bckernel\hsffi.c(343) : warning
C4715: 'hsffi_ffiArgType' : not all control paths return a value
1>d:\sources\yhc\current\depends\ctypes\libffi_msvc\ffi.c(113) :
warning C4018: '>' : signed/unsigned mismatch

Hopefully we'll have an alive Windows buildbot quite shortly, which is
good because that Windows machine generates our binary snapshots and
haddock documentation!

Thanks

Neil


More information about the Yhc mailing list