<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Oct 25, 2012, at 9:42 PM, Bill Hoffman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p dir="ltr"><br>
On Oct 25, 2012 11:15 PM, "Clinton Stimpson" <<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>> wrote:<br>
><br>
><br>
> On Oct 25, 2012, at 4:18 PM, Bill Hoffman wrote:<br>
><br>
> > On 10/25/2012 6:06 PM, Alan W. Irwin wrote:<br>
> >><br>
> >> I have just discovered an extremely simple test case of the whole<br>
> ><br>
> > We have already found the problem and have an even smaller test case.<br>
> ><br>
> > cat info.cmake<br>
> > file(STRINGS a.exe _strings LIMIT_COUNT 4 REGEX "INFO:")<br>
> > foreach(info ${_strings})<br>
> >  message(STATUS "[${info}]")<br>
> > endforeach()<br>
> ><br>
> > Build the CMake test case into a.exe like this:<br>
> > gfortran CMakeFortranCompilerABI.F<br>
> ><br>
> > Then run cmake -P info.cmake,<br>
> > It should print this:<br>
> > -- [INFO:compiler[GNU]INFO:platform[]]<br>
> ><br>
> > If not it is broken and will not detect the compiler correctly.<br>
><br>
><br>
> Bill, are you sure you meant CMakeFortranCompilerABI.F?<br>
> I get something like this<br>
> INFO:sizeof_dptr[8]ABI Detection<br>
> no matter what I do, even on native Linux with /usr/bin/gfortran.<br>
><br>
> The other file, CMakeFortranCompilerId.F, should give the compiler/platform.  Is that the one you meant?</p><p dir="ltr">Either one should show the issue. I did show the wrong output. When it fails you get no output.</p><p dir="ltr">> Clint</p>
</blockquote></div>Ok, I was able to reproduce the problem.<div><br></div><div>Alan, you are in luck.  They fixed it two days ago!!  At first, I was confused because I was not able to reproduce it, then trying it against an older version of Wine showed the problem.</div><div><br></div><div><div>commit 4a566ed3d6acd8a6e18eeaeb41d55d0f793029de</div><div>Author: Piotr Caban <<a href="mailto:piotr@codeweavers.com">piotr@codeweavers.com</a>></div><div>Date:   Tue Oct 23 18:11:06 2012 +0200</div><div><br></div><div>    msvcp90: Convert characters to unsigned char before passing them to functions operating on integers.</div><div><br></div></div><div>Clint</div><div><br></div></body></html>