<!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
> 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>
BOZO_end_boolean(b_multiple_frame_rate)<br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
./test_dr.h:102:39: note: expanded from macro 'BOZO_end_boolean'<br>
} while(!i_err && (s_decoded.name <=
12)); <span
></span
> <span
></span> \<br>
<span
></span>
~~~~~~~~~~~~~~ ^ ~~</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.
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>