I'm using STLport-4.5.3 with MSVC6 sp5
When I was testing what happens when the server was down with XmlRpcClient,
I got a stack overflow error.
As I traced in I found that there was a infinite recursion in STLport vsnprintf.
It was because XmlRpcUtil.h defined vsprintf as _vsprintf and below is the code of STLport
# if defined (_STLP_MSVC) || defined (__ICL)
inline
int vsnprintf(char *s1, size_t n, const char *s2, va_list v)
{
return _STLP_VENDOR_CSTD::_vsnprintf(s1, n, s2, v);
}
# endif
I hope I traced a new bug correctly or I misused the xmlrpcpp library.
How should I solve this problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using STLport-4.5.3 with MSVC6 sp5
When I was testing what happens when the server was down with XmlRpcClient,
I got a stack overflow error.
As I traced in I found that there was a infinite recursion in STLport vsnprintf.
It was because XmlRpcUtil.h defined vsprintf as _vsprintf and below is the code of STLport
# if defined (_STLP_MSVC) || defined (__ICL)
inline
int vsnprintf(char *s1, size_t n, const char *s2, va_list v)
{
return _STLP_VENDOR_CSTD::_vsnprintf(s1, n, s2, v);
}
# endif
I hope I traced a new bug correctly or I misused the xmlrpcpp library.
How should I solve this problem?