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

Include list header to appease g++-12 #4

Merged
merged 1 commit into from
Jan 1, 2023

Conversation

eddelbuettel
Copy link
Contributor

@eddelbuettel eddelbuettel commented Dec 16, 2022

While testing an upgrade of package BH against all its reverse-dependencies (see this issue for details) I noticed that rgeoda failed to build.

The cause is unrelated to the BH upgrade and due to the fact that I ran the tests with g++-12 (on Debian testing). The newer compiler wants an explicit #include for the std::list data structure. Once that one line is added the package installs and tests fine under g++-12.

I followed the git source via the submodule to this repo. The change is very simple. It would be lovely if you could update the package at CRAN even though this is more of a g++ issue than a BH issue (but 'eventually' CRAN will nag on this too). I see that CRAN also nags on the sprintf issue per this log which should be easy to fix at the same time.

@lixun910
Copy link
Member

lixun910 commented Jan 1, 2023

Thank you very much, @eddelbuettel !

@lixun910 lixun910 merged commit 7bab140 into GeoDaCenter:main Jan 1, 2023
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 this pull request may close these issues.

2 participants