<table><tr><td style="">arrowd added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13613">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
          color: #6B748C;
          font-style: italic;
          margin: 4px 0 12px 0;
          padding: 8px 12px;
          background-color: #F8F9FC;">
<div style="font-style: normal;
          padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D13613#281509" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D13613#281509</a>, <a href="https://phabricator.kde.org/p/aaronpuchert/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@aaronpuchert</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><blockquote style="border-left: 3px solid #8C98B8;
          color: #6B748C;
          font-style: italic;
          margin: 4px 0 12px 0;
          padding: 8px 12px;
          background-color: #F8F9FC;">
<div style="font-style: normal;
          padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D13613#281365" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">D13613#281365</a>, <a href="https://phabricator.kde.org/p/arrowd/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@arrowd</a> wrote:</div>
<div style="margin: 0;
          padding: 0;
          border: 0;
          color: rgb(107, 116, 140);"><p>I was asking what's the right way. Do you think I should change the test?</p></div>
</blockquote>

<p>I think it would be a good first step to understand the problem, because the test seems to work on Linux. Which test specifically fails and how? I see that some tests use system headers or C++ standard library headers (e.g. <tt style="background: #ebebeb; font-size: 13px;">testMissingInclude_data</tt> uses <tt style="background: #ebebeb; font-size: 13px;"><vector></tt>), but they all work on my machine.</p></div>
</blockquote>

<p>Yes, it is exactly <tt style="background: #ebebeb; font-size: 13px;">testMissingInclude</tt> that fails. It should generate only one problem, but on FreeBSD it also contains:</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Error: 'sys/endian.h' file not found in /usr/include/c++/v1/__config:[(212,10),(212,24)]: <no explanation> (found by Semantic analysis)" ,<br />
 "Error: 'wchar.h' file not found in /usr/include/c++/v1/wchar.h:[(118,14),(118,23)]: <no explanation> (found by Semantic analysis)" , <br />
 "Error: 'stddef.h' file not found in /usr/include/c++/v1/cstddef:[(43,14),(43,24)]: <no explanation> (found by Semantic analysis)" , <br />
 "Error: 'string.h' file not found in /usr/include/c++/v1/string.h:[(60,14),(60,24)]: <no explanation> (found by Semantic analysis)" ,<br />
 "Error: 'stdint.h' file not found in /usr/include/c++/v1/stdint.h:[(118,14),(118,24)]: <no explanation> (found by Semantic analysis)" ,<br />
 "Error: 'stdlib.h' file not found in /usr/include/c++/v1/stdlib.h:[(93,14),(93,24)]: <no explanation> (found by Semantic analysis)" ,<br />
 "Error: 'assert.h' file not found in /usr/include/c++/v1/cassert:[(20,9),(20,19)]: <no explanation> (found by Semantic analysis)" , <br />
 "Error: 'limits.h' file not found in /usr/include/c++/v1/limits.h:[(57,14),(57,24)]: <no explanation> (found by Semantic analysis)" ,<br />
 "Error: 'limits.h' file not found in /usr/include/c++/v1/limits.h:[(61,14),(61,24)]: <no explanation> (found by Semantic analysis)"</p></blockquote>

<p>I think, the cause is that standard C++ library on FreeBSD is libc++, and it uses libc headers under the hood.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13613">https://phabricator.kde.org/D13613</a></div></div><br /><div><strong>To: </strong>arrowd, KDevelop, mwolff<br /><strong>Cc: </strong>mwolff, aaronpuchert, kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>