VS C++ 2008 Professional Compile errors
by Aaron Hebert · in Technical Issues · 09/25/2008 (2:48 pm) · 4 replies
Conversion errors straight out of the box.
OS: Vista
Compiler: VS C++ 2008 Pro
Engine: TGE 1.5
Anyone know how to fix this issue?
Compiling...
winWindow.cc
f:\torque\tge_1_5_2\engine\platformwin32\winwindow.cc(34) : error C2440: 'initializing' : cannot convert from 'const wchar_t [22]' to 'const UTF16 *'
42 errors of basically the same thing.
Thanks in advance.
OS: Vista
Compiler: VS C++ 2008 Pro
Engine: TGE 1.5
Anyone know how to fix this issue?
Compiling...
winWindow.cc
f:\torque\tge_1_5_2\engine\platformwin32\winwindow.cc(34) : error C2440: 'initializing' : cannot convert from 'const wchar_t [22]' to 'const UTF16 *'
42 errors of basically the same thing.
Thanks in advance.
#2
He has Professional, Standard and up have the Platform SDK built in. Downloading it separately is only necessary for Express versions.
@ Aaron
Somewhere in the compiler settings is an option about treating wchar as a built-in type. Can't remember right off the top of my head where it's at but I'll see if I can find it again.
Found it. Project Properties->C/C++->Language->Treat wchar_t as Built-in Type->Set to No.
09/26/2008 (7:36 am)
@ CraigHe has Professional, Standard and up have the Platform SDK built in. Downloading it separately is only necessary for Express versions.
@ Aaron
Somewhere in the compiler settings is an option about treating wchar as a built-in type. Can't remember right off the top of my head where it's at but I'll see if I can find it again.
Found it. Project Properties->C/C++->Language->Treat wchar_t as Built-in Type->Set to No.
#3
09/26/2008 (7:37 am)
Oops missed that :)
#4
09/26/2008 (1:14 pm)
Thanks much
Associate Craig Fortune