Compilation error while building libprotobuf-c

8 views
Skip to first unread message

Sean

unread,
Jul 22, 2024, 11:16:35 AM (5 days ago) Jul 22
to Protocol Buffers
Hi,

I'm trying to compile libprotobuf-c, But hitting the following compilation
error. Looks like there is a mismatch in the class definitions. How do I 
got about fixing this?

protoc-c/c_message.cc:157:65: error: ‘const class google::protobuf::OneofDescriptor’ has no member named ‘file’; did you mean ‘field’?
     vars["foneofname"] = FullNameToC(oneof->full_name(), oneof->file());
                                                                 ^~~~

Thanks in advance,
Sean
Reply all
Reply to author
Forward
0 new messages