[protobuf] Segmentation fault

2017-04-01 Thread Xuanting Cai
Hi I am running some very simple code, but I got Segmentation fault. I compiled it with bazel and some proto complie library for bazel. Here is my code in .cc file string ToString(const Message& message) { TextFormat::Printer printer; printer.SetSingleLineMode(true); string proto_in_line

Re: [protobuf] Segmentation fault

2017-04-07 Thread Xuanting Cai
version to match, because for > C++ we frequently change the interface between the generated code and the > runtime library. > > On Sat, Apr 1, 2017 at 2:36 PM, Xuanting Cai > wrote: > >> Hi >> >> I am running some very simple code, but I got Segmentation faul