-
Notifications
You must be signed in to change notification settings - Fork 7
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
coding error #7
Comments
I can't understand the compiler message (unfortunately I don't read Mandarin). When I compile on ubuntu 20.04 using and gcc (g++) 9.3.0. there is no error. I also tried g++ 8.4.0 again no errors or compiler messages. a) what is the message you are getting in English? |
|
|
Your g++ compiler is ancient and does not support Upgrade to a more recent version of g++ |
when I run make, come on the following error:
maxhs/core/Wcnf.cc: 在成员函数‘void Wcnf::_addSoftClause(std::vector<Minisat::Lit>&, Weight)’中: maxhs/core/Wcnf.cc:157:25: 错误:不能将‘double modf(double, double*)’的实参‘2’从‘Weight* {aka long double*}’转换到‘double*’ if (modf(w, &intPart) > 0) intWts = false;
The text was updated successfully, but these errors were encountered: