-
Notifications
You must be signed in to change notification settings - Fork 543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors with Visual Studio 2017 #1058
Comments
Where does that happen? What MSVC version? |
OS is Windows 10 These errors occur during the build: (warnings omitted) Error C2397 conversion from 'int' to 'uint64_t' requires a narrowing conversion \core\converter.cpp 227 Hope this helps. |
Looks like the compiler doesn't like "narrowing" a constexpr value, when the value needs to be known at compile time and it must know it fits in the new type. Are you able to upgrade MSVC? It seems to work with VS 17 (MSVC 19), if you're able to upgrade to at least that. |
Version 1.24.0
error C2397: conversion from 'int' to 'uint64_t' requires a narrowing conversion
\al\source.cpp
\alc\alc.cpp
\alc\alconfig.cpp
\alc\backends\wasapi.cpp
\core\converter.cpp
The text was updated successfully, but these errors were encountered: