[Webkit-unassigned] [Bug 282314] New: Fix errors of platform/graphics/skia/PlatformDisplaySkia.cpp for Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 29 19:52:06 PDT 2024


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

            Bug ID: 282314
           Summary: Fix errors of
                    platform/graphics/skia/PlatformDisplaySkia.cpp for
                    Windows
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

C:\webkit\wc\Source\WebCore\platform/graphics/skia/PlatformDisplaySkia.cpp(50,10): fatal error: 'skia/gpu/gl/egl/GrGLMakeEGLInterface.h' file not found
   50 | #include <skia/gpu/gl/egl/GrGLMakeEGLInterface.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.


C:\webkit\wc\Source\WebCore\platform/graphics/skia/PlatformDisplaySkia.cpp(77,25): error: non-friend class member 'MakeEGL' cannot have a qualified name
   77 |         GrGLInterfaces::MakeEGL()
      |         ~~~~~~~~~~~~~~~~^
C:\webkit\wc\Source\WebCore\platform/graphics/skia/PlatformDisplaySkia.cpp(77,25): error: a type specifier is required for all declarations
C:\webkit\wc\Source\WebCore\platform/graphics/skia/PlatformDisplaySkia.cpp(77,34): error: expected ';' at end of declaration list
   77 |         GrGLInterfaces::MakeEGL()
      |                                  ^
      |                                  ;
C:\webkit\wc\Source\WebCore\platform/graphics/skia/PlatformDisplaySkia.cpp(73,55): error: cannot combine with previous 'type-name' declaration specifier
   73 |     static NeverDestroyed<sk_sp<const GrGLInterface>> interface {
      |                                                       ^
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\combaseapi.h(168,19): note: expanded from macro 'interface'
  168 | #define interface __STRUCT__
      |                   ^
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\combaseapi.h(167,20): note: expanded from macro '__STRUCT__'
  167 | #define __STRUCT__ struct
      |                    ^
In file included from C:\webkit\wc\WebKitBuild\Debug\WebCore\DerivedSources\unified-sources\UnifiedSource-3c72abbe-54.cpp:1:
C:\webkit\wc\Source\WebCore\platform/graphics/skia/PlatformDisplaySkia.cpp(73,5): error: declaration does not declare anything [-Werror,-Wmissing-declarations]
   73 |     static NeverDestroyed<sk_sp<const GrGLInterface>> interface {
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\webkit\wc\Source\WebCore\platform/graphics/skia/PlatformDisplaySkia.cpp(81,12): error: expected expression
   81 |     return interface.get();
      |            ^
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\combaseapi.h(168,19): note: expanded from macro 'interface'
  168 | #define interface __STRUCT__
      |                   ^
C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\combaseapi.h(167,20): note: expanded from macro '__STRUCT__'
  167 | #define __STRUCT__ struct
      |                    ^
6 errors generated.

-- 
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/20241030/875fde59/attachment.htm>


More information about the webkit-unassigned mailing list