yangyangwithgnu / hardseed

SEX IS ZERO (0), so, who wanna be the ONE (1), aha?
GNU General Public License v2.0
9.26k stars 1.83k forks source link

mac 编译安装报错 #72

Open i6u opened 7 years ago

i6u commented 7 years ago

Building CXX object CMakeFiles/hardseed.dir/Users/witt/temp/hardseed/src/lib/3rd/json11/json11.o /Users/witt/temp/hardseed/src/lib/3rd/json11/json11.cpp:152:24: error: invalid operands to binary expression ('nullptr_t' and 'nullptr_t') return m_value < static_cast<const Value<tag, T> *>(other)->m_value;


/Users/witt/temp/hardseed/src/lib/3rd/json11/json11.cpp:208:5: note: in instantiation of member
      function 'json11::Value<json11::Json::Type::NUL, nullptr_t>::less' requested here
    JsonNull() : Value(nullptr) {}
    ^
1 error generated.
make[2]: *** [CMakeFiles/hardseed.dir/Users/witt/temp/hardseed/src/lib/3rd/json11/json11.o] Error 1
make[1]: *** [CMakeFiles/hardseed.dir/all] Error 2
make: *** [all] Error 2
StephenLeeUSTC commented 7 years ago

@meekzhou Use the newest json11 to replace the file in this project can be done, good luck

LeooooooooonChin commented 7 years ago

@StephenLeeUSTC It is OK now!!! Thanks