<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:820855721;
        mso-list-type:hybrid;
        mso-list-template-ids:-995466972 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Jay / Rodney:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Well I didn’t “pick” anything, but it appears that since I chose to rebuild everything based on
<b>pkginfo.txt</b> that is why <b>libunicode</b> is now trying to build on my Windows box.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I have several options:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Using my build scripts, I could choose to exclude libunicode (I have an option for that).<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">We could modify the cm3.cfg and m3makefile as Jay suggests to prevent libunicode from trying to build unless Unicode_WIDECHAR is defined and TRUE.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Etc.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">For the short term, I think I’ll try #1.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Then, I’ll think about some mods for #2 and commit them if they test out.  That way, the Unicode_WIDECHAR could be used to turn this feature on and off as Rodney
 suggested.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">For the
<b>elego\prjm</b> package, I’m not sure whether it is supposed to be buildable on Windows.  If not, I can just exclude it, or we can modify the m3makefile to prevent it from building on Windows.  Obviously, I never used this package before.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks for your help!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Randy<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> jayk123@hotmail.com [mailto:jayk123@hotmail.com]
<b>On Behalf Of </b>Jay K<br>
<b>Sent:</b> Thursday, May 29, 2014 9:12 PM<br>
<b>To:</b> Coleburn, Randy; m3devel<br>
<b>Subject:</b> EXT:RE: [M3devel] build problems with libunicode<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Calibri","sans-serif"">I guess Unicode_WIDECHAR = TRUE is what you picked, so:<br>
 <br>
if not defined("Unicode_WIDECHAR")<br>
 Unicode_WIDECHAR = FALSE<br>
end<br>
in cm3cfg.common and libunicode/src/m3makefile<br>
 <br>
and then if Unicode_WIDECHAR around the rest of libunicode/src/m3makefile?<br>
 <br>
 <br>
I would have likely used a function returning byte size.<br>
 <br>
 <br>
 <br>
 - Jay<br>
<br>
 <o:p></o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="margin-left:.5in;text-align:center">
<span style="font-family:"Calibri","sans-serif"">
<hr size="3" width="100%" align="center" id="stopSpelling">
</span></div>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-family:"Calibri","sans-serif"">From: <a href="mailto:jay.krell@cornell.edu">
jay.krell@cornell.edu</a><br>
To: <a href="mailto:rcolebur@scires.com">rcolebur@scires.com</a>; <a href="mailto:m3devel@elegosoft.com">
m3devel@elegosoft.com</a><br>
Subject: RE: [M3devel] build problems with libunicode<br>
Date: Fri, 30 May 2014 00:07:11 +0000<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<span style="font-family:"Calibri","sans-serif"">Can <a href="https://dcvs.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/m3-libs/libunicode/src/m3makefile" target="_blank">
https://dcvs.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/m3-libs/libunicode/src/m3makefile</a><br>
 <br>
 <br>
do something to filter itself out from building with a compiler that won't work?<br>
 <br>
Can you add a builtin quake function<br>
WideCharByteSize() or some other name<br>
 <br>
that returns 2 or 4, and in cm3cfg.common, if it isn't already defined (builtin), define one that returns 2?<br>
and then, in libunicode/src/m3makefile, do the same thing, define a function that returns 2 if it isn't already defined?<br>
 <br>
 <br>
 <br>
 - Jay<br>
<br>
<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Calibri","sans-serif"">> From:
<a href="mailto:rcolebur@SCIRES.COM">rcolebur@SCIRES.COM</a><br>
> To: <a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br>
> Date: Thu, 29 May 2014 21:37:59 +0000<br>
> Subject: Re: [M3devel] build problems with libunicode<br>
> <br>
> Rodney:<br>
> <br>
> I looked thru the various cm3.cfg files (and the ones that get included) and I don't anywhere see a line with "Unicode_WIDECHAR" in it.<br>
> <br>
> So, not sure why libunicode is trying to build on Windows (NT386).<br>
> <br>
> --Randy Coleburn<br>
> <br>
> -----Original Message-----<br>
> From: Coleburn, Randy <br>
> Sent: Thursday, May 29, 2014 4:55 PM<br>
> To: <a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br>
> Subject: Re: [M3devel] build problems with libunicode<br>
> <br>
> Rodney:<br>
> <br>
> Thanks very much for your response.<br>
> <br>
> As far as I know, I've not changed the default configuration of my compiler, so based on your statement, I don't see why libunicode should be trying to build.<br>
> <br>
> I'll take a look at your release notes.<br>
> <br>
> Thanks,<br>
> Randy Coleburn<br>
> <br>
> -----Original Message-----<br>
> From: Rodney M. Bates [<a href="mailto:rodney_bates@lcwb.coop">mailto:rodney_bates@lcwb.coop</a>]
<br>
> Sent: Thursday, May 29, 2014 11:27 AM<br>
> To: <a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br>
> Subject: EXT:Re: [M3devel] build problems with libunicode<br>
> <br>
> <br>
> <br>
> On 05/29/2014 12:40 AM, Coleburn, Randy wrote:<br>
> > I've been rebuilding everything from the HEAD branch on Windows XP (32-bit).<br>
> ><br>
> > The m3-libs\libunicode package fails to build (see errors below).<br>
> ><br>
> > I haven't taken time yet to look at the source code, but wanted to go ahead and post these results to the group in case someone knows of a quick fix.<br>
> ><br>
> > The problem module is: UnsafeUniCodec.m3<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Randy Coleburn<br>
> ><br>
> <br>
> I am responsible for libunicode.<br>
> <br>
> 1. libunicode won't and is not designed to build unless the compiler is<br>
> configured to make WIDECHAR have full unicode range, which, by default,<br>
> it is not.<br>
> <br>
> 2. The simplest way to thus configure the compiler is to add the line<br>
> Unicode_WIDECHAR="TRUE" to cm3.cfg, in /usr/local/cm3/bin, then rebuild<br>
> everything, starting with m3core.<br>
> <br>
> You can bootstrap all of this using the release compiler, see cm3/scripts/README-build-unicode<br>
> <br>
> I put libunicode in a separate package for that reason, and left the compiler configured by default for the existing 16-bit range of WIDECHAR, so there would be no perturbation to anybody's code unless you take some action.<br>
> <br>
> We can change the default if there is consensus to do so. Most code should not be affected, but some lower-level things will be. There is lots of info on this subject, including what you get from it and what kinds of code might be affected in:<br>
> <br>
> cm3/README-unicode-summary<br>
> cm3/README-unicode<br>
> cm3/scripts/README-build-unicode<br>
> <br>
> Rodney Bates<br>
> <a href="mailto:rodney.m.bates@acm.org">rodney.m.bates@acm.org</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>