Skip to content
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

LLVM 19 compilation issue #49

Open
lixun910 opened this issue Sep 23, 2024 · 1 comment · May be fixed by #50
Open

LLVM 19 compilation issue #49

lixun910 opened this issue Sep 23, 2024 · 1 comment · May be fixed by #50

Comments

@lixun910
Copy link
Member

Dear maintainer,

Please see the problems shown on
https://cran.r-project.org/web/checks/check_results_rgeoda.html.

Specifically, please see the clang19 additional issues.

These show compilation problems using the compilers from LLVM 19,
finally released yesterday. The results are for Fedora 36 (see
https://www.stats.ox.ac.uk/pub/bdr/clang19/README.txt) and can
conveniently be reproduced using the clang-19 and flang-19 packages in
Debian unstable.

Can you please fix "as necessary"?

Please correct before 2024-10-09 to safely retain your package on CRAN.

Best wishes,
The CRAN Team

@lixun910
Copy link
Member Author

lixun910 commented Sep 23, 2024

It looks like not a bug of rgeoda, but a bug when #include <boost/geometry.hpp> from Boost::geometry. Did some research, and it looks like a known issue of Boost for clang19, llvm/llvm-project#101079, and some fixes are in progress: eddelbuettel/bh#101

The fix has been merged into develop branch in boost::qvm boostorg/qvm@106d411

However, if -Wno-error=missing-template-arg-list-after-template-kw can be used as a workaround, it would be great that CRAN can accept it as a solution. See CRAN accepts -Wno-error=enum-constexpr-conversion for c++17:

https://cran.r-project.org/doc/manuals/r-devel/R-exts.html
Screenshot 2024-09-23 at 11 18 51 AM

@lixun910 lixun910 linked a pull request Sep 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant