Closed michaelquinn32 closed 7 months ago
Thanks for finding the error and pointing me to a solution. Much easier to fix than I originally thought.
Awesome! Thanks for the quick fix.
I can confirm that this works against the new LLVM version coming up.
FYI, if you don't want to inline the definitions in the future, you can use a Makevars file to handle you compilation flags.
Glad it worked. Thanks for the Makevars tip too.
Changes to the LLVM compiler introduce errors when compiling gbm. The transitive dependency between and is being removed, which leads to errors like this:
One way to fix this is to use
R_NO_REMAP
. https://rstudio.github.io/r-manuals/r-exts/The-R-API.htmlBut that will require calling error and warning with their
Rf_
prefixed versions instead. https://github.com/gbm-developers/gbm/blob/20a31ff2e9dcc27572c249869e7c5b2ec64cdb8a/src/node_search.cpp#L149Thanks!