When I compile a C++ program, Visual Studio shows several error messages, as shown in the screenshot below:
The strange thing is that the error-related header files (such as cstdint or stdint.h) are not written by myself, but the official, standard header files. Since these header files are official standard header files, they should be correct and not cause errors.
Here are some more specific error messages, such as line 25 of the cstdint file. The error message about this line is shown in the screenshot below:
The strange thing is that only the type in line 25 is colored purple, and the types in the other lines are colored green.
The line 25 where error occurred is:
using _CSTD int64_t;
Thank you for reading my question, I would like to know what caused this error and it would be a pleasure to receive your answer.