[cfe-dev] blocks/lambdas in clang
blaine at apple.com
Tue Jan 12 13:26:50 PST 2010
The compiler initializes the first word of every block to one of two symbols (the other being _NSConcreteStackBlock), that being one of them, so as to enable Objective-C treating blocks as objects if and when the objc runtime is loaded. The blocks runtime for the most part ignores these values until such a time. A block copy operation will use another symbol, so in total I think you'll need _NSConcreteMallocBlock also.
On Jan 12, 2010, at 11:15 AM, david raila wrote:
> Trying blocks on a x64 linux gives undefined reference to
> `_NSConcreteGlobalBlock', am I missing a library
> or something?
> Alternatively, what are the plans/timetable for an implementation of
> C++0x lambdas in clang?
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev