We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nodejs
Learn more about funding links in repositories.
Report abuse
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
../src/cares_wrap.cc: 在函数‘void node::cares_wrap::{anonymous}::Query(const v8::FunctionCallbackInfo<v8::Value>&)’中: ../src/cares_wrap.cc:1799:15: 错误:‘make_unique’不是‘std’的成员 auto wrap = std::make_unique<Wrap>(channel, req_wrap_obj); ^ ../src/cares_wrap.cc:1799:36: 错误:expected primary-expression before ‘>’ token auto wrap = std::make_unique<Wrap>(channel, req_wrap_obj); ^ ../src/cares_wrap.cc: 在函数‘void node::cares_wrap::{anonymous}::GetAddrInfo(const v8::FunctionCallbackInfo<v8::Value>&)’中: ../src/cares_wrap.cc:1973:19: 错误:‘make_unique’不是‘std’的成员 auto req_wrap = std::make_unique<GetAddrInfoReqWrap>(env, ^ ../src/cares_wrap.cc:1973:54: 错误:expected primary-expression before ‘>’ token auto req_wrap = std::make_unique<GetAddrInfoReqWrap>(env, ^ ../src/cares_wrap.cc:1974:56: 警告:left operand of comma operator has no effect [-Wunused-value] req_wrap_obj, ^ ../src/cares_wrap.cc:1975:72: 警告:right operand of comma operator has no effect [-Wunused-value] args[4]->IsTrue()); ^ ../src/cares_wrap.cc: 在函数‘void node::cares_wrap::{anonymous}::GetNameInfo(const v8::FunctionCallbackInfo<v8::Value>&)’中: ../src/cares_wrap.cc:2016:19: 错误:‘make_unique’不是‘std’的成员 auto req_wrap = std::make_unique<GetNameInfoReqWrap>(env, req_wrap_obj); ^ ../src/cares_wrap.cc:2016:54: 错误:expected primary-expression before ‘>’ token auto req_wrap = std::make_unique<GetNameInfoReqWrap>(env, req_wrap_obj); ^ ../src/cares_wrap.cc:2016:61: 警告:left operand of comma operator has no effect [-Wunused-value] auto req_wrap = std::make_unique<GetNameInfoReqWrap>(env, req_wrap_obj); ^ make[1]: *** [/root/node-v10.15.3/out/Release/obj.target/node_lib/src/cares_wrap.o] 错误 1 make[1]: *** 正在等待未完成的任务.... rm 9e941d1d1f4a37a860bc64b8713ce8ee6e0f5e81.intermediate cfa79dedbff486e9cc598ee0606dbcd8760aaf8e.intermediate b232338e50216b4d45ad0201ed8e31c046c63d57.intermediate make[1]: 离开目录“/root/node-v10.15.3/out” make: *** [node] 错误 2
gcc/g++ : 4.8.5 GNU Make 3.82 node: 10.15.3 LTS os: centos 7.X
The text was updated successfully, but these errors were encountered:
The BUILDING.md for node v10.x mentions you should be using gcc/g++ v4.9.5 or newer to build node on *nix.
Since you're on CentOS 7.x, you can use the devtoolset-7 repo to get a recent compiler.
Sorry, something went wrong.
Closing as answered. For follow-up questions please turn to the nodejs/help repo.
No branches or pull requests
../src/cares_wrap.cc: 在函数‘void node::cares_wrap::{anonymous}::Query(const v8::FunctionCallbackInfo<v8::Value>&)’中: ../src/cares_wrap.cc:1799:15: 错误:‘make_unique’不是‘std’的成员 auto wrap = std::make_unique<Wrap>(channel, req_wrap_obj); ^ ../src/cares_wrap.cc:1799:36: 错误:expected primary-expression before ‘>’ token auto wrap = std::make_unique<Wrap>(channel, req_wrap_obj); ^ ../src/cares_wrap.cc: 在函数‘void node::cares_wrap::{anonymous}::GetAddrInfo(const v8::FunctionCallbackInfo<v8::Value>&)’中: ../src/cares_wrap.cc:1973:19: 错误:‘make_unique’不是‘std’的成员 auto req_wrap = std::make_unique<GetAddrInfoReqWrap>(env, ^ ../src/cares_wrap.cc:1973:54: 错误:expected primary-expression before ‘>’ token auto req_wrap = std::make_unique<GetAddrInfoReqWrap>(env, ^ ../src/cares_wrap.cc:1974:56: 警告:left operand of comma operator has no effect [-Wunused-value] req_wrap_obj, ^ ../src/cares_wrap.cc:1975:72: 警告:right operand of comma operator has no effect [-Wunused-value] args[4]->IsTrue()); ^ ../src/cares_wrap.cc: 在函数‘void node::cares_wrap::{anonymous}::GetNameInfo(const v8::FunctionCallbackInfo<v8::Value>&)’中: ../src/cares_wrap.cc:2016:19: 错误:‘make_unique’不是‘std’的成员 auto req_wrap = std::make_unique<GetNameInfoReqWrap>(env, req_wrap_obj); ^ ../src/cares_wrap.cc:2016:54: 错误:expected primary-expression before ‘>’ token auto req_wrap = std::make_unique<GetNameInfoReqWrap>(env, req_wrap_obj); ^ ../src/cares_wrap.cc:2016:61: 警告:left operand of comma operator has no effect [-Wunused-value] auto req_wrap = std::make_unique<GetNameInfoReqWrap>(env, req_wrap_obj); ^ make[1]: *** [/root/node-v10.15.3/out/Release/obj.target/node_lib/src/cares_wrap.o] 错误 1 make[1]: *** 正在等待未完成的任务.... rm 9e941d1d1f4a37a860bc64b8713ce8ee6e0f5e81.intermediate cfa79dedbff486e9cc598ee0606dbcd8760aaf8e.intermediate b232338e50216b4d45ad0201ed8e31c046c63d57.intermediate make[1]: 离开目录“/root/node-v10.15.3/out” make: *** [node] 错误 2
gcc/g++ : 4.8.5 GNU Make 3.82
node: 10.15.3 LTS
os: centos 7.X
The text was updated successfully, but these errors were encountered: