Skip to content

Instantly share code, notes, and snippets.

@tomasr
Created March 8, 2017 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomasr/f72860fa2dd65e9fef295b5c2bc3e016 to your computer and use it in GitHub Desktop.
Save tomasr/f72860fa2dd65e9fef295b5c2bc3e016 to your computer and use it in GitHub Desktop.
VC++ 2017 Build Errors
3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.25017\include\utility(189): error C2220: warning treated as error - no 'object' file generated
3>ResourceManager.cpp(79): note: see reference to function template instantiation 'std::pair<const _Kty,_Ty>::pair<int,const wchar_t(&)[13],void,0>(_Other1 &&,_Other2) noexcept(false)' being compiled
3> with
3> [
3> _Kty=WORD,
3> _Ty=std::experimental::filesystem::v1::path,
3> _Other1=int,
3> _Other2=const wchar_t (&)[13]
3> ]
3>ResourceManager.cpp(28): note: see reference to function template instantiation 'std::pair<const _Kty,_Ty>::pair<int,const wchar_t(&)[13],void,0>(_Other1 &&,_Other2) noexcept(false)' being compiled
3> with
3> [
3> _Kty=WORD,
3> _Ty=std::experimental::filesystem::v1::path,
3> _Other1=int,
3> _Other2=const wchar_t (&)[13]
3> ]
3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.10.25017\include\utility(189): warning C4244: 'initializing': conversion from 'int' to 'const WORD', possible loss of data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment