Game Development Community

WinWindow.cc error still in Alpha 4

by Peter Williamson · in Torque Game Builder · 02/02/2006 (11:59 am) · 4 replies

Just went to do a build VC express this morning- debug build was fine

Release build, however, still gave this!
Error 1 error C2440: 'initializing' : cannot convert from 'const char *' to 'char *' in winWindow.cc 1507

Peter

#1
02/02/2006 (1:52 pm)
I got the same thing. Was going to look at this later. But will watch here, for an answer
#2
02/02/2006 (11:40 pm)
Hmm, I don't get this but it looks easy to solve. Change them both to either 'const char*' or 'char*' and then recompile.
#3
02/04/2006 (5:25 pm)
Thanks Joe, changing line 1507:
char *p = strstr( (const char *) sWebKey  , "%1");
to
char *p = strstr( (char *) sWebKey  , "%1");
Did the trick.
#4
02/07/2006 (1:19 pm)
Peter,
This issue has been resolved in our repo and will be available in the next update as a standard, thanks a bunch :)

Cheers,
-Justin