Thanks Kenton! After posting I was trying a few things and among those was upgrading to version 0.7.0 which seems fixes the issue. I was trying to use version 0.6.1 because it was used in other part of the project and including the header files capnp was complaining about version mismatch.
It is proving to be difficult reproducing the issue with a standalone test/ project (I have tried as in here https://github.com/kuasha/test-capnp) even with 0.6.1. I am assuming it is probably combination of different versions of the library on same machine and how it was being used with zeromq and some other libraries. Version 0.7.0 seems to be better for cmake build as well and I have just "recompiled" those other schema files (fortunately I have control over that part as well) and resolve the version mismatch problem. In future before reporting an issue I'll make sure it can be proven with a test case separate from larger project :). -- 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 capnproto+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/4dedc118-c34c-4b0d-9919-c4a0e2a6b94d%40googlegroups.com.