[libdispatch-dev] [PATCH 05/17] more precise detection of blocks

Bobby Powers bobbypowers at gmail.com
Mon Oct 19 11:19:28 PDT 2009

I probably should have qualified that I'm talking specifically about
blocks support on Linux

On Mon, Oct 19, 2009 at 2:18 PM, Bobby Powers <bobbypowers at gmail.com> wrote:
> llvm-gcc/clang has the compiler support for blocks, but still needs
> the separate blocks runtime (provided by compiler-rt), which also
> provides the header files.  This was mostly what people said earlier,
> but I thought it could be stated more clearly for posterity.
> yours,
> Bobby
> On Mon, Oct 19, 2009 at 3:21 AM, Paolo Bonzini <bonzini at gnu.org> wrote:
>>> Unfortunately testing for HAVE_BLOCKS will be problematic in the
>>> libdispatch public headers as they need to be parsed by client
>>> projects which will not include the libdispatch config.h.  That said,
>>> it should be fine to test for HAVE_BLOCKS in the libdispatch
>>> implementation (which is where the real compiler_rt dependency is
>>> anyway).
>> Right.  I was a bit confused here because no .h files are installed by the
>> Automake Makefile.am.  I removed the patch temporarily from the public
>> repository and will leave this for later.
>> Paolo
>> _______________________________________________
>> libdispatch-dev mailing list
>> libdispatch-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/libdispatch-dev

More information about the libdispatch-dev mailing list