Shalom

I was trying to build this project

https://github.com/thekvs/cpp-serializers

and have run into an error

In file included from 
/home/brian/build-cpp/external/capnproto/src/capnproto/c++/src/capnp/generated-header-support.h:31:0,
                 from 
/home/brian/build-cpp/external/capnproto/src/capnproto/c++/src/capnp/compiler/grammar.capnp.h:7,
                 from 
/home/brian/build-cpp/external/capnproto/src/capnproto/c++/src/capnp/compiler/compiler.h:29,
                 from 
/home/brian/build-cpp/external/capnproto/src/capnproto/c++/src/capnp/compiler/module-loader.h:29,
                 from 
/home/brian/build-cpp/external/capnproto/src/capnproto/c++/src/capnp/compiler/module-loader.c++:22:
/home/brian/build-cpp/external/capnproto/src/capnproto/c++/src/capnp/layout.h:129:65:
 
error: could not convert template argument ‘b’ from ‘bool’ to ‘capnp::Kind’
 template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
                                                                 ^
/home/brian/build-cpp/external/capnproto/src/capnproto/c++/src/capnp/layout.h:129:66:
 
error: template argument 1 is invalid
 template <typename T, bool b> struct ElementSizeForType<List<T, b>> {
                                                                  ^~
make[3]: *** [Makefile:1746: src/capnp/compiler/module-loader.o] Error 1 


I have several compilers on this machine and am not 100% sure which one 
it's using (the output above doesn't say).

/usr/bin/c++ -v  

gives g++ 7.1.1 and I think that's what it is using.  Have you seen this?
Any suggestions on how to fix it?   Thanks.


Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to