| Summary: | Fix non-c-typedef-for-linkage warning in SocketStreamHandle | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Don Olmstead <don.olmstead> | ||||
| Component: | Platform | Assignee: | Don Olmstead <don.olmstead> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | achristensen, ews-watchlist, toyoshim, webkit-bug-importer, yutak | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
Created attachment 411898 [details]
Patch
Committed r268757: <https://trac.webkit.org/changeset/268757> All reviewed patches have been landed. Closing bug and clearing flags on attachment 411898 [details]. |
..\..\Source\WebCore\platform\network\SocketStreamHandle.h(42,15): warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] typedef struct { ^ SourceApplicationAuditToken ..\..\Source\WebCore\platform\network\SocketStreamHandle.h(46,17): note: type is not C-compatible due to this default member initializer void *empty { nullptr }; ^~~~~~~~~~~ ..\..\Source\WebCore\platform\network\SocketStreamHandle.h(48,3): note: type is given name 'SourceApplicationAuditToken' for linkage purposes by this typedef declaration } SourceApplicationAuditToken; ^ 1 warning generated.