libecb patch: fix compile warnings on gcc-llvm 4.2.1 (OS X 10.6 with Xcode 4)

Hongli Lai hongli at
Thu Dec 8 23:33:01 CET 2011

On Thu, Dec 8, 2011 at 11:26 PM, Brandon Black <blblack at> wrote:
> I doubt they're actually fully implemented in OSX's llvm-gcc 4.2.1.  Do you
> have any supporting documentation or research on that?

All I know is that they compile and that they seem to have effect. Are
you saying that the compiler might have no-op stub implementations for
some of those attributes?

>  Also the llvm-gcc
> 4.2.1 that OSX shipped with 4.2.1 was a pretty tragic mistake on their part,
> IMHO.  It's a branch of code that upstream considers deprecated and
> unsupported, and has known bugs.  See this bug link
> upstream: .

That's pretty bad. Still, this broken compiler is now in the hands of
millions of people who are extremely unlikely to be able to change
their compiler any time soon.

Phusion | Ruby & Rails deployment, scaling and tuning solutions

E-mail: info at
Chamber of commerce no: 08173483 (The Netherlands)

More information about the libev mailing list