| Summary: | [EFL] Fix deprecated declarations warnings related to WK2 versioned structs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> | ||||
| Component: | New Bugs | Assignee: | Csaba Osztrogonác <ossy> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | andersca, commit-queue, darin, kling, ossy, sam | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 145121 | ||||||
| Attachments: |
|
||||||
Created attachment 254786 [details]
Patch
Comment on attachment 254786 [details] Patch Clearing flags on attachment: 254786 Committed r185496: <http://trac.webkit.org/changeset/185496> All reviewed patches have been landed. Closing bug. |
for example: ------------- ../../Source/WebKit2/UIProcess/efl/ContextHistoryClientEfl.cpp:120:40: warning: 'WKContextHistoryClient' is deprecated: Use an explicit versioned struct instead [-Wdeprecated-declarations] memset(&wkHistoryClient, 0, sizeof(WKContextHistoryClient)); ^ ../../Source/WebKit2/UIProcess/API/C/WKContextHistoryClient.h:64:3: note: 'WKContextHistoryClient' has been explicitly marked deprecated here } WKContextHistoryClient __attribute__((deprecated("Use an explicit versioned struct instead"))); ^ 1 warning generated. ../../Source/WebKit2/UIProcess/efl/ContextMenuClientEfl.cpp:62:42: warning: 'WKPageContextMenuClient' is deprecated: Use an explicit versioned struct instead [-Wdeprecated-declarations] memset(&contextMenuClient, 0, sizeof(WKPageContextMenuClient)); ^ ../../Source/WebKit2/UIProcess/API/C/WKPageContextMenuClient.h:119:3: note: 'WKPageContextMenuClient' has been explicitly marked deprecated here } WKPageContextMenuClient __attribute__((deprecated("Use an explicit versioned struct instead"))); ^ 1 warning generated. ...