locked
VS2015 RRS feed

  • Question

  • Microsoft Visual Studio Community 2015 RC
    Version 14.0.22823.1 D14REL
    Microsoft .NET Framework
    Version 4.6.00057

    Installed Version: Community

    Windows 8.1

    When compiling with VS2013 I don't get an warning, but with VS2015 I get this warning.

    >c:\program files (x86)\microsoft visual studio 14.0\vc\include\xlocale(654): warning C4302: 'type cast': truncation from 'const wchar_t *' to 'unsigned char'
    1>  c:\program files (x86)\microsoft visual studio 14.0\vc\include\xlocale(2322): note: see reference to function template instantiation 'char std::_Maklocbyte<_Elem>(_Elem,const std::_Locinfo::_Cvtvec &)' being compiled

    Now, I know what the problem is, VS2015 is very clear about it, but how can I trace the fault. Where in -my code- did I go wrong?

    Wednesday, June 17, 2015 4:29 PM