• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
warning: type 'llvm::User' has incompatible definitions in different translation units
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Header files not found, even though they're siblings.
  • Next by Date: warning with category
  • Previous by thread: Re: Unit Testing SCReachability framework
  • Next by thread: warning with category
  • Index(es):
    • Date
    • Thread