Visual C++ messages encoding/parsing
Answered
I use VS14.0 toolchain with CMake3.9 and NMake. It looks like generation/compilation/linking works fine.
When compilation fails with any error, messages are shown partially broken, e.g:
Is there any workaround to watch messages? I have tried:
- to pass -DCMAKE_CXX_FLAGS="-utf-8" and to set same flag with #pragma execution_character_set("utf-8")
- to change encoding in Settings -> Editor -> File Encodings (cp-1251, cp-1252, us-ascii, utf-8)
- to change my system language (well, from US eng to UK eng)
- to look for logs in some raw encoding (managed to find only the same output)
Any ideas are very appreciated
Please sign in to leave a comment.
Unfortunately we don't have a workaround yet; please follow for the updates: https://youtrack.jetbrains.com/issue/CPP-11641
I'm surprised you got the compiler to work. Must be a different version with service pack probably. I'm getting strange errors as well.