Bug 233412 - [MSVC] RenderBlock.cpp(2259): warning C4239: nonstandard extension used: 'initializing': conversion from 'WebCore::Length' to 'WebCore::Length &'
Summary: [MSVC] RenderBlock.cpp(2259): warning C4239: nonstandard extension used: 'ini...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-21 21:35 PST by Fujii Hironori
Modified: 2021-11-22 12:43 PST (History)
12 users (show)

See Also:


Attachments
Patch (3.48 KB, patch)
2021-11-21 21:39 PST, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2021-11-21 21:35:50 PST
[MSVC] RenderBlock.cpp(2259): warning C4239: nonstandard extension used: 'initializing': conversion from 'WebCore::Length' to 'WebCore::Length &'

WinCairo build reports the following warnings.

Source\WebCore\rendering/RenderBlock.cpp(2259): warning C4239: nonstandard extension used: 'initializing': conversion from 'WebCore::Length' to 'WebCore::Length &'
Source\WebCore\rendering/RenderBlock.cpp(2259): note: A non-const reference may only be bound to an lvalue
Source\WebCore\rendering/RenderBox.cpp(3116): warning C4239: nonstandard extension used: 'initializing': conversion from 'WebCore::Length' to 'WebCore::Length &'
Source\WebCore\rendering/RenderBox.cpp(3116): note: A non-const reference may only be bound to an lvalue
Comment 1 Fujii Hironori 2021-11-21 21:39:38 PST
Created attachment 444943 [details]
Patch
Comment 2 Fujii Hironori 2021-11-21 21:40:15 PST
Bug 230755 added the code.
Comment 3 EWS 2021-11-22 12:42:18 PST
Committed r286118 (244505@main): <https://commits.webkit.org/244505@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 444943 [details].
Comment 4 Radar WebKit Bug Importer 2021-11-22 12:43:21 PST
<rdar://problem/85682648>