Bug 217979

Summary: Fix non-c-typedef-for-linkage warning in SocketStreamHandle
Product: WebKit Reporter: Don Olmstead <don.olmstead>
Component: PlatformAssignee: 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:
Description Flags
Patch none

Description Don Olmstead 2020-10-20 12:01:49 PDT
..\..\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.
Comment 1 Don Olmstead 2020-10-20 12:33:48 PDT
Created attachment 411898 [details]
Patch
Comment 2 EWS 2020-10-20 13:21:12 PDT
Committed r268757: <https://trac.webkit.org/changeset/268757>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 411898 [details].
Comment 3 Radar WebKit Bug Importer 2020-10-20 13:22:18 PDT
<rdar://problem/70498896>