sarojvarma / include-what-you-use

Automatically exported from code.google.com/p/include-what-you-use
Other
0 stars 0 forks source link

Numerous compile error while building using LLVM/clang r180223 #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to build include-what-you-use from the current trunk (r375) using 
the current LLVM/clang (revision 180223) on Linux 64-bit (Arch Linux) and I'm 
getting number of compilation errors that suggest the iwyu might be out of sync 
with LLVM/clang trunk. For example:

{{{
iwyu.cc:726:15: error: ‘class clang::CXXRecordDecl’ has no member named 
‘hasDeclaredDestructor’
     if (decl->hasDeclaredDestructor() && !decl->hasUserDeclaredDestructor()) {
               ^
}}}

Complete log with compilation errors attached.

Original issue reported on code.google.com by mate...@loskot.net on 24 Apr 2013 at 10:35

Attachments:

GoogleCodeExporter commented 9 years ago
Please update include-what-you-use to the latest revision and see if the 
problem persists. For me the last revision in trunk is r463 and I think the 
problem you are describing was fixed in r381.

Original comment by vsap...@gmail.com on 24 Apr 2013 at 11:01

GoogleCodeExporter commented 9 years ago
Apologies for false alarm. I completely missed he fact that Arch Linux package 
explicitly specifies and checks out revision r375. After updating to the latest 
trunk, everything builds well. Thanks!

Original comment by mate...@loskot.net on 25 Apr 2013 at 12:26

GoogleCodeExporter commented 9 years ago
Thanks, I'm closing this!

Original comment by kim.gras...@gmail.com on 27 Apr 2013 at 7:12