Re: [protobuf] A chicken and egg issue when building Protobuf

2020-09-18 Thread 'Adam Cozzette' via Protocol Buffers
That is true that there is a cyclical dependency between protoc and some generated code such as descriptor.pb.cc. The way we get around this is that we check the generated pb.cc and pb.h files into version control, and the generate_descriptor_proto.sh

Re: [protobuf] Wrapping Protobuf in an extra namespace

2020-09-18 Thread 'Adam Cozzette' via Protocol Buffers
I think this will work if you change the namespace everywhere, but the one caveat is that protobuf messages won't be interchangeable between the two protobuf versions. I.e. if you try to take a proto based on your myNamespace version and pass it to code that works with the version used by your thir