Closed Bug 1484184 Opened 6 years ago Closed 6 years ago

Remove now unused _RAISE macro check to deal with MSVC 2017 15.8 (also affects clang-cl builds)

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox-esr60 fixed, firefox63 fixed)

RESOLVED FIXED
mozilla63
Tracking Status
firefox-esr60 --- fixed
firefox63 --- fixed

People

(Reporter: emk, Assigned: emk)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

15.8 moved _RAISE definitions to <yvals.h>.
Attachment #9001940 - Flags: review?(core-build-config-reviews)
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Blocks: 1484190
Hmmm, this affects clang build as well because it's the SDK change.
Also I can confirm that this patch fixes that problem.
(In reply to Xidorn Quan [:xidorn] UTC+10 from comment #2) > Hmmm, this affects clang build as well because it's the SDK change. More precisely, this is a CRT change. Although CRT headers do not belong to SDK, clang-cl depends on CRT headers and libraries.
Summary: Fix _RAISE macro check with MSVC 2017 15.8 → Fix _RAISE macro check with MSVC 2017 15.8 (also affects clang-cl builds)
Actually, I'm wondering do we still need this check at all. Grepping the whole codebase, I don't see we override _RAISE at all. Maybe this is just some out-of-date stuff we didn't clean up?
Comment on attachment 9001940 [details] [diff] [review] Fix _RAISE macro check with MSVC 2017 15.8 Oh, you are right. Bug 1376057 removed the use of _RAISE. I will update the patch.
Attachment #9001940 - Flags: review?(core-build-config-reviews)
Summary: Fix _RAISE macro check with MSVC 2017 15.8 (also affects clang-cl builds) → Remove now unused _RAISE macro check to deal with with MSVC 2017 15.8 (also affects clang-cl builds)
Summary: Remove now unused _RAISE macro check to deal with with MSVC 2017 15.8 (also affects clang-cl builds) → Remove now unused _RAISE macro check to deal with MSVC 2017 15.8 (also affects clang-cl builds)
Attachment #9002421 - Flags: review?(core-build-config-reviews)
Attachment #9001940 - Attachment is obsolete: true
Comment on attachment 9002421 [details] [diff] [review] Remove now unused _RAISE macro check to deal with MSVC 2017 15.8 Review of attachment 9002421 [details] [diff] [review]: ----------------------------------------------------------------- This is great, I had hacky patches to workaround this for AArch64, and it's nice to know that I don't need to polish them. Thank you!
Attachment #9002421 - Flags: review?(core-build-config-reviews) → review+
Depends on: 1376057
Pushed by VYV03354@nifty.ne.jp: https://hg.mozilla.org/integration/mozilla-inbound/rev/1ef81d07bc5b Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj
This test failure is bug 1484190. I'll re-land this patch.
Flags: needinfo?(VYV03354)
Pushed by VYV03354@nifty.ne.jp: https://hg.mozilla.org/integration/mozilla-inbound/rev/c66cc808862f Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Comment on attachment 9002421 [details] [diff] [review] Remove now unused _RAISE macro check to deal with MSVC 2017 15.8 [ESR Uplift Approval Request] If this is not a sec:{high,crit} bug, please state case for ESR consideration: Current tooling used to build central may fail to build esr60 on Windows using either msvc or clang. This is a hindrance to devs, who either need to rollback their tooling, or manually apply the fixes from bug 1484184 (this bug), and in the case of clang also bug 1462616 -- which I will request uplift of separately. Uplifting these patches smooths development of esr60 on Windows, and avoids devs having to manually discover these fixes and apply them. User impact if declined: End users are not impacted. Devs will not be able build esr60 without finding and applying the above patches. Fix Landed on Version: 63 Risk to taking this patch: Low Why is the change risky/not risky? (and alternatives if risky): The change is small and to the build system. The change has baked since 63. I have verified that esr60 Windows builds work with clang following the application of this and the other mentioned patch. String or UUID changes made by this patch: None.
Attachment #9002421 - Flags: approval-mozilla-esr60?
Comment on attachment 9002421 [details] [diff] [review] Remove now unused _RAISE macro check to deal with MSVC 2017 15.8 Makes life easier for devs compiling ESR60 with newer MSVC toolchains. Approved for 60.5.0esr.
Attachment #9002421 - Flags: approval-mozilla-esr60? → approval-mozilla-esr60+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: