[cfe-commits] [PATCH] Treat "int (^x)()" as "int (^x)(void)" instead of a K&R style prototype
clattner at apple.com
Sun May 31 11:31:21 PDT 2009
On May 31, 2009, at 8:58 AM, Fariborz Jahanian wrote:
> For blocks in gcc we followed the rules for function pointers in the
> host language wrt to block pointers.
> This change will make it more c++-ish and may break some of our
> internal projects.
> But it is a new feature and it is good to tighten up the rules. So it
> is OK.
While I sympathize with wanting to tighten up new features, this makes
block pointers work differently than function pointers. Is it really
worth it? What problem does this solve?
More information about the cfe-commits