[Webkit-unassigned] [Bug 76476] Build failure on Snow Leopard i386: implicit conversion warnings
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 27 12:52:00 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=76476
--- Comment #3 from opendarwin at lapcatsoftware.com 2012-06-27 12:51:59 PST ---
I found something interesting. If I build i386 with Xcode 4.2 on Snow Leopard instead of Xcode 3.2.6, it succeeds, but I can see in the build transcript that it's using "-Wno-shorten-64-to-32", whereas you can see in my transcript above that it used -Wshorten-64-to-32 with Xcode 3.2.6.
I did a search of the WebKit project and found the xcconfig file:
https://trac.webkit.org/browser/trunk/Source/JavaScriptCore/Configurations/Base.xcconfig
67 WARNING_CFLAGS_macosx = $(WARNING_CFLAGS_macosx_$(CURRENT_ARCH));
68 WARNING_CFLAGS_macosx_ = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32;
69 WARNING_CFLAGS_macosx_i386 = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32;
70 WARNING_CFLAGS_macosx_ppc = $(WARNING_CFLAGS_BASE) -Wshorten-64-to-32;
71 // FIXME: JavaScriptCore 64-bit builds should build with -Wshorten-64-to-32
72 WARNING_CFLAGS_macosx_ppc64 = $(WARNING_CFLAGS_BASE);
73 WARNING_CFLAGS_macosx_x86_64 = $(WARNING_CFLAGS_BASE);
Notice the FIXME comment. If I add -Wshorten-64-to-32 to line 73, then the build fails even with Xcode 4.2.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list