[webkit-changes] [WebKit/WebKit] ca6b30: [Clang] GeneratedSerializers.cpp(3716, 11): error: ...

Fujii Hironori noreply at github.com
Mon Mar 11 15:33:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ca6b301ae49e5d0317d016fcb053e88c5dfd2dde
      https://github.com/WebKit/WebKit/commit/ca6b301ae49e5d0317d016fcb053e88c5dfd2dde
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M Source/WebKit/Scripts/generate-serializers.py

  Log Message:
  -----------
  [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

Reviewed by Alex Christensen.

Clang 18.1.1 reports a warning for GeneratedSerializers.cpp:

> DerivedSources\GeneratedSerializers.cpp(3716,11): error: offset of on non-standard-layout type 'WebKit::AudioTrackPrivateRemoteConfiguration' [-Werror,-Winvalid-offsetof]
>  3716 |         , offsetof(WebKit::AudioTrackPrivateRemoteConfiguration, enabled)
>       |           ^                                                      ~~~~~~~

generate-serializers.py already suppresses the warning for GCC.

* Source/WebKit/Scripts/generate-serializers.py:
Ignore `invalid-offsetof` warning both for GCC and Clang.

Canonical link: https://commits.webkit.org/275934@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list