WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 189009
189370
QuickLook.mm and QuickLookSoftLink.mm must never be built in the same unified source file
https://bugs.webkit.org/show_bug.cgi?id=189370
Summary
QuickLook.mm and QuickLookSoftLink.mm must never be built in the same unified...
Daniel Bates
Reported
2018-09-06 14:20:13 PDT
Today when I re-built WebKit after removing file PlatformEventFactoryIOS.mm from the list of files that are compatible with unified sources (Source/WebCore/SourcesCocoa.txt) my build failed with the following compile error: [[ In file included from /Volumes/.../DerivedSources/WebCore/unified-sources/UnifiedSource43-mm.mm:8: platform/ios/QuickLookSoftLink.mm:32:1: error: redefinition of default argument SOFT_LINK_FRAMEWORK_FOR_SOURCE(WebCore, QuickLook) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Volumes/.../DerivedSources/WebCore/unified-sources/UnifiedSource43-mm.mm:5: In file included from platform/ios/PlatformPasteboardIOS.mm:46: In file included from /Volumes/.../usr/local/include/wtf/SoftLinking.h:28: /Volumes/.../usr/local/include/wtf/cocoa/SoftLinking.h:345:35: note: expanded from macro 'SOFT_LINK_FRAMEWORK_FOR_SOURCE' void* framework##Library(bool isOptional = false); \ ^ ~~~~~ In file included from /Volumes/.../DerivedSources/WebCore/unified-sources/UnifiedSource43-mm.mm:7: In file included from platform/ios/QuickLook.mm:39: platform/ios/QuickLookSoftLink.h:30:1: note: previous definition is here SOFT_LINK_FRAMEWORK_FOR_HEADER(WebCore, QuickLook) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Volumes/.../DerivedSources/WebCore/unified-sources/UnifiedSource43-mm.mm:5: In file included from platform/ios/PlatformPasteboardIOS.mm:46: In file included from /Volumes/.../usr/local/include/wtf/SoftLinking.h:28: /Volumes/.../usr/local/include/wtf/cocoa/SoftLinking.h:336:42: note: expanded from macro 'SOFT_LINK_FRAMEWORK_FOR_HEADER' extern void* framework##Library(bool isOptional = false); \ ]]
Attachments
Patch
(4.10 KB, patch)
2018-09-06 14:31 PDT
,
Daniel Bates
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2018-09-06 14:20:54 PDT
The error indicates that QuickLook.mm and QuickLookSoftLink.mm cannot be built in the same unified source file.
Daniel Bates
Comment 2
2018-09-06 14:31:56 PDT
Created
attachment 349074
[details]
Patch
Andy Estes
Comment 3
2018-09-06 14:33:21 PDT
Comment on
attachment 349074
[details]
Patch Why not annotate with @no-unify?
Daniel Bates
Comment 4
2018-09-06 14:37:49 PDT
(In reply to Andy Estes from
comment #3
)
> Comment on
attachment 349074
[details]
> Patch > > Why not annotate with @no-unify?
Forgot.
Daniel Bates
Comment 5
2018-09-06 14:39:09 PDT
This issue was fixed with the patch in
bug #189009
. *** This bug has been marked as a duplicate of
bug 189009
***
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