WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
270770
[Clang] GeneratedSerializers.cpp(3716,11): error: offset of on non-standard-layout type 'WebKit::AudioTrackPrivateRemoteConfiguration' [-Werror,-Winvalid-offsetof]
https://bugs.webkit.org/show_bug.cgi?id=270770
Summary
[Clang] GeneratedSerializers.cpp(3716,11): error: offset of on non-standard-l...
Fujii Hironori
Reported
2024-03-10 14:03:04 PDT
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
Comment 1
2024-03-10 17:42:13 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/25695
EWS
Comment 2
2024-03-11 15:33:06 PDT
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
Comment 3
2024-03-11 15:34:14 PDT
<
rdar://problem/124411838
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug