D14313: Fix clangsupport on FreeBSD.

Pino Toscano noreply at phabricator.kde.org
Tue Jul 24 08:08:56 BST 2018


pino added inline comments.

INLINE COMMENTS

> clangsupport.cpp:181
>          const auto builtinDir = ClangIntegration::DUChainUtils::clangBuiltinIncludePath();
> -        if (!QFile::exists(builtinDir + QLatin1String("/varargs.h"))) {
> -            setErrorDescription(i18n("The clang builtin include path \"%1\" is invalid (missing varargs.h header).\n"
> +        const auto headerToCheck = QLatin1String("/cpuid.h");
> +        if (!QFile::exists(builtinDir + headerToCheck)) {

Most probably this variable should not start with `/`.

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D14313

To: arrowd, #kdevelop
Cc: pino, kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180724/e8b8de10/attachment.html>


More information about the KDevelop-devel mailing list