The TCHAR_TO_ANSI style macros must not be used like this. They can only be used directly for arguments to function calls, etc.
To assign a pointer to the converted value, an intermediate conversion variable must be used.
Hi,
Yes, thanks for bringing those up!
I did a pass recently on those, but it seems that I missed a couple!
PR merge on our end, it will be in tomorrow's daily build.
The
TCHAR_TO_ANSI
style macros must not be used like this. They can only be used directly for arguments to function calls, etc. To assign a pointer to the converted value, an intermediate conversion variable must be used.Found by cross-compiling for Linux using Clang