[cfe-dev] Bug in block parsing

Mike Stump mrs at apple.com
Tue Sep 8 11:30:13 PDT 2009


On Sep 6, 2009, at 11:03 AM, David Yoo wrote:
> Normally, compiling a function that returns a block that references
> stack variables,
>
> ...will fail with "error: returning block that lives on the local
> stack," which is desired. However, wrapping the return statement in
> parentheses will suppress this error and compile in clang (both
> release and repository):

Chris just fixed this.  :-)



More information about the cfe-dev mailing list