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

mac 编译安装报错 #72

Open
i6u opened this issue Sep 30, 2017 · 2 comments
Open

mac 编译安装报错 #72

i6u opened this issue Sep 30, 2017 · 2 comments

Comments

@i6u
Copy link

i6u commented Sep 30, 2017

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
Copy link

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

@LeooooooooonChin
Copy link

LeooooooooonChin commented Oct 31, 2017

@StephenLeeUSTC It is OK now!!! Thanks

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

3 participants