[protobuf] proto versioning - preventing linking at runtime to a proto version different than at buildtime

2016-06-21 Thread Steve Beckert
System 1 process with 2 components - a client and a server Both Client and Server make use of a Model.proto Client and Server are built with different versions of Model.proto Build Server generates .h and .cc files at buildtime and compiles them into libServer.so. Sever's use of the proto is

Re: [protobuf] proto versioning - preventing linking at runtime to a proto version different than at buildtime

2016-06-22 Thread Steve Beckert
e crashes you have > seen. I would try moving the compiled proto symbols into a separate library > and have both the client and server libs depend on that same library so > that there is no duplication of the proto symbols. > > On Tue, Jun 21, 2016 at 6:54 AM, Steve Beckert <s.