<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Clang:  Mavericks v. the rest (was Re: buildbot
failure in</title></head><body>
<div>At 2:39 PM -0700 10/14/14, noreply@macports.org wrote:</div>
<blockquote type="cite" cite>The Buildbot has detected a failed build
on builder buildports-mavericks-x86_64 while building MacPorts.<br>
Full details are available at:</blockquote>
<blockquote type="cite"
cite
>&nbsp;http://build.macports.org/builders/buildports-mavericks-x86_64<span
></span>/builds/7702</blockquote>
<div><br></div>
<div>Can some kind person (Jeremy?) help me understand why the version
of Clang on the Mavericks buildbot is falling over while the Lion and
MtnLion versions don't even spit a warning?</div>
<div><br></div>
<div>Mavericks Clang errors out with the following:</div>
<div><br></div>
<div><font size="+1" color="#000000">test_dr.c:49:3: error: comparison
of constant 12 with expression of type 'bool' is always true
[-Werror,-Wtautological-constant-out-of-range-compare]<br>
&nbsp; BOZO_end_boolean(b_multiple_frame_rate)<br>
&nbsp; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
./test_dr.h:102:39: note: expanded from macro 'BOZO_end_boolean'<br>
&nbsp;&nbsp;&nbsp; } while(!i_err &amp;&amp; (s_decoded.name &lt;=
12));&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;&nbsp; \<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
~~~~~~~~~~~~~~ ^&nbsp; ~~</font></div>
<div><font size="+1" color="#000000">(Complete log from the Mavericks
buildbot attached.)</font></div>
<div><br></div>
<div>If I understand correctly (always dicey given I'm not a C
developer), this is a unit test with (I guess) an awkward construct.&nbsp;
The thing is, Clang on MtnLion doesn't complain at all on the same
code.</div>
<div><br></div>
<div>What would be the best way to get past this?</div>
<div><br></div>
<div>Thanks,</div>
<div><br></div>
<div>Craig</div>
</body>
</html>