<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)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-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.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:Consolas;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></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="MsoPlainText"><span style="font-family:"Courier New"">x86 compile (free or checked) for librdmacm\ fails:<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">Compiling - src\cma_main.cpp<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">1>errors in directory f:\openib-windows-svn\latest\gen1\trunk\ulp\librdmacm\src<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">1>f:\openib-windows-svn\latest\gen1\trunk\ulp\librdmacm\src\cma_main.cpp(602) :<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">error C2664: 'int (SOCKET,PDWORD_PTR,LPINT)' : cannot convert parameter 2 from 'SOCKET *' to 'PDWORD_PTR'<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">1>warnings in directory f:\openib-windows-svn\latest\gen1\trunk\ulp\librdmacm\src<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">1>f:\openib-windows-svn\latest\gen1\trunk\ulp\librdmacm\src\cma_main.cpp(606) : warning C4018: '>' : signed/unsigned mismatch<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">1>f:\openib-windows-svn\latest\gen1\trunk\ulp\librdmacm\src\cma_main.cpp(618) :<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">error C2664: 'int (SOCKET,PDWORD_PTR,LPINT)' : cannot convert parameter 2 from 'SOCKET *' to 'PDWORD_PTR'<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">1>f:\openib-windows-svn\latest\gen1\trunk\ulp\librdmacm\src\cma_main.cpp(622) :warning C4018: '>' : signed/unsigned mismatch<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">1>f:\openib-windows-svn\latest\gen1\trunk\ulp\librdmacm\src\cma_main.cpp(634) :<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">error C2664: 'int (SOCKET,PDWORD_PTR,LPINT)' : cannot convert parameter 2 from 'SOCKET *' to 'PDWORD_PTR'<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">1>f:\openib-windows-svn\latest\gen1\trunk\ulp\librdmacm\src\cma_main.cpp(638) :warning C4018: '>' : signed/unsigned mismatch<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Fixed by<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">casting to PDWORD_PTR<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in">casting to (unsigned)<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:.5in"><o:p> </o:p></p>
<p class="MsoNormal">signed-off by stan smith (<a href="mailto:stan.smith@intel.com">stan.smith@intel.com</a>)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">--- C:/Users/scsmith/AppData/Local/Temp/cma_main.cpp-revBASE.svn000.tmp.cpp Thu Jan 24 15:02:56 2013<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">+++ C:/Users/scsmith/Documents/openIB-windows/ofw/gen1/trunk/ulp/librdmacm/src/cma_main.cpp Tue Feb 05 13:56:08 2013<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">@@ -597,13 +597,13 @@<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> if (readfds->fd_array[i]) {<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> ret = gMainUpCallTable.lpWPUQuerySocketHandleContext(<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> readfds->fd_array[i],<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">- &rreadfds.fd_array[i],<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">+ (PDWORD_PTR)&rreadfds.fd_array[i],<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> lpErrno<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> );<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> if (SOCKET_ERROR == ret)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> return ret;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> <o:p>
</o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">- if (rreadfds.fd_array[i] > nfds)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">+ if (rreadfds.fd_array[i] > (unsigned) nfds)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> nfds = (int)rreadfds.fd_array[i];<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> rreadfds.fd_count++;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">@@ -613,13 +613,13 @@<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> if (writefds->fd_array[i]) {<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> ret = gMainUpCallTable.lpWPUQuerySocketHandleContext(<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> writefds->fd_array[i],<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">- &rwritefds.fd_array[i],<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">+ (PDWORD_PTR)&rwritefds.fd_array[i],<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> lpErrno<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> );<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> if (SOCKET_ERROR == ret)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> return ret;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">- if (rwritefds.fd_array[i] > nfds)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">+ if (rwritefds.fd_array[i] > (unsigned) nfds)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> nfds = (int)rwritefds.fd_array[i];<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> rwritefds.fd_count++;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">@@ -629,13 +629,13 @@<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> if (exceptfds->fd_array[i]) {<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> ret = gMainUpCallTable.lpWPUQuerySocketHandleContext(<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> exceptfds->fd_array[i],<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">- &rexceptfds.fd_array[i],<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">+ (PDWORD_PTR) &rexceptfds.fd_array[i],<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> lpErrno<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> );<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> if (SOCKET_ERROR == ret)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> return ret;<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">- if (rexceptfds.fd_array[i] > nfds)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New"">+ if (rexceptfds.fd_array[i] > (unsigned) nfds)<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> nfds = (int)rexceptfds.fd_array[i];<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="font-family:"Courier New""> rexceptfds.fd_count++;<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>