Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save harrishancock/753d36ecec1831a2cf872cbd3142c15d to your computer and use it in GitHub Desktop.
Save harrishancock/753d36ecec1831a2cf872cbd3142c15d to your computer and use it in GitHub Desktop.
[ 84%] Building CXX object src/capnp/CMakeFiles/capnp-heavy-tests.dir/compat/json-test.c++.o
In file included from /home/harris/git/sandstorm/capnproto/c++/src/capnp/list.h:30:0,
from /home/harris/git/sandstorm/capnproto/c++/src/capnp/generated-header-support.h:32,
from /home/harris/git/sandstorm/capnproto/c++/src/capnp/schema.capnp.h:7,
from /home/harris/git/sandstorm/capnproto/c++/src/capnp/schema.h:33,
from /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json.h:25,
from /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json-test.c++:22:
/home/harris/git/sandstorm/capnproto/c++/src/capnp/orphan.h: In instantiation of ‘capnp::Orphan<RootType> capnp::Orphanage::newOrphan() const [with RootType = capnp::DynamicStruct]’:
/home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json-test.c++:716:52: required from here
/home/harris/git/sandstorm/capnproto/c++/src/capnp/orphan.h:345:96: error: no matching function for call to ‘structSize()’
return Orphan<RootType>(_::OrphanBuilder::initStruct(arena, capTable, _::structSize<RootType>()));
^
In file included from /home/harris/git/sandstorm/capnproto/c++/src/capnp/generated-header-support.h:31:0,
from /home/harris/git/sandstorm/capnproto/c++/src/capnp/schema.capnp.h:7,
from /home/harris/git/sandstorm/capnproto/c++/src/capnp/schema.h:33,
from /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json.h:25,
from /home/harris/git/sandstorm/capnproto/c++/src/capnp/compat/json-test.c++:22:
/home/harris/git/sandstorm/capnproto/c++/src/capnp/layout.h:182:29: note: candidate: template<class T, class CapnpPrivate> constexpr capnp::_::StructSize capnp::_::structSize()
inline constexpr StructSize structSize() {
^
/home/harris/git/sandstorm/capnproto/c++/src/capnp/layout.h:182:29: note: template argument deduction/substitution failed:
/home/harris/git/sandstorm/capnproto/c++/src/capnp/layout.h:181:23: error: no type named ‘_capnpPrivate’ in ‘struct capnp::DynamicStruct’
template <typename T, typename CapnpPrivate = typename T::_capnpPrivate>
^
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$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment