[Webkit-unassigned] [Bug 161697] [CMake] Build failure with GCC 6 (fatal error: stdlib.h: No such file or directory)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 7 20:10:08 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=161697

--- Comment #11 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to comment #10)
> you can also look at setting CMAKE_NO_SYSTEM_FROM_IMPORTED=1
> which will set NO_SYSTEM_FROM_IMPORTED as explained here
> 
> https://cmake.org/cmake/help/v3.5/prop_tgt/NO_SYSTEM_FROM_IMPORTED.
> html#prop_tgt:NO_SYSTEM_FROM_IMPORTED

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160908/20e8fde0/attachment.html>


More information about the webkit-unassigned mailing list