Repository navigation
[ci] [R-package] fix clang 15 warning about unqualified calls (fixes #5661) - #5662
Conversation
|
π adding https://github.com/microsoft/LightGBM/actions/runs/3842093698/jobs/6543052842 I'll continue by pushing a fix to LightGBM here. Now we'll have high confidence that if that job passes here, it'll pass on CRAN too. |
|
/gha run r-valgrind Workflow R valgrind tests has been triggered! π Status: success βοΈ. |
shiyu1994
left a comment
There was a problem hiding this comment.
LGTM. Thanks for the fix.
|
Thanks @shiyu1994 ! I'll open a PR for a v3.3.5 release tonight. |
|
This pull request has been automatically locked since there has not been any recent activity since it was closed. |
Fixes #5661.
std::move()explicitly instead of ausingdeclaration, to satisfyclang's-Wunqualified-std-cast-callwarningclang15 in ther-devel-debian-clangjob, to more closely match CRAN's environment (see Inconsistencies with CRAN fedora-clang-devel Β r-hub/rhub-linux-builders#63 (comment))Notes for Reviewers
The installation commands I'm proposing are based on https://apt.llvm.org/llvm.sh, the installation script recommended at https://apt.llvm.org/.
I think copying that stuff in here is safer than downloading a script from the internet and running it on every run.