<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 4: build on clang and fix scary looking bugs</title><link>https://sourceforge.net/p/beecrypt/feature-requests/4/</link><description>Recent changes to 4: build on clang and fix scary looking bugs</description><atom:link href="https://sourceforge.net/p/beecrypt/feature-requests/4/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 29 Dec 2011 13:23:54 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/beecrypt/feature-requests/4/feed.rss" rel="self" type="application/rss+xml"/><item><title>build on clang and fix scary looking bugs</title><link>https://sourceforge.net/p/beecrypt/feature-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Attaching the build.log from emerge using clang.&lt;/p&gt;
&lt;p&gt;You should care about this, because it found some scary bugs like:&lt;/p&gt;
&lt;p&gt;DataOutputStream.cxx:154:22: warning: use of logical '&amp;amp;&amp;amp;' with constant operand [-Wconstant-logical-operand]&lt;br /&gt;
out.write((v     ) &amp;amp;&amp;amp; 0xff);&lt;br /&gt;
^  ~~~~&lt;br /&gt;
DataOutputStream.cxx:154:22: note: use '&amp;amp;' for a bitwise operation&lt;br /&gt;
out.write((v     ) &amp;amp;&amp;amp; 0xff);&lt;br /&gt;
^~&lt;br /&gt;
&amp;amp;&lt;br /&gt;
DataOutputStream.cxx:154:22: note: remove constant to silence this warning&lt;br /&gt;
out.write((v     ) &amp;amp;&amp;amp; 0xff);&lt;br /&gt;
^~~~~~~&lt;/p&gt;
&lt;p&gt;or:&lt;br /&gt;
BigInteger.cxx:263:41: warning: shift count &amp;gt;= width of type [-Wshift-count-overflow]&lt;br /&gt;
return (jlong) (sign * ((data[size-2] &amp;lt;&amp;lt; 32) + data[size-1]));&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alistra</dc:creator><pubDate>Thu, 29 Dec 2011 13:23:54 -0000</pubDate><guid>https://sourceforge.netad0a880542689b151660943c95331dac64607cb1</guid></item></channel></rss>