MSVC is unable to parse UTF-8 sequences when the file has no BOM (byte
order mark), and fails with "error C2015: too many characters in constant".
Details
Details
- Reviewers
kossebau bcooksley - Group Reviewers
Frameworks - Commits
- R244:5c3f5eade4cc: KFormat: Replace unicode literal with unicode codepoint to fix MSVC build
run kformattest unit test
Diff Detail
Diff Detail
- Repository
- R244 KCoreAddons
- Branch
- msvc_fix
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 854 Build 867: arc lint + arc unit
src/lib/util/kformatprivate.cpp | ||
---|---|---|
121–122 | Would it make sense to mention with which MSVC version this was tested? At some point in time, this may be fixed, and then the comment is wrong. |
src/lib/util/kformatprivate.cpp | ||
---|---|---|
121–122 | For the record, the current version of MSVC in use is 19.14.26430.0 (MSVS 2017, v15.7.3) |