D13613: RFC: Fix libclang default include paths on FreeBSD.

Aaron Puchert noreply at phabricator.kde.org
Thu Jul 12 23:39:08 BST 2018


aaronpuchert added a comment.


  In D13613#291301 <https://phabricator.kde.org/D13613#291301>, @arrowd wrote:
  
  > Files that are absent on FreeBSD are listed here <https://svnweb.freebsd.org/ports/head/devel/llvm60/files/clang/patch-tools_clang_lib_Headers_CMakeLists.txt?view=markup>. So, let's just use first one in lexicographics order: `adxintrin.h`.
  
  
  Do you know why these files are patched out?
  
  The intrinsics could be architecture-specific (I guess we both have an x86), and I'm not sure whether they will be installed on other architectures like PowerPC. What about `iso646.h` or `cpuid.h`?
  
  Or maybe you have a better idea how to recognize the builtin directory.

INLINE COMMENTS

> arrowd wrote in gcclikecompiler.cpp:193-196
> I don't have GCC built-in directories in output of my `clang`. However, this fixes the problem for me.

Not in `test_problems`. But it could happen in the actual application.

REPOSITORY
  R32 KDevelop

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

To: arrowd, #kdevelop, mwolff
Cc: mwolff, aaronpuchert, 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/20180712/67797dd7/attachment.html>


More information about the KDevelop-devel mailing list