[Webkit-unassigned] [Bug 270770] New: [Clang] GeneratedSerializers.cpp(3716, 11): error: offset of on non-standard-layout type 'WebKit::AudioTrackPrivateRemoteConfiguration' [-Werror, -Winvalid-offsetof]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 10 14:03:04 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=270770

            Bug ID: 270770
           Summary: [Clang] GeneratedSerializers.cpp(3716,11): error:
                    offset of on non-standard-layout type
                    'WebKit::AudioTrackPrivateRemoteConfiguration'
                    [-Werror,-Winvalid-offsetof]
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com
                CC: kkinnunen at apple.com

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)
      |                        ^                     ~

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240310/0fd05736/attachment-0001.htm>


More information about the webkit-unassigned mailing list