Bug 270770
| Summary: | [Clang] GeneratedSerializers.cpp(3716,11): error: offset of on non-standard-layout type 'WebKit::AudioTrackPrivateRemoteConfiguration' [-Werror,-Winvalid-offsetof] | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <fujii.hironori> |
| Component: | WebKit2 | Assignee: | Fujii Hironori <fujii.hironori> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | kkinnunen, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Fujii Hironori
Clang 18.0.1 reports an warning for Windows port.
C:\wk\WebKitBuild\Debug\WebKit\DerivedSources\GeneratedSerializers.cpp(3716,11): error: offset of on non-standard-layout type 'WebKit::AudioTrackPrivateRemoteConfiguration' [-Werror,-Winvalid-offsetof]
3716 | , offsetof(WebKit::AudioTrackPrivateRemoteConfiguration, enabled)
| ^ ~~~~~~~
C:\tools\llvm\lib\clang\18\include\__stddef_offsetof.h(11,24): note: expanded from macro 'offsetof'
11 | #define offsetof(t, d) __builtin_offsetof(t, d)
| ^ ~
C:\wk\WebKitBuild\Debug\WebKit\DerivedSources\GeneratedSerializers.cpp(3717,11): error: offset of on non-standard-layout type 'WebKit::AudioTrackPrivateRemoteConfiguration' [-Werror,-Winvalid-offsetof]
3717 | , offsetof(WebKit::AudioTrackPrivateRemoteConfiguration, kind)
| ^ ~~~~
C:\tools\llvm\lib\clang\18\include\__stddef_offsetof.h(11,24): note: expanded from macro 'offsetof'
11 | #define offsetof(t, d) __builtin_offsetof(t, d)
| ^ ~
C:\wk\WebKitBuild\Debug\WebKit\DerivedSources\GeneratedSerializers.cpp(3718,11): error: offset of on non-standard-layout type 'WebKit::AudioTrackPrivateRemoteConfiguration' [-Werror,-Winvalid-offsetof]
3718 | , offsetof(WebKit::AudioTrackPrivateRemoteConfiguration, trackConfiguration)
| ^ ~~~~~~~~~~~~~~~~~~
C:\tools\llvm\lib\clang\18\include\__stddef_offsetof.h(11,24): note: expanded from macro 'offsetof'
11 | #define offsetof(t, d) __builtin_offsetof(t, d)
| ^ ~
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Fujii Hironori
Pull request: https://github.com/WebKit/WebKit/pull/25695
EWS
Committed 275934@main (ca6b301ae49e): <https://commits.webkit.org/275934@main>
Reviewed commits have been landed. Closing PR #25695 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/124411838>