[M3devel] syntax err in SocketWin32.m3

Coleburn, Randy rcolebur at SCIRES.COM
Sun Aug 18 03:23:24 CEST 2013


Jay:



I'm trying to rebuild cm3 on Windows XP.



I'm getting a compile error at line 59 in m3-libs\libm3\src\os\WIN32\SocketWin32.m3



That line is as follows:      True : BOOL := 1;

The type BOOL is not defined.



Later this variable is used in the call

    EVAL setsockopt (t.sock, SOL_SOCKET, SO_REUSEADDR,
                     ADR(True), BYTESIZE(True));

I'm not sure if we could replace with "True : BOOLEAN := TRUE;" or if the setsockopt is expecting a certain encoding.



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.



Thanks,

Randy Coleburn


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20130818/29826742/attachment-0001.html>


More information about the M3devel mailing list