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

Support arb 7.0 #103

Open
a1an77 opened this issue Nov 5, 2021 · 0 comments
Open

Support arb 7.0 #103

a1an77 opened this issue Nov 5, 2021 · 0 comments

Comments

@a1an77
Copy link

a1an77 commented Nov 5, 2021

SINA does not compile against the recently released arb 7.0.
There is a change in the API which can be fixed by the following patch (using the new recommended version of the copy function). Not sure if the default version of the copy function has relevant differences wrt the old one.

diff -ru SINA-1.7.2/src/query_arb.cpp SINA-1.7.2-patched/src/query_arb.cpp
--- SINA-1.7.2/src/query_arb.cpp	2020-12-13 21:00:11.000000000 +0100
+++ SINA-1.7.2-patched/src/query_arb.cpp	2021-10-26 16:21:30.255924518 +0200
@@ -809,7 +809,7 @@
     GBDATA *gbsource = other.data->getGBDATA(name);
     gbdest = GB_create_container(data->gbspec, "species");
     if ((gbsource != nullptr) && (gbdest != nullptr)) {
-        GB_copy(gbdest,gbsource);
+        GB_copy_std(gbdest,gbsource);
         data->gblast = gbdest;
         if (mark) {
             GB_write_flag(gbdest, 1);

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

No branches or pull requests

1 participant