[webkit-dev] Configuring for Clang

Jeff Johnson opendarwin at lapcatsoftware.com
Wed Jun 27 06:18:12 PDT 2012

Hi Mark.

You can use GCC_TREAT_WARNINGS_AS_ERRORS=NO to build successfully. See my bug:


I'm not quite sure about the idea that "This cannot be an issue with WebKit source code because we successfully make nightly builds all the time." More accurate would be that they don't support your version of Xcode.


On Jun 27, 2012, at 3:52 AM, Mark Gilbert wrote:

> Hi Folks.
> I have been trying for weeks to build WebKit in 32-bit.
> My system is a MacMini Server with 10.7.4 and latest XCode.  
> I update via SVN then use build-webkit.  This creates a good working 64bit version.
> However, when I use build-webkit --32-bit or   build-webkit ARCHS="i386 x86_64" ONLY_ACTIVE_ARCH=NO   I get various build failures which generally seem related to 32bit truncation of 64bit values.
> The folks who have responded to my bug report suggest this is because my system uses GCC when running build-webkit instead of clang.
> I wondered if someone could provide instructions on configuring this machine to use clang instead when running build-webkit.
> Thanks
> Mark

More information about the webkit-dev mailing list