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

yarpviz: Support compilation with graphviz >= 9 #3056

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Nov 27, 2023

@@ -93,7 +93,9 @@ class QGVCore
rdr.len = strlen(cp);
rdr.cur = 0;

#ifndef GRAPHVIZ_VERSION_GE_9
disc.mem = &AgMemDisc;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unclear: which are the implications of removing disc.mem? Is it safe?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In graphviz, there is not anymore any support for custom memory allocators, see https://gitlab.com/graphviz/graphviz/-/blob/main/CHANGELOG.md#900-2023-09-11 :

Breaking: The concept of “memory allocator discipline” has been removed,
along with the type Agmemdisc_t and fields Agdisc_t.mem and
Agdstate_t.mem.

The default memory allocators are used by default in graphviz 9.

@randaz81 randaz81 merged commit cc2a18b into robotology:master Nov 29, 2023
50 of 52 checks passed
@randaz81 randaz81 added this to the YARP 3.10.0 milestone Nov 29, 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.

conda-forge CI failure End of November 2023 due to graphviz update
2 participants