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

Rename 'user' to 'user_solver' #5586 #5587

Merged
merged 1 commit into from
Oct 9, 2021

Conversation

aytey
Copy link
Contributor

@aytey aytey commented Oct 9, 2021

Issue #5586 reported that Android builds (targetting, e.g., x86) failed to compile due to a conflict between:

  • struct user in sys/user.h; and
  • namespace user in z3's user_solver.h

This issue is resolved by renaming namespace user to namespace user_solver (matching the header name) to avoid this conflict.

Reported-by: Jamie Collinson [email protected]

Signed-off-by: Andrew V. Jones [email protected]

@aytey
Copy link
Contributor Author

aytey commented Oct 9, 2021

@jamiecollinson can you try this?

Issue Z3Prover#5586 reported that Android builds (targetting, e.g., x86) failed
to compile due to a conflict between:

* `struct user` in `sys/user.h`; and
* `namespace user` in z3's `user_solver.h`

This issue is resolved by renaming `namespace user` to `namespace
user_solver` (matching the header name) to avoid this conflict.

Reported-by: Jamie Collinson <[email protected]>

Signed-off-by: Andrew V. Jones <[email protected]>
@aytey aytey changed the title Rename 'user' to 'user_solver #5586 Rename 'user' to 'user_solver' #5586 Oct 9, 2021
@NikolajBjorner NikolajBjorner merged commit f1b8376 into Z3Prover:master Oct 9, 2021
@jamiecollinson
Copy link
Contributor

@andrewvaughanj - thanks, resolved #5586 for me (more details there).

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.

3 participants