GPUOpen-Archive / Anvil

Anvil is a cross-platform framework for Vulkan
MIT License
594 stars 62 forks source link

Error Compiling with VS CMake #156

Closed Impulse21 closed 4 years ago

Impulse21 commented 4 years ago

When trying to build this from Visual studio's CMake tools, I am getting the following warning which is being treated as an error.

Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\include\xstring(2355): warning C4244: 'argument': conversion from 'wchar_t' to 'const _Elem', possible loss of data
          with
          [
              _Elem=char
          ]

Any idea's how to get around this?

Impulse21 commented 4 years ago

Disabling warnings did get me around the error, however, the warning should probably be addressed. Not sure what is throwing this.

Impulse21 commented 4 years ago

Going to close this out as it doesn't look like VS2019 is supported by this library yet.