-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Compiler warnings with VS 2015 #3394
Comments
I think these warnings are generated by template function variable, and cannot be fixed. |
for example, it throws Lines 309 to 342 in dc963d9
But when |
@guolinke Yeah, possibly. But some of them can be fixed and are not related to templates I believe. For instance,
|
Also, we have the following warnings with gcc for GPU version:
But it looks like a problem in |
@StrikerRUS for the rest type conversion errors, we can fix them. |
I remember that refactoring was done to workaround warning from VS 2019 about that not all code paths return value. I think we should prefer eliminating warnings from the most recent VS versions. |
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
There are a lot of warnings produced by VS 2015:
To reproduce run code from the guide:
The text was updated successfully, but these errors were encountered: