[LLVMdev] Fw: GlobalValue.h:116 error
Samuel Crow
samuraileumas at yahoo.com
Wed Oct 14 08:13:50 PDT 2009
Oops, forgot to reply to all.
>
>----- Forwarded Message ----
>From: Samuel Crow <samuraileumas at yahoo.com>
>To: Joseph Klumpp <jklumpp0 at gmail.com>
>Sent: Wed, October 14, 2009 10:12:45 AM
>Subject: Re: [LLVMdev] GlobalValue.h:116 error
>
>
>http://llvm.org/docs/GettingStarted.html#brokengcc indicates that that version of G++ will only compile properly using -O0 (optimization disabled).
>
>
>>
>>From: Joseph Klumpp <jklumpp0 at gmail.com>
>>To: llvmdev at cs.uiuc.edu
>>Sent: Wed, October 14, 2009 7:31:56
>> AM
>>Subject: [LLVMdev] GlobalValue.h:116 error
>>
>>>> When I attempt to follow any tutorial for llvm and add the `llvm-config --cxxflags --ldflags --libs all` line to my GXX_FLAGS, g++ chokes on llvm/GlobalValue.h, complaining of an invalid cast from int to llvm::GlobalValue::LinkageTypes. I receive this error under both Red Hat and Ubuntu and the version of G++ I am using is 4.1.2.
>>
>>
>>Thanks in advance,
>>Jared
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091014/5de3d31d/attachment.html>
More information about the llvm-dev
mailing list