<p dir="ltr"><br>
Glider, can you take a look at this?</p>
<p dir="ltr">On Oct 10, 2013 2:43 PM, "Iain Sandoe" <<a href="mailto:iain@codesourcery.com">iain@codesourcery.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I found today (on OSX10.8) that with cmake using gcc-4.8 as the bootstrap I was getting a fail building asan-mac.cc, related to use of blocks syntax.  The same checkout builds fine using autoconf/make.<br>
><br>
> In asan-mac.cc, availability of blocks is currently tested by !defined(MISSING_BLOCKS_SUPPORT) - which is apparently not set in the cmake process - the attached trivial patch changes this to use "defined(__BLOCKS__)" instead.<br>

><br>
> The same checkout now builds with both gcc-4.8 and clang for both 'cmake' and 'configure' (LLVM, clang and compiler-rt).<br>
><br>
> Iain<br>
><br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
><br>
</p>