eddelbuettel / bh

R package providing Boost Header files
85 stars 33 forks source link

boost::geometry compilation failing with LLVM 19 #101

Open Jean-Romain opened 3 weeks ago

Jean-Romain commented 3 weeks ago

I received an email from Prof Bryan Ripley

LLVM 19 is under preparation (18.1.7 is final), and a large number of C++-using packages are failing to install with the current snapshot (and have for a couple of months). Most of these are from a broken StanHeaders headers, but others can be seen at https://www.stats.ox.ac.uk/pub/bdr/clang19/ (which contains a README.txt). Those new since 18.1.7 are

In my specific case I have no control on the error. It comes from boost::geometry which itself is using boost::qvm https://www.stats.ox.ac.uk/pub/bdr/clang19/lidR.log Do you know if there is any plan for a boost update in a close future? Otherwise my only option will be to get rid of the features.

eddelbuettel commented 3 weeks ago

I tend to update BH once a year in December, hitting one out of every three releases.

If you need a submodule sooner I suggest a local copy in your package until BH can catch up.

(Sorry for any delays I was gone for two days of cycling.)

Jean-Romain commented 2 weeks ago

Thank you for your reply. So I'll disable the feature. I checked boost 1.85 and there is not fix and I don't know how to fix it anyway.