Hi all, I am experimenting with protobuf on Ubuntu 18.04. When I try to serialize data with a required field missing, my code crashes with a "Can't serialize message because it is missing required fields" message. Google tells me that this happens when protobuf library is built in "debug" mode, which happens to be the case with libprotobuf shipped in Ubuntu 18.04.
Is there any way to make protobuf simply return an error (instead of crashing) without having to build libprotobuf from source in "release" mode? I am asking because protobuf is a key requirement in a large project I am working on ... currently, we are installing it by doing an "apt-get" - having to build it from source is going to be a major pain. thanks and regards, pramode -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/CANyNnoucp7JO80E%2BiZr0KWwBUNi4PDDQJo_GE-vmGG-ynG%3D6sg%40mail.gmail.com.
