<div>Anton,</div>
<div> </div>
<div>> 1. What's about mingw?<br></div>
<div>MinGW inherits the _WIN32 define.</div>
<div> </div>
<div>> 2. It's better to conditionalize based on -fshort-wchar option<br></div>
<div>I'm not sure what you mean by the -fshort-wchar option.  There doesn't seem to be such an option.  Or do you mean to add one?  Or is there an implicit define I might use in a conditional?<br></div>
<div>Alternatively, because this is a platform assumption, we could just delete the offending line.</div>
<div> </div>
<div>-John<br></div>
<div class="gmail_quote">On Wed, Oct 28, 2009 at 3:16 PM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hello, John<br>
<div class="im"><br>> On Windows, the type of wide characters is unsigned short, causing the<br>> Sema/wchar.c to fail, which assumes int type.<br>> The easiest fix seems to be to conditionalize it, as follows:<br>
</div>1. What's about mingw?<br>2. It's better to conditionalize based on -fshort-wchar option<br><font color="#888888"><br>--<br>With best regards, Anton Korobeynikov<br>Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br>