<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — Visual Studio Project, Cyassl 2.4, x86_x64 settings?]]></title>
		<link>https://www.wolfssl.com/forums/topic271-visual-studio-project-cyassl-24-x86x64-settings.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic271.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Visual Studio Project, Cyassl 2.4, x86_x64 settings?.]]></description>
		<lastBuildDate>Thu, 01 Nov 2012 19:34:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Visual Studio Project, Cyassl 2.4, x86_x64 settings?]]></title>
			<link>https://www.wolfssl.com/forums/post752.html#p752</link>
			<description><![CDATA[<p>Thanks for the reports.</p><p>1) How did you get our embedded SSL source?&nbsp; The downloadable 2.4.0 should have cyassl/version.h in the .zip.&nbsp; Our github tree also has it checked in although there was a day where it was missing in the last couple weeks.</p><p>2) The latest github tree now has fixes for all of these warnings on Windows x64 except for...</p><p>3) The 64 bit shift warning.&nbsp; Using i64 isn&#039;t portable.&nbsp; We do have a somewhat portable 64bit macro W64LIT except for platforms that don&#039;t have 64bit types available of course.&nbsp; It doesn&#039;t make any sense to me to have the index of the array use a 64 bit type, especially since it isn&#039;t portable to many of our platforms.&nbsp; We could explicitly cast the shift to 32 bits but that just makes the code harder to read there.&nbsp; I&#039;m going to leave that warning for now.&nbsp; We&#039;ll discuss it at our next meeting.</p><p>Thanks again for the reports.</p>]]></description>
			<author><![CDATA[null@example.com (todd)]]></author>
			<pubDate>Thu, 01 Nov 2012 19:34:58 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post752.html#p752</guid>
		</item>
		<item>
			<title><![CDATA[Re: Visual Studio Project, Cyassl 2.4, x86_x64 settings?]]></title>
			<link>https://www.wolfssl.com/forums/post742.html#p742</link>
			<description><![CDATA[<p>Also noted there&#039;s a number of conversions from size_t to int in ssl.c and internal.c, at this point it&#039;s got to be some define I&#039;m missing..</p><p>internal.c(4821) : warning C4267: &#039;=&#039; : conversion from &#039;size_t&#039; to &#039;word32&#039;, possible loss of data</p><p>ssl.c(87) : warning C4267: &#039;initializing&#039; : conversion from &#039;size_t&#039; to &#039;unsigned int&#039;, possible loss of data<br />ssl.c(1403) : warning C4267: &#039;=&#039; : conversion from &#039;size_t&#039; to &#039;int&#039;, possible loss of data<br />ssl.c(1566) : warning C4267: &#039;=&#039; : conversion from &#039;size_t&#039; to &#039;int&#039;, possible loss of data<br />ssl.c(2087) : warning C4267: &#039;=&#039; : conversion from &#039;size_t&#039; to &#039;int&#039;, possible loss of data<br />ssl.c(6567) : warning C4267: &#039;function&#039; : conversion from &#039;size_t&#039; to &#039;word32&#039;, possible loss of data</p>]]></description>
			<author><![CDATA[null@example.com (hazmat)]]></author>
			<pubDate>Wed, 31 Oct 2012 11:43:45 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post742.html#p742</guid>
		</item>
		<item>
			<title><![CDATA[Re: Visual Studio Project, Cyassl 2.4, x86_x64 settings?]]></title>
			<link>https://www.wolfssl.com/forums/post739.html#p739</link>
			<description><![CDATA[<p>Upon further inspection it appears that:</p><p>mp_sqr (&amp;M[1 &lt;&lt; (winsize - 1)], &amp;M[1 &lt;&lt; (winsize - 1)])) != MP_OKAY) {</p><p>might need to be:</p><p>mp_sqr (&amp;M[1i64&nbsp; &lt;&lt; (winsize - 1)], &amp;M[1 &lt;&lt; (winsize - 1)])) != MP_OKAY) {</p><p>As nearest I can tell the resultant pointer is 64bits in size, so wouldn&#039;t you need to 64bit shift operation?</p><p>I appears the compiler figures that out, but I just wanted to see if I was mistaken.</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (hazmat)]]></author>
			<pubDate>Wed, 31 Oct 2012 00:48:49 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post739.html#p739</guid>
		</item>
		<item>
			<title><![CDATA[Visual Studio Project, Cyassl 2.4, x86_x64 settings?]]></title>
			<link>https://www.wolfssl.com/forums/post738.html#p738</link>
			<description><![CDATA[<p>I&#039;m sure it&#039;s something simple, but what settings/modifications need to be made to take the visual studio project provided with 2.4 and make it build on x64 Windows 7 (VS 2008).</p><p>When I change the project configuration to x64 I get the following errors:</p><p>misc.c(164) : warning C4305: &#039;type cast&#039; : truncation from &#039;byte *&#039; to &#039;word&#039;</p><p>integer.c(3227): warning C4334: &#039;&lt;&lt;&#039; : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)</p><p>ssl.h(31) : fatal error C1083: Cannot open include file: &#039;cyassl/version.h&#039;: No such file or directory</p><p>When I do nothing and just use Win32 I still get the version.h error, that looks like a simple fix, but I just can&#039;t shake the feeling I&#039;m missing a step.</p><p>-hz</p>]]></description>
			<author><![CDATA[null@example.com (hazmat)]]></author>
			<pubDate>Tue, 30 Oct 2012 23:55:39 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post738.html#p738</guid>
		</item>
	</channel>
</rss>
