Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scanning dependencies of target capnp-heavy-tests
- [ 84%] Building CXX object src/capnp/CMakeFiles/capnp-heavy-tests.dir/compat/json-test.c++.o
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json-test.c++: In member function ‘virtual void capnp::_::{anonymous}::TestCase673::run()’:
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json-test.c++:675:8: warning: variable ‘root’ set but not used [-Wunused-but-set-variable]
- auto root = message.getRoot<test::TestOldVersion>();
- ^
- In file included from /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json-test.c++:22:0:
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json.h: In instantiation of ‘capnp::Orphan<capnp::DynamicValue> capnp::JsonCodec::Handler<T, (capnp::Style)3u>::decodeBase(const capnp::JsonCodec&, capnp::JsonValue::Reader, capnp::Orphanage) const [with T = capnproto_test::capnp::test::TestInterface]’:
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json-test.c++:703:1: required from here
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json.h:379:31: error: could not convert ‘capnp::JsonCodec::Handler<T, (capnp::Style)3u>::decode<capnproto_test::capnp::test::TestInterface>((* & codec), input)’ from ‘capnproto_test::capnp::test::TestInterface::Client’ to ‘capnp::Orphan<capnp::DynamicValue>’
- return decode(codec, input);
- ^
- In file included from /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json.h:26:0,
- from /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json-test.c++:22:
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/dynamic.h: In instantiation of ‘struct capnp::DynamicValue::Reader::AsImpl<capnproto_test::capnp::test::TestInterface, (capnp::Kind)5u>’:
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/dynamic.h:629:59: required from ‘capnp::ReaderFor<T> capnp::DynamicValue::Reader::as() const [with T = capnproto_test::capnp::test::TestInterface; capnp::ReaderFor<T> = capnproto_test::capnp::test::TestInterface::Client]’
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json.h:375:11: required from ‘void capnp::JsonCodec::Handler<T, (capnp::Style)3u>::encodeBase(const capnp::JsonCodec&, capnp::DynamicValue::Reader, capnp::JsonValue::Builder) const [with T = capnproto_test::capnp::test::TestInterface]’
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json-test.c++:703:1: required from here
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/dynamic.h:1400:29: error: no type named ‘Reader’ in ‘struct capnproto_test::capnp::test::TestInterface’
- static typename T::Reader apply(const Reader& reader) {
- ^
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/dynamic.h: In instantiation of ‘capnp::ReaderFor<T> capnp::DynamicValue::Reader::as() const [with T = capnproto_test::capnp::test::TestInterface; capnp::ReaderFor<T> = capnproto_test::capnp::test::TestInterface::Client]’:
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json.h:375:11: required from ‘void capnp::JsonCodec::Handler<T, (capnp::Style)3u>::encodeBase(const capnp::JsonCodec&, capnp::DynamicValue::Reader, capnp::JsonValue::Builder) const [with T = capnproto_test::capnp::test::TestInterface]’
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json-test.c++:703:1: required from here
- /home/harris/git/sandstorm/capnproto/c++/src/capnp/dynamic.h:629:59: error: ‘apply’ is not a member of ‘capnp::DynamicValue::Reader::AsImpl<capnproto_test::capnp::test::TestInterface, (capnp::Kind)5u>’
- inline ReaderFor<T> as() const { return AsImpl<T>::apply(*this); }
- ^
- src/capnp/CMakeFiles/capnp-heavy-tests.dir/build.make:371: recipe for target 'src/capnp/CMakeFiles/capnp-heavy-tests.dir/compat/json-test.c++.o' failed
- make[2]: *** [src/capnp/CMakeFiles/capnp-heavy-tests.dir/compat/json-test.c++.o] Error 1
- CMakeFiles/Makefile2:1658: recipe for target 'src/capnp/CMakeFiles/capnp-heavy-tests.dir/all' failed
- make[1]: *** [src/capnp/CMakeFiles/capnp-heavy-tests.dir/all] Error 2
- Makefile:127: recipe for target 'all' failed
- make: *** [all] Error 2
- harris@harris-VirtualBox:~/git/sandstorm/build-capnp-linux$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement