Probably the path to tchar.h is not known to cppcheck. Rather than including that system header in the analysis, you should pass --library=windows --platform=win64, assuming you don't already.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am getting the following error message:
I am including tchar.h in my file, so cppcheck shouldn't be confused about this, but in any case, I'm trying to exclude this error via:
However, neither of these suppress statements remove the message. Is that because it is an error rather than a warning??
BTW, the file compiles with no warnings, using -Wall ...
Probably the path to tchar.h is not known to cppcheck. Rather than including that system header in the analysis, you should pass
--library=windows --platform=win64, assuming you don't already.