[cfe-dev] Clang-cl and C Blocks extension

Thorben Hasenpusch via cfe-dev cfe-dev at lists.llvm.org
Mon Jul 9 11:50:19 PDT 2018

Hi guys,

I’m trying to compile C code that uses the Blocks extension using clang-cl on Windows, via CMake’s LLVM-vs2014 toolset.
The compilation errors out, telling me I’d need to enable blocks by passing “-fblocks” to clang, however clang-cl doesn’t recognize that flag.

Anything I can do?



More information about the cfe-dev mailing list