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 161967
170496
[iOS] DDQueryOffset is the wrong size in Public SDK builds
https://bugs.webkit.org/show_bug.cgi?id=170496
Summary
[iOS] DDQueryOffset is the wrong size in Public SDK builds
Andy Estes
Reported
2017-04-04 23:06:52 PDT
[iOS] DDQueryOffset is the wrong size in Public SDK builds
Attachments
Patch
(3.42 KB, patch)
2017-04-04 23:16 PDT
,
Andy Estes
ap
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Andy Estes
Comment 1
2017-04-04 23:16:48 PDT
Created
attachment 306262
[details]
Patch
Build Bot
Comment 2
2017-04-04 23:19:38 PDT
Attachment 306262
[details]
did not pass style-queue: ERROR: Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h:109: Please declare enum bitfields as unsigned integral types. [runtime/enum_bitfields] [5] ERROR: Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h:110: Please declare enum bitfields as unsigned integral types. [runtime/enum_bitfields] [5] Total errors found: 2 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
mitz
Comment 3
2017-04-04 23:23:14 PDT
I think this might be the cause of
bug 167594
!
Alexey Proskuryakov
Comment 4
2017-04-04 23:23:31 PDT
Comment on
attachment 306262
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=306262&action=review
Neat.
> Source/WebCore/ChangeLog:4 > +
https://bugs.webkit.org/show_bug.cgi?id=170496
https://bugs.webkit.org/show_bug.cgi?id=161967
?
> Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h:120 > +static_assert(sizeof(DDQueryOffset) == 8, "DDQueryOffset is defined to be 8 bytes in the Public SDK build.");
The message doesn't sound quite right - the assert can potentially fail in non-public build too (and that's a good thing).
Andy Estes
Comment 5
2017-04-04 23:30:44 PDT
(In reply to Alexey Proskuryakov from
comment #4
)
> Comment on
attachment 306262
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=306262&action=review
> > Neat. > > > Source/WebCore/ChangeLog:4 > > +
https://bugs.webkit.org/show_bug.cgi?id=170496
> >
https://bugs.webkit.org/show_bug.cgi?id=161967
? > > > Source/WebCore/platform/spi/cocoa/DataDetectorsCoreSPI.h:120 > > +static_assert(sizeof(DDQueryOffset) == 8, "DDQueryOffset is defined to be 8 bytes in the Public SDK build."); > > The message doesn't sound quite right - the assert can potentially fail in > non-public build too (and that's a good thing).
The message isn't saying in which build the assertion is failing, it's saying what size our SPI header defines the struct to be in the Public SDK build; it's just restating the assertion in English. I'll reword it as an error. Thanks for the review!
Andy Estes
Comment 6
2017-04-04 23:41:45 PDT
*** This bug has been marked as a duplicate of
bug 167594
***
Andy Estes
Comment 7
2017-04-04 23:42:10 PDT
*** This bug has been marked as a duplicate of
bug 161967
***
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