Clang: Mavericks v. the rest (was Re: buildbot failure in MacPorts on buildports-mavericks-x86_64)

Craig Treleaven ctreleaven at
Tue Oct 14 18:22:43 PDT 2014

At 2:39 PM -0700 10/14/14, noreply at wrote:
>The Buildbot has detected a failed build on builder 
>buildports-mavericks-x86_64 while building MacPorts.
>Full details are available at:

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?

Mavericks Clang errors out with the following:

test_dr.c:49:3: error: comparison of constant 12 with expression of 
type 'bool' is always true 
./test_dr.h:102:39: note: expanded from macro 'BOZO_end_boolean'
     } while(!i_err && ( <= 12));                          \
                        ~~~~~~~~~~~~~~ ^  ~~
(Complete log from the Mavericks buildbot attached.)

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.

What would be the best way to get past this?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/octet-stream
Size: 111361 bytes
Desc: not available
URL: <>

More information about the macports-dev mailing list