[Webkit-unassigned] [Bug 222467] New: Fix clang compilation error in PlatformXR::ViewData initialization

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 26 05:06:58 PST 2021


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

            Bug ID: 222467
           Summary: Fix clang compilation error in PlatformXR::ViewData
                    initialization
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebXR
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ifernandez at igalia.com

Compilation can fail if the related C99 extension is not supported.

Mixture of designated and non-designated initializers in the same initializer list is a C99 extension [-Wc99-designator]

../../Source/WebCore/platform/xr/openxr/PlatformXROpenXR.cpp:218:24: warning: mixture of designated and non-designated initializers in the same initializer list is a C99 extension [-Wc99-designator]
        views.append({ .active = true, Eye::Right });
                       ^~~~~~~~~~~~~~
../../Source/WebCore/platform/xr/openxr/PlatformXROpenXR.cpp:218:40: note: first non-designated initializer is here
        views.append({ .active = true, Eye::Right });
                                       ^~~~~~~~~~

-- 
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/20210226/1ef7fd51/attachment.htm>


More information about the webkit-unassigned mailing list