VC++ project is throwing C3872,C3873,C2017 Error codes while compile

Arun kumar 1 Reputation point
2021-11-10T07:59:25.863+00:00

Hi,

I am facing VC++ build error.
Project contains the Japanese Unicode in the VC++ project.
Project builds in the Japanese OS and VS without any issues.
In Windows 10 Pro English, regardless of Multi Byte character and UTF-8 getting the C3872,C3873,C2017 Error codes while compile .
Please share some solutions to resolve it.

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,857 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Guido Franzke 2,186 Reputation points
    2021-11-10T08:35:57.223+00:00

    Hello,
    you should read the error descriptions:
    compiler-error-c3872
    compiler-error-c3873
    compiler-error-c2017
    I think, identifiers etc are written with Japanese signs/characters which the English compiler cannot handle.
    Regards, Guido

    Edit: show us some code with the error thrown. But I think you cannot use the English compiler because of Japanese characters. Multibyte and UTF-8 belong to strings, not to identifier names etc.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.