This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52946] Unable to define a Block variable
- From: "lunfis at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Apr 2012 01:08:12 +0000
- Subject: [Bug c/52946] Unable to define a Block variable
- Auto-submitted: auto-generated
- References: <bug-52946-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52946
--- Comment #3 from Lund <lunfis at gmx dot de> 2012-04-13 01:08:12 UTC ---
OK, my mistake. I did not realize Apple's gcc was that different.
In case, anyone else comes across this issue, I was able to work around it by
installing clang/LLVM and get the 'blocks' library from here:
https://github.com/mackyle/blocksruntime.