| Summary: | Make union initializers for JSC::PropertySlot more explicit about which field is being initialized | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
| Component: | JavaScriptCore | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | aakash_jain, bfulgham, darin, ews-watchlist, keith_miller, mark.lam, msaboff, pvollan, saam, stephan.szabo, tzagallo | ||||
| Priority: | P2 | ||||||
| Version: | Other | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | https://en.cppreference.com/w/cpp/language/aggregate_initialization | ||||||
| Bug Depends on: | 211267 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
David Kilzer (:ddkilzer)
2020-05-19 11:26:00 PDT
Created attachment 399754 [details]
Patch v1
Comment on attachment 399754 [details]
Patch v1
Neat, but the Windows bots don't seem to like this change.
(In reply to Mark Lam from comment #2) > Comment on attachment 399754 [details] > Patch v1 > > Neat, but the Windows bots don't seem to like this change. Ha! C:\Buildbot\WinCairo-EWS\build\Source\JavaScriptCore\runtime\PropertySlot.h(389): error C7555: use of designated initializers requires at least '/std:c++latest' C:\Buildbot\WinCairo-EWS\build\Source\JavaScriptCore\runtime\PropertySlot.h(404): error C7555: use of designated initializers requires at least '/std:c++latest' I guess we can hold off on this until the Windows bots add the '/std:c++latest' switch in the future. |