You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 3%] Building CXX object cthrift/CMakeFiles/cthrift_dynamic.dir/cthrift_svr.cc.o
In file included from /home/work/octo/whale/cthrift/cthrift_tbinary_protocol.h:317:0,
from /home/work/octo/whale/cthrift/cthrift_client.h:26,
from /home/work/octo/whale/cthrift/cthrift_svr.h:26,
from /home/work/octo/whale/cthrift/cthrift_svr.cc:22:
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc: In member function 'uint32_t meituan_cthrift::CthriftTBinaryProtocolT<Transport_>::writeI64(int64_t)':
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc:310:49: error: there are no arguments to 'htonll' that depend on a template parameter, so a declaration of 'htonll' must be available [-fpermissive]
int64_t net = static_cast<int64_t>( htonll(i64));
^
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc:310:49: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc: In member function 'uint32_t meituan_cthrift::CthriftTBinaryProtocolT<Transport_>::writeDouble(double)':
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc:321:21: error: there are no arguments to 'htonll' that depend on a template parameter, so a declaration of 'htonll' must be available [-fpermissive]
bits = htonll(bits);
^
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc: In instantiation of 'uint32_t meituan_cthrift::CthriftTBinaryProtocolT<Transport_>::writeI64(int64_t) [with Transport_ = apache::thrift::transport::TTransport; uint32_t = unsigned int; int64_t = long int]':
/usr/local/include/thrift/protocol/TVirtualProtocol.h:409:55: required from 'uint32_t apache::thrift::protocol::TVirtualProtocol<Protocol_, Super_>::writeI64_virt(int64_t) [with Protocol_ = meituan_cthrift::CthriftTBinaryProtocolTapache::thrift::transport::TTransport; Super_ = apache::thrift::protocol::TProtocolDefaults; uint32_t = unsigned int; int64_t = long int]'
/home/work/octo/whale/cthrift/cthrift_svr.cc:692:1: required from here
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc:310:49: error: 'htonll' was not declared in this scope
int64_t net = static_cast<int64_t>( htonll(i64));
^
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc: In instantiation of 'uint32_t meituan_cthrift::CthriftTBinaryProtocolT<Transport_>::writeDouble(double) [with Transport_ = apache::thrift::transport::TTransport; uint32_t = unsigned int]':
/usr/local/include/thrift/protocol/TVirtualProtocol.h:413:58: required from 'uint32_t apache::thrift::protocol::TVirtualProtocol<Protocol_, Super_>::writeDouble_virt(double) [with Protocol_ = meituan_cthrift::CthriftTBinaryProtocolTapache::thrift::transport::TTransport; Super_ = apache::thrift::protocol::TProtocolDefaults; uint32_t = unsigned int]'
/home/work/octo/whale/cthrift/cthrift_svr.cc:692:1: required from here
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc:321:21: error: 'htonll' was not declared in this scope
bits = htonll(bits);
The text was updated successfully, but these errors were encountered:
[ 3%] Building CXX object cthrift/CMakeFiles/cthrift_dynamic.dir/cthrift_svr.cc.o
In file included from /home/work/octo/whale/cthrift/cthrift_tbinary_protocol.h:317:0,
from /home/work/octo/whale/cthrift/cthrift_client.h:26,
from /home/work/octo/whale/cthrift/cthrift_svr.h:26,
from /home/work/octo/whale/cthrift/cthrift_svr.cc:22:
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc: In member function 'uint32_t meituan_cthrift::CthriftTBinaryProtocolT<Transport_>::writeI64(int64_t)':
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc:310:49: error: there are no arguments to 'htonll' that depend on a template parameter, so a declaration of 'htonll' must be available [-fpermissive]
int64_t net = static_cast<int64_t>( htonll(i64));
^
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc:310:49: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc: In member function 'uint32_t meituan_cthrift::CthriftTBinaryProtocolT<Transport_>::writeDouble(double)':
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc:321:21: error: there are no arguments to 'htonll' that depend on a template parameter, so a declaration of 'htonll' must be available [-fpermissive]
bits = htonll(bits);
^
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc: In instantiation of 'uint32_t meituan_cthrift::CthriftTBinaryProtocolT<Transport_>::writeI64(int64_t) [with Transport_ = apache::thrift::transport::TTransport; uint32_t = unsigned int; int64_t = long int]':
/usr/local/include/thrift/protocol/TVirtualProtocol.h:409:55: required from 'uint32_t apache::thrift::protocol::TVirtualProtocol<Protocol_, Super_>::writeI64_virt(int64_t) [with Protocol_ = meituan_cthrift::CthriftTBinaryProtocolTapache::thrift::transport::TTransport; Super_ = apache::thrift::protocol::TProtocolDefaults; uint32_t = unsigned int; int64_t = long int]'
/home/work/octo/whale/cthrift/cthrift_svr.cc:692:1: required from here
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc:310:49: error: 'htonll' was not declared in this scope
int64_t net = static_cast<int64_t>( htonll(i64));
^
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc: In instantiation of 'uint32_t meituan_cthrift::CthriftTBinaryProtocolT<Transport_>::writeDouble(double) [with Transport_ = apache::thrift::transport::TTransport; uint32_t = unsigned int]':
/usr/local/include/thrift/protocol/TVirtualProtocol.h:413:58: required from 'uint32_t apache::thrift::protocol::TVirtualProtocol<Protocol_, Super_>::writeDouble_virt(double) [with Protocol_ = meituan_cthrift::CthriftTBinaryProtocolTapache::thrift::transport::TTransport; Super_ = apache::thrift::protocol::TProtocolDefaults; uint32_t = unsigned int]'
/home/work/octo/whale/cthrift/cthrift_svr.cc:692:1: required from here
/home/work/octo/whale/cthrift/cthrift_tbinary_protocol.tcc:321:21: error: 'htonll' was not declared in this scope
bits = htonll(bits);
The text was updated successfully, but these errors were encountered: