On Tue, Jun 25, 2013 at 12:00 AM, Ruben Van Boxem
<vanboxem.ru...@gmail.com> wrote:
>
> 2013/6/22 Alon Bar-Lev <alon.bar...@gmail.com>
>>
>> Hello,
>>
>> gcc-4.8.1 failing for some reason, I guess std::vswprintf is incompatible 
>> for some reason, gcc-4.7.3 works correctly. Using mingw64-runtime-2.0.8.
>>
>> Example (libstdc++-v3/include/bits/basic_string.h):
>>   inline wstring
>>   to_wstring(int __val)
>>   { return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(int),
>>                                             L"%d", __val); }
>>
>> Root cause is:
>>  note:   mismatched types ‘std::size_t {aka unsigned int}’ and ‘const 
>> wchar_t*’
>>           L"%d", __val); }
>>
>> Does this ring any bell?
>
>
> Yes: you must use MinGW-w64 trunk for GCC >= 4.8. This requirement allowed 
> everyone to enjoy std::to_string. Thank your friendly libstdc++ maintainers.
>

Thanks!
Will wait for release.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to