Hi All,
I am running AngelScript in an environment where there is limited or missing support for std::stringstream
I have changed the two files of the add-on scriptstdstring.cpp and scriptstdstring.h
I submit the here for inclusion in future releases.
I understand that this may be a too specific problem to be considered, but anyway, I submit the (partial) solution here for anyone interested.
I cannot attach the cpp file, but I can sent it to anyone interested.The changes in the include file are just the addition of the following lines:
// Some environment have a limited support of strstreams.
// Setting this define to 0 reverts all formatting options to general functions
//
// 0 = off
// 1 = on
#ifndef AS_USE_STRSTREAMS
#define AS_USE_STRSTREAMS 0
#endif
I must admit that the change is not complete. I am not using the generic interface, so in that case I just placed a TODO comment.
If someone else is interested I can develop further on this matter, otherwise, I will keep these changes in my AngelScript version only.
Regards.
Mau.