Open Bug 1474856 Opened 6 years ago Updated 2 years ago

clang-cl version number is reported as MSVC version it is emulating

Categories

(Firefox Build System :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: ted, Unassigned)

References

Details

I noticed in about:buildconfig on my new nightly that's built with clang-cl that the compiler version number is reported as "19.13.26128", which is the MSVC version we're instructing it to emulate:
https://dxr.mozilla.org/mozilla-central/rev/085cdfb90903d4985f0de1dc7786522d9fb45596/build/moz.configure/toolchain.configure#522

This is because we use `_MSC_FULL_VER` here:
https://dxr.mozilla.org/mozilla-central/source/build/moz.configure/toolchain.configure#381

I'm not sure if this is important for anything, but it would be nice to have accurate information in about:buildconfig.
Might as well chain this to the clang-cl tracking bug.
Blocks: winclang
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.