Closed Bug 1535732 (VS2019) Opened 6 years ago Closed 6 years ago

Officially support building with Visual Studio 2019

Categories

(Firefox Build System :: General, enhancement)

All
Windows
enhancement
Not set
major

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: Virtual, Unassigned)

References

Details

(Keywords: meta, nightly-community)

Has Regression Range: --- → irrelevant
Has STR: --- → irrelevant
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX

We still rely on MSVC, though, for headers and some tools, so if there are problems with those newer versions, please file specific bugs.

"We have dropped support for compiling with MSVC"
Does it mean that there will be no support for embedding SM (pre-built with clang) with MSVC? (like the linked bug with headers incompatibility)

formatting fix

We have dropped support for compiling with MSVC

Does it mean that there will be no support for embedding SM (pre-built with clang) with MSVC? (like the linked bug with headers incompatibility)

I will rephrase the question a bit:
Does it mean that there is NO support for embedding (pre-built) SM with ANY compiler other than clang?

Versions of Firefox that supported compiling with MSVC should work as pre-built binaries. Support for embedding with non-ESR versions is best-effort; we recommend that embedders use ESR SpiderMonkey when possible.

Fair enough, but the thing is that there is a WONT FIX label here, which means it won't be supported in upcoming ESR68 either.

WONT FIX means that "any incompatibilities that will appear because of changes in compilers or in SM headers (which will surely appear in time with probability of 100%) won't be ever fixed". So, to continue using SpiderMonkey (even from ESR branches) embedders will have to either use outdated compilers or use outdated SpiderMonkey, both of which are rather bleak options.

To avoid possible confusion (since it was brought up in IRC): I'm not talking about compiling SM (or any other part of FF), but rather building something by using only external SpiderMonkey headers (which is a common scenario for shared library usage).

We still rely on MSVC, though, for headers and some tools, so if there are problems with those newer versions, please file specific bugs.

There are problems with MSVC2017 now in the sense that downloading it is hidden behind a Microsoft account login portal and an extra "dev essentials" signup on Microsoft's site. But our build instructions still refer to it (https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites) and of course the download links there now point to MSVC2019.

You need to log in before you can comment on or make changes to this bug.