[webkit-changes] [WebKit/WebKit] 18e2b7: WebKit release build fails in WTF_OVERRIDE_DELETE_...

Loïc Yhuel noreply at github.com
Thu Jan 16 08:09:43 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 18e2b7994ecc47cbe6d41538f92b00c4e53ce5e8
      https://github.com/WebKit/WebKit/commit/18e2b7994ecc47cbe6d41538f92b00c4e53ce5e8
  Author: Loïc Yhuel <loic.yhuel at softathome.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M Source/WTF/wtf/SingleThreadIntegralWrapper.h

  Log Message:
  -----------
  WebKit release build fails in WTF_OVERRIDE_DELETE_FOR_CHECKED_PTR with gcc 14
https://bugs.webkit.org/show_bug.cgi?id=274587

Reviewed by Geoffrey Garen.

The use of member variables after the destructor is reported as -Wuninitialized.
Disabling the warning in WTF_OVERRIDE_DELETE_FOR_CHECKED_PTR doesn't work in all
cases, we have to do it in SingleThreadIntegralWrapper::valueWithoutThreadCheck.

* Source/WTF/wtf/SingleThreadIntegralWrapper.h:
(WTF::SingleThreadIntegralWrapper::valueWithoutThreadCheck const):

Canonical link: https://commits.webkit.org/289012@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