[bt-devel] Windows (again) TCHAR
Gary Holmlund
gary.holmlund at gmail.com
Sun Mar 1 08:03:09 MST 2009
Greg Hellings wrote:
> 6) There is still one place in cswordmoduleinfo.cpp on line 240 where
> you need to cast stop_words to (const TCHAR**) === note that it is
> properly a pointer-pointer type. That looks like it should be the
> only actual coding problem still remaining with Visual Studio 2008
> compilation.
>
It looks like the TCHAR casts are not necessary if a compiler flag is
added to studio. The flag is /Zc:wchar_t-. It is found in the properties
dialog at Configuration Properties, C/C++, Language, "Treat wchar_t as
built-in type".
Gary
More information about the bt-devel
mailing list