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
[ 4%] Building CXX object CMakeFiles/wangle.dir/codec/LengthFieldPrepender.cpp.o
In file included from /usr/local/include/folly/futures/Promise-inl.h:23:0,
from /usr/local/include/folly/futures/Promise.h:115,
from /usr/local/include/folly/futures/Future.h:30,
from /home/leef/download/wangle/wangle/../wangle/channel/Handler.h:13,
from /home/leef/download/wangle/wangle/../wangle/codec/ByteToMessageCodec.h:13,
from /home/leef/download/wangle/wangle/../wangle/codec/LengthFieldPrepender.h:13,
from /home/leef/download/wangle/wangle/codec/LengthFieldPrepender.cpp:11:
/usr/local/include/folly/futures/detail/Core.h: In instantiation of ‘class folly::detail::Core’:
/usr/local/include/folly/futures/Future-inl.h:64:5: required from ‘void folly::Future::detach() [with T = void]’
/usr/local/include/folly/futures/Future-inl.h:58:10: required from ‘folly::Future::~Future() [with T = void]’
/home/leef/download/wangle/wangle/codec/LengthFieldPrepender.cpp:90:39: required from here
/usr/local/include/folly/futures/detail/Core.h:77:3: error: static assertion failed: void futures are not supported. Use Unit instead.
static_assert(!std::is_void::value,
^
make[2]: *** [CMakeFiles/wangle.dir/codec/LengthFieldPrepender.cpp.o] Error 1
make[1]: *** [CMakeFiles/wangle.dir/all] Error 2
make: *** [all] Error 2
Activity
bmatheny commentedon Jul 9, 2015
cc @jsedgwick
vishar0 commentedon Jul 10, 2015
This is because of the void to folly::Unit refactor that got pushed to https://github.com/facebook/folly, which breaks Wangle. This should be fixed when Wangle gets pushed next.
bmatheny commentedon Jul 29, 2015
@helloleef looking good?
wangle/service:ServiceTest: fix ASAN test
Fix memory leak in EvbHandshakeHelperTest::TestDropConnection.
AsyncServerSocket::AcceptCallback::connectionAccepted to NetworkSocke…
Fix data race on sockets_ in Wangle ServerBootstrap