[Webkit-unassigned] [Bug 24274] New: WebKit Qt build fails on Mac with Qt 4.4.2
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 1 13:23:47 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24274
Summary: WebKit Qt build fails on Mac with Qt 4.4.2
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: kde at bunce.us
WebKit Qt build fails on Mac with Qt 4.4.2 built with:
$ ./WebKitTools/Scripts/build-webkit --qt --debug
The first failure is:
../../../WebCore/platform/text/mac/StringImplMac.mm -o tmp/StringImplMac.o
../../../WebCore/platform/mac/FoundationExtras.h: In function objc_object*
HardRetain(objc_object*):
../../../WebCore/platform/mac/FoundationExtras.h:35: error: CFRetain was not
declared in this scope
../../../WebCore/platform/mac/FoundationExtras.h: In function void
HardRelease(objc_object*):
../../../WebCore/platform/mac/FoundationExtras.h:41: error: CFRelease was not
declared in this scope
../../../WebCore/platform/mac/FoundationExtras.h: In function objc_object*
HardRetainWithNSRelease(objc_object*):
../../../WebCore/platform/mac/FoundationExtras.h:57: warning: no -release
method found
../../../WebCore/platform/mac/FoundationExtras.h:57: warning: (Messages without
a matching method signature
../../../WebCore/platform/mac/FoundationExtras.h:57: warning: will be assumed
to return id and accept
../../../WebCore/platform/mac/FoundationExtras.h:57: warning: ... as
arguments.)
../../../WebCore/platform/mac/FoundationExtras.h: At global scope:
../../../WebCore/platform/mac/FoundationExtras.h:66: error: HardAutorelease
declared as an inline variable
../../../WebCore/platform/mac/FoundationExtras.h:66: error: CFTypeRef was not
declared in this scope
../../../WebCore/platform/mac/FoundationExtras.h:67: error: expected , or ;
before { token
../../../WebCore/platform/text/mac/StringImplMac.mm: In member function
WebCore::StringImpl::operator NSString*():
../../../WebCore/platform/text/mac/StringImplMac.mm:30: error:
HardAutorelease cannot be used as a function
make[1]: *** [tmp/StringImplMac.o] Error 1
This was caused by the migration by the Mac port to use FoundationExtras.h
(which didn't include the <Foundation/Foundation.h> header).
After fixing that problem we get:
../../../WebCore/plugins/mac/PluginViewMac.cpp:
../../../WebCore/plugins/mac/PluginViewMac.cpp:72: error: JSC::JSValue has
not been declared
../../../WebCore/plugins/mac/PluginViewMac.cpp:79: error: OSWindowRef does
not name a type
make[1]: *** [tmp/PluginViewMac.o] Error 1
The JSC::JSValue error is caused by the in-progress migration through the new
JSC::JSValuePtr rework.
The second is caused by the typedef being different between Qt 4.4.x
(WindowPtr) and Qt 4.5 (OSWindowRef).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list