Game Development Community

More compiler problems with VS.NET 2002

by Erik Yuzwa · in Torque Game Engine · 08/19/2003 (5:47 am) · 2 replies

Hi all,

I've been searching the forums, but can't seem to find any related issues.

I've just purchased the TGE SDK and am in the process of getting everything compiled with VS.NET 2002.

I've corrected most of the STL errors, but I'm stuck on the following one:

error C2664: 'std::basic_ostream >::write' : cannot convert parameter 1 from 'std::_Ptrit<_Ty,_Diff,_Pointer,_Reference,_Pointer2,_Reference2>::_Myt' to 'const char *'
with
[
_Ty=std::basic_string,std::allocator>::value_type,
_Diff=std::basic_string,std::allocator>::difference_type,
_Pointer=std::basic_string,std::allocator>::_Ctptr,
_Reference=std::basic_string,std::allocator>::const_reference,
_Pointer2=std::basic_string,std::allocator>::_Tptr,
_Reference2=std::basic_string,std::allocator>::reference
]

Does anyone have a solution for this?

thanks!

About the author

multi-talented game and web developer based in the glacial ice-caps of Calgary, Alberta. I'm versed in C++, and trying out Torque Game Builder Pro. I hope to get to know you, drop me a line and let's chat.


#1
08/19/2003 (6:27 am)
There are several STL related threads on the forms but I don't recall seeing this particular error before.

--Rick
#2
08/19/2003 (7:27 am)
:(

Yeah I know...leave it to me to find a new STL related compiler issue..hehe