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

Un-inlined definition of a constructor in z3++.h #6193

Closed
kix6lj opened this issue Jul 26, 2022 · 2 comments
Closed

Un-inlined definition of a constructor in z3++.h #6193

kix6lj opened this issue Jul 26, 2022 · 2 comments

Comments

@kix6lj
Copy link

kix6lj commented Jul 26, 2022

There is a un-inlined constructor of constructor_list in z3++.h. When z3++.h is included in multiple sources, this causes a "multiple definition" error. Inline the definition should solve the problem.

@sjunges
Copy link

sjunges commented Jul 26, 2022

Just to confirm, I run into the same issue when linking against z3 with 4.10.1, but not with 4.9.1.

@ekilmer
Copy link
Contributor

ekilmer commented Jul 26, 2022

Relevant comment here about the same issue in vcpkg while building Triton 5b219aa#r79292178

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

3 participants