Build failed
Francis Herne
mail at flherne.uk
Sat Sep 23 01:02:56 UTC 2017
On Friday, 22 September 2017 10:56:46 BST Alexander Zhigalin wrote:
> Hi
>
> My build from last master is failing with the following errors:
> In file included from
> /kdevelop/plugins/clang/codecompletion/completionhelper.cpp:24:0:
> /kdevelop/plugins/clang/codecompletion/../duchain/cursorkindtraits.h: In
> function ‘constexpr KDevelop::IntegralType::CommonIntegralTypes
> CursorKindTraits::integralType(CXTypeKind)’:
> /kdevelop/plugins/clang/codecompletion/../duchain/cursorkindtraits.h:215:15
> : error: ‘CXType_Float128’ was not declared in this scope ||TK ==
> CXType_Float128) ? IntegralType::TypeDouble
> ^
> /kdevelop/plugins/clang/codecompletion/../duchain/cursorkindtraits.h:229:1:
> error: body of constexpr function ‘constexpr
> KDevelop::IntegralType::CommonIntegralTypes
> CursorKindTraits::integralType(CXTypeKind)’ not a return-stateme nt
>
> Someone have an idea about it?
This patch https://cgit.kde.org/kdevelop.git/commit/?
id=12a10c601984137f5605f6c65c1d58f9a1c89ba9
only compiles with rather new libclang. It needs some
`#if CINDEX_VERSION_MINOR >= n` checks as seen for other CXType values,
because older LLVM doesn't have that value defined.
More information about the KDevelop-devel
mailing list