[Webkit-unassigned] [Bug 234505] New: [Win] MSVC reports "DragImageCairoWin.cpp(142): error C2362: initialization of 'cr' is skipped by 'goto exit'" with /std:c++20

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 19 22:28:26 PST 2021


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

            Bug ID: 234505
           Summary: [Win] MSVC reports "DragImageCairoWin.cpp(142): error
                    C2362: initialization of 'cr' is skipped by 'goto
                    exit'" with /std:c++20
           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
            Blocks: 233448

[Win] MSVC reports "DragImageCairoWin.cpp(142): error C2362: initialization of 'cr' is skipped by 'goto exit'" with /std:c++20

> Source\WebCore\platform\win\DragImageCairoWin.cpp(142): error C2362: initialization of 'cr' is skipped by 'goto exit'
> Source\WebCore\platform\win\DragImageCairoWin.cpp(131): note: see declaration of 'cr'
> Source\WebCore\platform\win\DragImageCairoWin.cpp(142): note: see declaration of 'exit'
> Source\WebCore\platform\win\DragImageCairoWin.cpp(142): error C2362: initialization of 'srcImage' is skipped by 'goto exit'
> Source\WebCore\platform\win\DragImageCairoWin.cpp(126): note: see declaration of 'srcImage'
> Source\WebCore\platform\win\DragImageCairoWin.cpp(142): note: see declaration of 'exit'


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=233448
[Bug 233448] [CMake][MSVC] Compile with /permissive-
-- 
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/20211220/e9fbf4dd/attachment-0001.htm>


More information about the webkit-unassigned mailing list