[protobuf] AddAllocated, how to use and what version was it introduced

2015-08-10 Thread Carl
I have an allocated PB message that I want to have "adopted" by another message with a repeated field. I have come across this snippet: foo->mutable_repeated_message()->AddAllocated(bar); But my Protocol Buffer 2.5 does not seem to have the AddAllocated method. After a quick switch to 2.6.1 I

[protobuf] Re: AddAllocated, how to use and what version was it introduced

2015-08-10 Thread Carl
Please disregard found it in 2.6.1 On Monday, August 10, 2015 at 8:34:16 AM UTC-4, Carl wrote: > > I have an allocated PB message that I want to have "adopted" by another > message with a repeated field. > > I have come across this snippet: > > foo->mutable_repeated_message()->AddAllocated(b

[protobuf] Undefined symbols in QT project on OSX

2015-08-10 Thread Tamilano
Hi there! I'm trying to build a qt project including the /usr/local/lib/libprotobuf-lite.10.dylib that I got from following instructions from here : $ ./configure $ make $ make check $ make install The compile output is: 22:43:37: Running steps for pro

[protobuf] Undefined symbols in QT project on OSX

2015-08-10 Thread Tamilano
Hey there! I have a qt project and compiled protobuf as described here: Enter code here... $ ./configure $ make $ make check $ make install I

[protobuf] protobuf error : overrides final method getUnknownFields, is it a bug?

2015-08-10 Thread Daniel Lee
I wrote a mapreduce program which need to use proto buf for parsing.the program is list below: import com.baidu.mirror.CommonCollectorOuterClass.*; import com.baidu.mirror.*; import java.io.IOException; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.conf.*; imp