LWN.net Logo

Blocks in C, not C++

Blocks in C, not C++

Posted Sep 16, 2009 20:54 UTC (Wed) by drag (subscriber, #31333)
In reply to: Blocks in C, not C++ by atai
Parent article: Tornado and Grand Central Dispatch: a quick look

It would be what is required if you want GCD support for C++, I suppose.

Clang/LLVM does not support anything but C. For C++ you'd need GCC proper or GCC/LLVM. I beleive.


(Log in to post comments)

Blocks in C, not C++

Posted Sep 17, 2009 2:12 UTC (Thu) by jdahlin (guest, #14990) [Link]

It supports both ObjC and C++, it may not support the standard as well as
GCC, but enough to compile a couple of small test programs. I'm confident
clang will deliver a C++ compiler reasonably compatible with GCC sometime
next year.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds