Package Details: include-what-you-use-git r664.953970c-1

Git Clone URL: https://aur.archlinux.org/include-what-you-use-git.git (read-only)
Package Base: include-what-you-use-git
Description: A tool for use with clang to analyze #includes in C and C++ source files
Upstream URL: https://include-what-you-use.org/
Licenses: LLVM Release License
Conflicts: include-what-you-use
Provides: include-what-you-use=0.8
Submitter: linkmauve
Maintainer: linkmauve
Last Packager: linkmauve
Votes: 2
Popularity: 0.000948
First Submitted: 2015-07-17 19:03
Last Updated: 2017-06-11 20:24

Latest Comments

damien commented on 2018-02-22 17:00

The clang_5.0 branch seems to work fine with the current clang package in extra.

cpence commented on 2017-11-01 22:26

I'm not sure how to handle this, given the strange way that IWYU is tied to LLVM/clang versions, but the 'master' branch does now work with clang/llvm 5.0.

If anybody out there would like to build with 5.0, you can remove the branch reference from this package (in the source variable), and change the dependencies on clang to >=5.0 <5.1. You may also need to add "LDFLAGS='-lncurses -ltinfo'" to the cmake line (after "CXX=clang++"), if you get (as I did) errors with linking 'setupterm' and friends.

forkbong commented on 2017-08-29 15:09

cmake and llvm should be added to makedepends.

linkmauve commented on 2016-08-18 11:12

Thanks, this is now fixed.

jcelerier commented on 2016-08-18 10:00

This is out of date.
Here is the lines that have to change for work with clang-3.8 :

depends=('clang>=3.8' 'clang<3.9')
makedepends=('clang>=3.8' 'clang<3.9')
source=("$_pkgbase::git+https://github.com/include-what-you-use/include-what-you-use#branch=clang_3.8")

Damaskino commented on 2016-03-31 09:17

I'm getting the following error when trying to install the package with yaourt:

Scanning dependencies of target include-what-you-use
[ 7%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu.cc.o
/tmp/yaourt-tmp-chen/aur-include-what-you-use-git/src/include-what-you-use/iwyu.cc:2044:19: error:
no member named 'CK_BooleanToSignedIntegral' in namespace 'clang'
case clang::CK_BooleanToSignedIntegral:
~~~~~~~^
1 error generated.
CMakeFiles/include-what-you-use.dir/build.make:62: recipe for target 'CMakeFiles/include-what-you-use.dir/iwyu.cc.o' failed
make[2]: *** [CMakeFiles/include-what-you-use.dir/iwyu.cc.o] Error 1

Am I missing a dependency?