[cfe-dev] -rewrite-objc, C and blocks

jahanian fjahanian at apple.com
Fri Oct 1 14:07:37 PDT 2010


On Oct 1, 2010, at 10:54 AM, Pierre Habouzit wrote:

> Well, there used to be a -rewrite-blocks and there is a commmit that
> says that it's superseeded by -rewrite-objc.
> 
> Plus what my patch does is that if it's a c++ compiler that is used,
> then the c++ code is used, else it tries to be c-compatible.
> 
> So would a pure C-to-C blocks rewriter (reintroducing -rewrite-blocks)
> be accepted ? I'd like to avoid maintaining a custom patch forever :)

I think so. This always prototyping of blocks for other platforms without the baggage
associated with objective-c (or c++).

- Fariborz

> 





More information about the cfe-dev mailing list