WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
25516
Build warnings: 'weak_import' attribute ignored for @property AVAILABLE_IN_WEBKIT_VERSION_4_0
https://bugs.webkit.org/show_bug.cgi?id=25516
Summary
Build warnings: 'weak_import' attribute ignored for @property AVAILABLE_IN_WE...
Jeff Johnson
Reported
2009-05-02 01:09:21 PDT
I'm using WebKit revision 43137, Mac OS X 10.5.6, Xcode 3.1.2 I built a test Cocoa application linked to WebKitBuild/Debug/WebKit.framework. I got 24 build warnings: "'weak_import' attribute ignored". All 24 build warnings are for @property declarations with the AVAILABLE_IN_WEBKIT_VERSION_4_0 macro. On my system, the following definition applies: #define AVAILABLE_IN_WEBKIT_VERSION_4_0 WEAK_IMPORT_ATTRIBUTE Here is the complete list of warnings: WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMText.h:35: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMDocument.h:81: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMElement.h:53: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMElement.h:54: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMElement.h:55: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMElement.h:56: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMElement.h:57: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMCSSStyleSheet.h:38: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLButtonElement.h:38: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLButtonElement.h:42: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLDocument.h:43: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLDocument.h:44: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLIFrameElement.h:47: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLInputElement.h:46: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLInputElement.h:48: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLInputElement.h:56: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLInputElement.h:62: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLSelectElement.h:43: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLSelectElement.h:46: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLTextAreaElement.h:40: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMHTMLTextAreaElement.h:46: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMEvent.h:48: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMEvent.h:49: warning: 'weak_import' attribute ignored WebKit/WebKitBuild/Debug/WebKit.framework/Headers/DOMEvent.h:50: warning: 'weak_import' attribute ignored
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2009-05-02 08:26:07 PDT
I think this is actually a compiler bug, as slightly newer versions of GCC have been fixed to not warn on this code. I wonder if there's any way we can work around it for affected compiler versions.
Mark Rowe (bdash)
Comment 2
2009-05-02 08:26:45 PDT
<
rdar://problem/6850092
>
Alexey Proskuryakov
Comment 3
2012-10-12 11:49:12 PDT
We no longer support such old Xcode.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug