[LLVMdev] -fblocks?

Eric Mader emader at gmx.us
Tue Sep 30 18:39:52 PDT 2014


That seems to have done the trick!

Thanks,
Eric

On 9/30/14, 3:20 PM, David Majnemer wrote:
> 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 
> <mailto: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 <mailto: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/d265ccb5/attachment.html>


More information about the llvm-dev mailing list