Bug 249078
| Summary: | DataDetection.mm fails to build with newer clang when initializing DDQueryOffset | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | WebCore Misc. | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | achristensen, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
David Kilzer (:ddkilzer)
DataDetection.mm fails to build with newer clang when initializing DDQueryOffset.
Source/WebCore/editing/cocoa/DataDetection.mm:549:53: error: missing field 'offset' initializer [-Werror,-Wmissing-field-initializers]
The current code does this:
DDQueryOffset lastModifiedQueryOffset = { -1, 0 };
The DDQueryOffset type is defined as:
typedef struct __DDQueryOffset {
CFIndex queryIndex:32;
CFIndex offset:32;
} DDQueryOffset;
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/7446
Radar WebKit Bug Importer
<rdar://problem/103217701>
EWS
Committed 257687@main (68b73575a9aa): <https://commits.webkit.org/257687@main>
Reviewed commits have been landed. Closing PR #7446 and removing active labels.