warning: type 'llvm::User' has incompatible definitions in different translation units
warning: type 'llvm::User' has incompatible definitions in different translation units
- Subject: warning: type 'llvm::User' has incompatible definitions in different translation units
- From: Rick Mann <email@hidden>
- Date: Mon, 21 Jan 2013 22:20:57 -0800
Trying to debug my app (that links against LLVM) produces this error. I'm not sure what this means. Can anyone explain?
(lldb) expr module()->dump()
error: warning: type 'llvm::User' has incompatible definitions in different translation units
warning: type 'llvm::Use' has incompatible definitions in different translation units
warning: type 'llvm::LLVMContext' has incompatible definitions in different translation units
warning: type 'llvm::User' has incompatible definitions in different translation units
error: field 'UseList' declared with incompatible types in different translation units ('llvm::Use *' vs. 'llvm::Use *')
note: class has base type 'llvm::Value'
note: field 'Val' has type 'llvm::Value *' here
note: declared here with type 'llvm::Use *'
note: field 'pImpl' has type 'llvm::LLVMContextImpl *const' here
note: field 'OperandList' has type 'llvm::Use *' here
error: 1 errors parsing expression
--
Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden