<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CMake] Build failure with GCC 6 (fatal error: stdlib.h: No such file or directory)"
   href="https://bugs.webkit.org/show_bug.cgi?id=161697#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CMake] Build failure with GCC 6 (fatal error: stdlib.h: No such file or directory)"
   href="https://bugs.webkit.org/show_bug.cgi?id=161697">bug 161697</a>
              from <span class="vcard"><a class="email" href="mailto:clopez&#64;igalia.com" title="Carlos Alberto Lopez Perez &lt;clopez&#64;igalia.com&gt;"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=161697#c10">comment #10</a>)
<span class="quote">&gt; you can also look at setting CMAKE_NO_SYSTEM_FROM_IMPORTED=1
&gt; which will set NO_SYSTEM_FROM_IMPORTED as explained here
&gt; 
&gt; <a href="https://cmake.org/cmake/help/v3.5/prop_tgt/NO_SYSTEM_FROM_IMPORTED">https://cmake.org/cmake/help/v3.5/prop_tgt/NO_SYSTEM_FROM_IMPORTED</a>.
&gt; html#prop_tgt:NO_SYSTEM_FROM_IMPORTED</span >

Not sure how this will work. The idea is to keep using -isystem for headers included from outside of webkit (like third party libraries) to avoid the noise produced by the warnings of some of this libraries (specially verbose with clang sometimes)...

But, I think I found a way of getting the list of default system include directories from GCC, so then I can append them to CMAKE_C/CXX_IMPLICIT_INCLUDE_DIRECTORIES. I will upload a patch soon if all the tests i'm doing with it end being successful.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>