-
Notifications
You must be signed in to change notification settings - Fork 140
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
C++ compilation failure of src/HolSat/sat_solvers/zc2hs
on macOS
#1233
Comments
I suggest at least changing the
So that manually calling |
The error comes from these: https://github.com/HOL-Theorem-Prover/HOL/blob/develop/src/HolSat/sat_solvers/minisat/Global.h#L264. I don't know what this nonsense is and I suspect you could safely delete the definitions within the #ifdef, but you could try to pass |
Thanks for your investigations. Completely commenting all the 4 definitions doesn't work (even Minisat itself cannot be compiled then). But now I found that it's actually the first one - overloaded I will submit a PR soon. |
See #1254 |
I think this issue is new on macOS 14 (Sonoma) with latest Xcode (I'm using version 15.3). Apple's
c++
(clang++
) cannot compilesrc/HolSat/sat_solvers/zc2hs/zc2hs.cpp
:The failure of building this
zc2hs
(what is it?) doesn't break the entire HOL builds (it seems not used when building core theories), but if you rebuild HOL (even without modifying any code), the building process will restart from generatingnumheap
(a huge waste of time).Using MacPorts's
gcc13
(/opt/local/bin/g++-mp-13
), this code can still be compiled without any modification.I'm no expert to solve this C++ standard compatibility issue.
The text was updated successfully, but these errors were encountered: