[webkit-changes] [WebKit/WebKit] 75df00: [Clang] Fix build for CMake ports

Philippe Normand noreply at github.com
Tue Dec 3 01:27:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 75df0038fd3094071a1c5b4d5998eeb6622d516d
      https://github.com/WebKit/WebKit/commit/75df0038fd3094071a1c5b4d5998eeb6622d516d
  Author: Philippe Normand <philn at igalia.com>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M Source/WebCore/css/typedom/transform/CSSPerspective.h

  Log Message:
  -----------
  [Clang] Fix build for CMake ports

Unreviewed. The error was:

```
In file included from /var/home/phil/WebKit/WebKitBuild/GTK/Release/WTF/Headers/wtf/RefPtr.h:28:
/var/home/phil/WebKit/WebKitBuild/GTK/Release/WTF/Headers/wtf/Ref.h:62:16: error: member access into incomplete type 'WebCore::CSSKeywordValue'
   62 |             ptr->deref();
      |                ^
/var/home/phil/WebKit/WebKitBuild/GTK/Release/WTF/Headers/wtf/RefPtr.h:60:75: note: in instantiation of member function 'WTF::DefaultRefDerefTraits<WebCore::CSSKeywordValue>::derefIfNotNull' requested here
   60 |     inline __attribute__((__always_inline__)) ~RefPtr() { RefDerefTraits::derefIfNotNull(PtrTraits::exchange(m_ptr, nullptr)); }
      |                                                                           ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/variant:787:33: note: in instantiation of member function 'WTF::RefPtr<WebCore::CSSKeywordValue>::~RefPtr' requested here
  787 |   template<typename _Ti> struct _Arr { _Ti _M_x[1]; };
      |                                 ^
/var/home/phil/WebKit/Source/WebCore/css/typedom/transform/CSSPerspective.h:35:7: note: forward declaration of 'WebCore::CSSKeywordValue'
   35 | class CSSKeywordValue;
      |       ^
1 error generated.
```

* Source/WebCore/css/typedom/transform/CSSPerspective.h:

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