Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
2.0
-
None
-
-
9f4254a94 (2.0)
Description
Scenario
- Make a profile with clang-cl 10.0 and vcvars from MSVC 14.2;
- Set "cpp.cLanguageVersion:c11" in your product.
Expected behavior
qbs doesn't set "/std:c11" as a compiler flag because clang-cl 10.0 doesn't support it
Actual behavior
qbs set "/std:c11", clang-cl raises "unused-command-line-argument" warning
Additional info
It looks like comparing MSVC and clang-cl versions via Utilities.versionCompare works errorneously because of the "compiler version build number" component in cpp.compilerVersion for MSVC
Attachments
Issue Links
- relates to
-
QBS-1734 Using exceptions for debugging does not work
- Closed
For Gerrit Dashboard: QBS-1733 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
477306,3 | js_versionCompare: allow build number | 2.0 | qbs/qbs | Status: MERGED | +2 | +1 |