[protobuf] CPP : Compile error with ambiguous type reference

2014-06-09 Thread Guillaume Besson
Hello everyone, I'm trying to use the protobuf librairy but I have some struggle compiling it in my existing project. The example program works fine but not my project. I think there is some conflicts with OpenGL defined types. Here is my error when compiling with c++ : c++ -MMD -MP -I ./header

[protobuf] Protobuf-net - list of objects with parent reference

2014-06-09 Thread Jan Kowalski
I have a simple class with reference to parent object. All objects are in one list (even parent objects). Is it possible to keep references references after deserialization? In my code I have something like this: [ProtoContract] public class ProtoItem { [ProtoMember(1)]

Re: [protobuf] Protobuf-net - list of objects with parent reference

2014-06-09 Thread Marc Gravell
The protobuf specification doesn't have the notion of object identity. protobuf-net *does* (as an optionally enabled feature), but it doesn't currently work for list items directly, although I suspect it probably should. Since it would break the format, though, it would need explicit enabling if I

[protobuf] Re: Issue 493 in protobuf: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented

2014-06-09 Thread protobuf
Comment #7 on issue 493 by jeag...@gmail.com: protobuf-java (2.5.0) GeneratedMessage#getUnknownFields() not implemented http://code.google.com/p/protobuf/issues/detail?id=493 Can a project member please comment on the patch posted in comment #6. It is a must have to understand what the