Advertisement
Zgragselus

C++ Errors

Nov 29th, 2024
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.53 KB | None | 0 0
  1. Build started at 2:41 AM...
  2. 1>------ Build started: Project: Engine, Configuration: Debug x64 ------
  3. 1>AssetEditor_Model.cpp
  4. 1>MetaEditor.cpp
  5. 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xutility(4537,18): warning C4244: '=': conversion from 'const wchar_t' to 'char', possible loss of data
  6. 1>(compiling source file '../Source/Engine/Game/Asset/AssetEditor/AssetEditor_Model.cpp')
  7. 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xutility(4537,18):
  8. 1>the template instantiation context (the oldest one first) is
  9. 1> C:\Users\vilem\Projects\SkyeCuillin\Source\Engine\Graphics\Common\Shader\ShaderVariant.h(53,41):
  10. 1> see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
  11. 1> with
  12. 1> [
  13. 1> _Elem=wchar_t,
  14. 1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
  15. 1> _Alloc=std::allocator<char>
  16. 1> ]
  17. 1> C:\Users\vilem\Projects\SkyeCuillin\Source\Engine\Graphics\Common\Shader\ShaderVariant.h(53,28):
  18. 1> see the first reference to 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string' in 'Engine::ShaderVariant::GetHash'
  19. 1> C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xstring(2600,17):
  20. 1> see reference to function template instantiation 'void std::basic_string<char,std::char_traits<char>,std::allocator<char>>::_Construct_from_iter<const wchar_t*,const wchar_t*,_Size_type>(_Iter,const _Sent,_Size)' being compiled
  21. 1> with
  22. 1> [
  23. 1> _Size_type=unsigned __int64,
  24. 1> _Iter=const wchar_t *,
  25. 1> _Sent=const wchar_t *,
  26. 1> _Size=unsigned __int64
  27. 1> ]
  28. 1> C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xstring(2756,18):
  29. 1> see reference to function template instantiation '_OutIt *std::_Copy_n_unchecked4<const wchar_t*,_Size,char*>(_InIt,_SizeTy,_OutIt)' being compiled
  30. 1> with
  31. 1> [
  32. 1> _OutIt=char *,
  33. 1> _Size=unsigned __int64,
  34. 1> _InIt=const wchar_t *,
  35. 1> _SizeTy=unsigned __int64
  36. 1> ]
  37. 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xutility(4537,18): warning C4244: '=': conversion from 'const wchar_t' to 'char', possible loss of data
  38. 1>(compiling source file '../Source/Engine/Game/Editor/MetaEditor.cpp')
  39. 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xutility(4537,18):
  40. 1>the template instantiation context (the oldest one first) is
  41. 1> C:\Users\vilem\Projects\SkyeCuillin\Source\Engine\Graphics\Common\Shader\ShaderVariant.h(53,41):
  42. 1> see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
  43. 1> with
  44. 1> [
  45. 1> _Elem=wchar_t,
  46. 1> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
  47. 1> _Alloc=std::allocator<char>
  48. 1> ]
  49. 1> C:\Users\vilem\Projects\SkyeCuillin\Source\Engine\Graphics\Common\Shader\ShaderVariant.h(53,28):
  50. 1> see the first reference to 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string' in 'Engine::ShaderVariant::GetHash'
  51. 1> C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xstring(2600,17):
  52. 1> see reference to function template instantiation 'void std::basic_string<char,std::char_traits<char>,std::allocator<char>>::_Construct_from_iter<const wchar_t*,const wchar_t*,_Size_type>(_Iter,const _Sent,_Size)' being compiled
  53. 1> with
  54. 1> [
  55. 1> _Size_type=unsigned __int64,
  56. 1> _Iter=const wchar_t *,
  57. 1> _Sent=const wchar_t *,
  58. 1> _Size=unsigned __int64
  59. 1> ]
  60. 1> C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xstring(2756,18):
  61. 1> see reference to function template instantiation '_OutIt *std::_Copy_n_unchecked4<const wchar_t*,_Size,char*>(_InIt,_SizeTy,_OutIt)' being compiled
  62. 1> with
  63. 1> [
  64. 1> _OutIt=char *,
  65. 1> _Size=unsigned __int64,
  66. 1> _InIt=const wchar_t *,
  67. 1> _SizeTy=unsigned __int64
  68. 1> ]
  69. 1> Creating library C:\Users\vilem\Projects\SkyeCuillin\Bin\Engine_d.lib and object C:\Users\vilem\Projects\SkyeCuillin\Bin\Engine_d.exp
  70. 1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
  71. 1>Engine.vcxproj -> C:\Users\vilem\Projects\SkyeCuillin\Bin\Engine_d.dll
  72. 1>Done building project "Engine.vcxproj".
  73. 2>------ Build started: Project: Scedit, Configuration: Debug x64 ------
  74. 2>Loader.cpp
  75. 2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xutility(4537,18): warning C4244: '=': conversion from 'const wchar_t' to 'char', possible loss of data
  76. 2>(compiling source file '../../../Source/Applications/Tools/Scedit/Loader.cpp')
  77. 2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xutility(4537,18):
  78. 2>the template instantiation context (the oldest one first) is
  79. 2> C:\Users\vilem\Projects\SkyeCuillin\Source\Engine\Graphics\Common\Shader\ShaderVariant.h(53,41):
  80. 2> see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
  81. 2> with
  82. 2> [
  83. 2> _Elem=wchar_t,
  84. 2> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
  85. 2> _Alloc=std::allocator<char>
  86. 2> ]
  87. 2> C:\Users\vilem\Projects\SkyeCuillin\Source\Engine\Graphics\Common\Shader\ShaderVariant.h(53,28):
  88. 2> see the first reference to 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string' in 'Engine::ShaderVariant::GetHash'
  89. 2> C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xstring(2600,17):
  90. 2> see reference to function template instantiation 'void std::basic_string<char,std::char_traits<char>,std::allocator<char>>::_Construct_from_iter<const wchar_t*,const wchar_t*,_Size_type>(_Iter,const _Sent,_Size)' being compiled
  91. 2> with
  92. 2> [
  93. 2> _Size_type=unsigned __int64,
  94. 2> _Iter=const wchar_t *,
  95. 2> _Sent=const wchar_t *,
  96. 2> _Size=unsigned __int64
  97. 2> ]
  98. 2> C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xstring(2756,18):
  99. 2> see reference to function template instantiation '_OutIt *std::_Copy_n_unchecked4<const wchar_t*,_Size,char*>(_InIt,_SizeTy,_OutIt)' being compiled
  100. 2> with
  101. 2> [
  102. 2> _OutIt=char *,
  103. 2> _Size=unsigned __int64,
  104. 2> _InIt=const wchar_t *,
  105. 2> _SizeTy=unsigned __int64
  106. 2> ]
  107. 2>Main.cpp
  108. 2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xutility(4537,18): warning C4244: '=': conversion from 'const wchar_t' to 'char', possible loss of data
  109. 2>(compiling source file '../../../Source/Applications/Tools/Scedit/Main.cpp')
  110. 2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xutility(4537,18):
  111. 2>the template instantiation context (the oldest one first) is
  112. 2> C:\Users\vilem\Projects\SkyeCuillin\Source\Engine\Graphics\Common\Shader\ShaderVariant.h(53,41):
  113. 2> see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
  114. 2> with
  115. 2> [
  116. 2> _Elem=wchar_t,
  117. 2> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
  118. 2> _Alloc=std::allocator<char>
  119. 2> ]
  120. 2> C:\Users\vilem\Projects\SkyeCuillin\Source\Engine\Graphics\Common\Shader\ShaderVariant.h(53,28):
  121. 2> see the first reference to 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string' in 'Engine::ShaderVariant::GetHash'
  122. 2> C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xstring(2600,17):
  123. 2> see reference to function template instantiation 'void std::basic_string<char,std::char_traits<char>,std::allocator<char>>::_Construct_from_iter<const wchar_t*,const wchar_t*,_Size_type>(_Iter,const _Sent,_Size)' being compiled
  124. 2> with
  125. 2> [
  126. 2> _Size_type=unsigned __int64,
  127. 2> _Iter=const wchar_t *,
  128. 2> _Sent=const wchar_t *,
  129. 2> _Size=unsigned __int64
  130. 2> ]
  131. 2> C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xstring(2756,18):
  132. 2> see reference to function template instantiation '_OutIt *std::_Copy_n_unchecked4<const wchar_t*,_Size,char*>(_InIt,_SizeTy,_OutIt)' being compiled
  133. 2> with
  134. 2> [
  135. 2> _OutIt=char *,
  136. 2> _Size=unsigned __int64,
  137. 2> _InIt=const wchar_t *,
  138. 2> _SizeTy=unsigned __int64
  139. 2> ]
  140. 2>Renderer.cpp
  141. 2>C:\Users\vilem\Projects\SkyeCuillin\Source\Applications\Tools\Scedit\Renderer.cpp(434,93): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
  142. 2>C:\Users\vilem\Projects\SkyeCuillin\Source\Applications\Tools\Scedit\Renderer.cpp(456,93): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
  143. 2>C:\Users\vilem\Projects\SkyeCuillin\Source\Applications\Tools\Scedit\Renderer.cpp(563,68): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
  144. 2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xutility(4537,18): warning C4244: '=': conversion from 'const wchar_t' to 'char', possible loss of data
  145. 2>(compiling source file '../../../Source/Applications/Tools/Scedit/Renderer.cpp')
  146. 2>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xutility(4537,18):
  147. 2>the template instantiation context (the oldest one first) is
  148. 2> C:\Users\vilem\Projects\SkyeCuillin\Source\Engine\Graphics\Common\Shader\ShaderVariant.h(53,41):
  149. 2> see reference to function template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string<std::_String_const_iterator<std::_String_val<std::_Simple_types<_Elem>>>,0>(_Iter,_Iter,const _Alloc &)' being compiled
  150. 2> with
  151. 2> [
  152. 2> _Elem=wchar_t,
  153. 2> _Iter=std::_String_const_iterator<std::_String_val<std::_Simple_types<wchar_t>>>,
  154. 2> _Alloc=std::allocator<char>
  155. 2> ]
  156. 2> C:\Users\vilem\Projects\SkyeCuillin\Source\Engine\Graphics\Common\Shader\ShaderVariant.h(53,28):
  157. 2> see the first reference to 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string' in 'Engine::ShaderVariant::GetHash'
  158. 2> C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xstring(2600,17):
  159. 2> see reference to function template instantiation 'void std::basic_string<char,std::char_traits<char>,std::allocator<char>>::_Construct_from_iter<const wchar_t*,const wchar_t*,_Size_type>(_Iter,const _Sent,_Size)' being compiled
  160. 2> with
  161. 2> [
  162. 2> _Size_type=unsigned __int64,
  163. 2> _Iter=const wchar_t *,
  164. 2> _Sent=const wchar_t *,
  165. 2> _Size=unsigned __int64
  166. 2> ]
  167. 2> C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\xstring(2756,18):
  168. 2> see reference to function template instantiation '_OutIt *std::_Copy_n_unchecked4<const wchar_t*,_Size,char*>(_InIt,_SizeTy,_OutIt)' being compiled
  169. 2> with
  170. 2> [
  171. 2> _OutIt=char *,
  172. 2> _Size=unsigned __int64,
  173. 2> _InIt=const wchar_t *,
  174. 2> _SizeTy=unsigned __int64
  175. 2> ]
  176. 2>Generating Code...
  177. 2>Scedit.vcxproj -> C:\Users\vilem\Projects\SkyeCuillin\Bin\Scedit_d.exe
  178. 2>Done building project "Scedit.vcxproj".
  179. ========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
  180. ========== Build completed at 2:41 AM and took 16.186 seconds ==========
  181.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement