RESOLVED FIXED 178748
Allow OjbC Weak References when building TestAPI
https://bugs.webkit.org/show_bug.cgi?id=178748
Summary Allow OjbC Weak References when building TestAPI
Michael Saboff
Reported 2017-10-24 14:02:34 PDT
TestAPI is built using manual reference counting. Some version of the compiler will complain when building with default build flags.
Attachments
Patch (1.87 KB, patch)
2017-10-24 14:12 PDT, Michael Saboff
no flags
Updated Patch (2.53 KB, patch)
2017-10-24 15:21 PDT, Michael Saboff
no flags
Radar WebKit Bug Importer
Comment 1 2017-10-24 14:03:44 PDT
Michael Saboff
Comment 2 2017-10-24 14:12:01 PDT
WebKit Commit Bot
Comment 3 2017-10-24 14:31:05 PDT
Comment on attachment 324718 [details] Patch Clearing flags on attachment: 324718 Committed r223923: <https://trac.webkit.org/changeset/223923>
WebKit Commit Bot
Comment 4 2017-10-24 14:31:06 PDT
All reviewed patches have been landed. Closing bug.
mitz
Comment 5 2017-10-24 14:55:40 PDT
Comment on attachment 324718 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=324718&action=review > Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:10386 > + CLANG_ENABLE_OBJC_WEAK = YES; We shouldn’t specify build settings in the project file. This can probably go in ToolExecutable.xcconfig or if, for some reason, it can’t apply to all tools, in a new .xcconfig file.
Michael Saboff
Comment 6 2017-10-24 15:05:20 PDT
(In reply to mitz from comment #5) > Comment on attachment 324718 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=324718&action=review > > > Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj:10386 > > + CLANG_ENABLE_OBJC_WEAK = YES; > > We shouldn’t specify build settings in the project file. This can probably > go in ToolExecutable.xcconfig or if, for some reason, it can’t apply to all > tools, in a new .xcconfig file. Reopening this bug to move the build setting.
Michael Saboff
Comment 7 2017-10-24 15:21:59 PDT
Created attachment 324737 [details] Updated Patch
WebKit Commit Bot
Comment 8 2017-10-24 15:59:54 PDT
Comment on attachment 324737 [details] Updated Patch Clearing flags on attachment: 324737 Committed r223937: <https://trac.webkit.org/changeset/223937>
WebKit Commit Bot
Comment 9 2017-10-24 15:59:56 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.