[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-commits
Subject:    Re: [cfe-commits] [PATCH] Treat "int (^x)()" as "int	(^x)(void)"
From:       Chris Lattner <clattner () apple ! com>
Date:       2009-05-31 18:31:21
Message-ID: A64B5B94-1B45-4EB2-BDE9-85A6B691766B () apple ! com
[Download RAW message or body]


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?

-Chris

_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic