[Bug 483679] Re: llvm-gcc fails to recognize __block keywords
Mario Schwalbe
schwalbe at inf.tu-dresden.de
Tue Nov 17 15:28:39 UTC 2009
looking at the LLVM/Clang documentation (http://clang.llvm.org/doxygen/InitPreprocessor_8cpp-source.html) shows that __block is not actually a keyword, but a macro that is defined to be __attribute__((__blocks__(byref))).
so adding:
#ifndef __block
#define __block __attribute__((__blocks__(byref)))
#endif
to the above example works.
btw: this also happens if using a self-compiled upstream LLVM/GCC, so
it's not actually an Ubuntu bug.
--
llvm-gcc fails to recognize __block keywords
https://bugs.launchpad.net/bugs/483679
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list