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
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
src/lib/util/kformatprivate.cpp | ||
---|---|---|
121 | 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 | For the record, the current version of MSVC in use is 19.14.26430.0 (MSVS 2017, v15.7.3) |