-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 warning: 'not all control paths return a value' #3067
Comments
jameslamb
added a commit
to jameslamb/LightGBM
that referenced
this issue
May 11, 2020
This was referenced May 11, 2020
jameslamb
added a commit
to jameslamb/LightGBM
that referenced
this issue
May 17, 2020
jameslamb
changed the title
[R-package] compiler warning: 'not all control paths return a value'
compiler warning: 'not all control paths return a value'
May 20, 2020
ChipKerchner
pushed a commit
to ChipKerchner/LightGBM
that referenced
this issue
Jun 10, 2020
…t#3068) * [R-package] fix MSVC warning about control paths (fixes microsoft#3067) * linting * simplify
ChipKerchner
pushed a commit
to ChipKerchner/LightGBM
that referenced
this issue
Jun 11, 2020
…t#3068) * [R-package] fix MSVC warning about control paths (fixes microsoft#3067) * linting * simplify
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Thanks to @gmobaz for pointing out that building the R package with Visual Studio compilers results in a few compilation warnings (#3064 (comment)). One of these is 'not all control paths return a value'.
We should eliminate this warning if possible, to save users time in debugging.
How you are using LightGBM?
LightGBM component: R package
Environment info
Operating System: Windows 10
CPU/GPU model: N/A
C++ compiler version: Visual Studio 16 2019, MSVC 14.24.28314
CMake version: 3.16.5
Java version: N/A
Python version: N/A
R version: 3.6.1
Error message and / or logs
Reproducible example(s)
Steps to reproduce
Rtools35
is installed and its MinGW is onPATH
Rscript build_r.R
from the root of the repoThe text was updated successfully, but these errors were encountered: