Canonical sources for HOL4 theorem-proving system. Branch develop is where “mainline development” occurs; when develop passes our regression tests, master is merged forward to catch up.
Once again, with help of @oskarabrahamsson (#1233, also see #985 for the last time), the failure of C++ compilation of zc2hs on macOS with Apple's clang++ is now fixed. I can only guess that, the following template function is too general to create a conflict with some other (internal) definitions:
There are only two places where this overloaded operator != is actually used. By rewriting them to !(x == y), I'm sure the semantics doesn't change, and the compilation error is gone.
Let's see when these C++ code will be broken again:)
--Chun
P.S. In src/HolSat/sat_solvers/zc2hs/Makefile, I followed the idea of Minisat's Makefile to use $(MINISAT_CXX) (with a default value c++) instead of the explicit g++. On potential *unix systems without GCC but with other C/C++ compilers, the command g++ may not be available while c++ should exist. (I have been using the command Makefile MINISAT_CXX=g++-mp-13 to compile zc2hs manually for quite several months.)
Hi,
Once again, with help of @oskarabrahamsson (#1233, also see #985 for the last time), the failure of C++ compilation of
zc2hs
on macOS with Apple'sclang++
is now fixed. I can only guess that, the following template function is too general to create a conflict with some other (internal) definitions:There are only two places where this overloaded operator
!=
is actually used. By rewriting them to!(x == y)
, I'm sure the semantics doesn't change, and the compilation error is gone.Let's see when these C++ code will be broken again:)
--Chun
P.S. In
src/HolSat/sat_solvers/zc2hs/Makefile
, I followed the idea of Minisat's Makefile to use$(MINISAT_CXX)
(with a default valuec++
) instead of the explicitg++
. On potential *unix systems without GCC but with other C/C++ compilers, the commandg++
may not be available whilec++
should exist. (I have been using the commandMakefile MINISAT_CXX=g++-mp-13
to compilezc2hs
manually for quite several months.)