Closed
Bug 823917
Opened 12 years ago
Closed 12 years ago
Use C++11 final on MSVC11
Categories
(Core :: MFBT, defect)
Tracking
()
RESOLVED
FIXED
mozilla20
People
(Reporter: emk, Assigned: emk)
References
()
Details
Attachments
(1 file)
1.43 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
MSVC11 supports C++11 final keyword.
Comment 1•12 years ago
|
||
They've supported equivalent functionality through a contextual "sealed" keyword since MSVC 2005. Is this only about making MOZ_FINAL expand to final rather than sealed in new-enough MSVC? I'm not complaining if you do that, but it doesn't seem to matter to me much, and if it were me I'd leave it all alone until every compiler we support supports the final contextual keyword.
Assignee | ||
Comment 2•12 years ago
|
||
After all, I wrote the patch with another cleanup. |#if _MSC_VER >= 1400| is redundant because our minimum compiler requirement is MSVC 2005 (Or MFBT has a different requirement?).
Assignee | ||
Comment 3•12 years ago
|
||
Try result (along with other patches): https://tbpl.mozilla.org/?tree=Try&rev=ee97ff67d30b
Comment 4•12 years ago
|
||
Comment on attachment 695276 [details] [diff] [review] Use C++11 final on MSVC11 Review of attachment 695276 [details] [diff] [review]: ----------------------------------------------------------------- mfbt follows overall JS/Gecko compiler requirements (or at least there's been no reason not to follow them so far). rs=me
Attachment #695276 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/001b109e68c4
Flags: in-testsuite-
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/001b109e68c4
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
You need to log in
before you can comment on or make changes to this bug.
Description
•