[LLVMdev] -fblocks?

David Majnemer david.majnemer at gmail.com
Tue Sep 30 18:20:28 PDT 2014


It sounds like you are using the clang-cl driver, perhaps "-Xclang
-fblocks" might work.

On Tue, Sep 30, 2014 at 5:28 PM, Eric Mader <emader at gmx.us> wrote:

> I'm trying to compile some C++ code on Windows that contains blocks. The
> compiler gives me the error that the blocks language feature is not enabled
> and that I should enable it with "-fblocks". When I add that compiler flag,
> the compile fails immediately saying "unknown argument: '-fblocks'"
>
> Is this perhaps an incomplete feature?
>
> Regards,
> Eric Mader
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140930/8c5698c7/attachment.html>


More information about the llvm-dev mailing list