<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>BOOLEAN is wrong. It should be WinDef.BOOL or int or such -- 4 bytes. Not INTEGER, that will be 8 bytes on Win64.<BR> <BR> - Jay<br> <BR><div><hr id="stopSpelling">From: rcolebur@SCIRES.COM<br>To: m3devel@elegosoft.com<br>Date: Sun, 18 Aug 2013 01:23:24 +0000<br>Subject: [M3devel] syntax err in SocketWin32.m3<br><br>
<style id="ecxowaParaStyle">
.ExternalClass P {
MARGIN-TOP:0px;
MARGIN-BOTTOM:0px;
}
</style>
<div style="color: rgb(0, 0, 0); font-family: Tahoma; font-size: 10pt; direction: ltr;">
Jay:<BR>
<BR>
I'm trying to rebuild cm3 on Windows XP.<BR>
<BR>
I'm getting a compile error at line 59 in m3-libs\libm3\src\os\WIN32\SocketWin32.m3<BR>
<BR>
That line is as follows: True : BOOL := 1;<br>
<BR>
The type BOOL is not defined.<BR>
<BR>
Later this variable is used in the call <BR>
EVAL setsockopt (t.sock, SOL_SOCKET, SO_REUSEADDR,<br>
ADR(True), BYTESIZE(True));<br>
<BR>
I'm not sure if we could replace with "True : BOOLEAN := TRUE;" or if the setsockopt is expecting a certain encoding.<BR>
<BR>
Based on the file history, I think you may have made this change, so thought I would run it past you first before I messed around with it.<BR>
<BR>
Thanks,<BR>
Randy Coleburn<BR>
<BR>
</div></div> </div></body>
</html>