I have Visual studio 2013 and if I switch compilation to 2012 Windows XP (v_110xp) RELEASE then function wcstold becomes undefined
but in DEBUG mode it compliles without errors
Code: Select all
#include <wchar.h>
long double strtoLD0(LPCTSTR lpsz)
{
wchar_t* endptr = NULL;
return wcstold(lpsz, &endptr);
// return wxAtof(lpsz);
}
// 'Main program' equivalent: the program execution "starts" here
bool MyApp::OnInit()
{
strtoLD0(L"1233");
// call the base class initialization method, currently it only parses a
// few common command-line options but it could be do more in the future
if ( !wxApp::OnInit() )
return false;
Could you help me to scope this problem?