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

Enable TRACE mode error #5895

Closed
zmylinxi opened this issue Mar 12, 2022 · 0 comments
Closed

Enable TRACE mode error #5895

zmylinxi opened this issue Mar 12, 2022 · 0 comments

Comments

@zmylinxi
Copy link

Hi, when I run make command after define _TRACE tag, I will encounter the following error:

../src/smt/old_interval.cpp:295:22: error: operator '||' has no right operand

Source code in src/smt/old_interval.cpp:295 is

#if Z3DEBUG || _TRACE

Compilation will fail when Z3DEBUG or _TRACE is defined.

It seems that this should be changed to

#if defined(Z3DEBUG) || defined(_TRACE)
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