[LLVMdev] GlobalValue.h:116 error

Joseph Klumpp jklumpp0 at gmail.com
Wed Oct 14 05:31:56 PDT 2009


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/00b87370/attachment.html>


More information about the llvm-dev mailing list