[protobuf] Porting Protocol Buffer Library to Green Hills Integrity

2018-02-07 Thread Alex Chen
I am trying to port the protocol buffer library to Green Hills Integrity on a PPC platform. When compiling the library, I ran into the following compiler error: "..\vendor\protobuf\src\google/protobuf/reflection_internal.h", line 306: error #1001: class member designated by a

Re: [protobuf] Porting Protocol Buffer Library to Green Hills Integrity

2018-02-07 Thread 'Feng Xiao' via Protocol Buffers
I think moving "using RepeatedFieldAccessor::Add" to the parent class RepeatedPtrFieldWrapper might fix the issue. Could you give it a try? If it works, could you also help make a pull request? I don't have a compiler that can reproduce the error you saw. On Wed, Feb 7, 2018 at 4:53 PM, Feng Xiao

Re: [protobuf] Protobuf in python during message deserialization complains about 'Unexpected end-group tag.'

2018-02-07 Thread Greg Field
Tanmay I'm sure you already found the solution to this long ago, but I think all you needed to do was convert the bytes array into a bytes object like this: mymessageobj = mymessageproto.MyMessage() myrdd = mysparkcontext.sequenceFile(filename1, 'org.apache.hadoop.io.Text',

Re: [protobuf] Porting Protocol Buffer Library to Green Hills Integrity

2018-02-07 Thread 'Feng Xiao' via Protocol Buffers
Can you create an issue on our github repo? https://github.com/google/protobuf On Wed, Feb 7, 2018 at 4:32 PM, Alex Chen wrote: > I am trying to port the protocol buffer library to Green Hills Integrity > on a PPC platform. When compiling the library, I ran into the following

[protobuf] Generating a api descriptor proto in bazel for a grpc service

2018-02-07 Thread Marquis Taliaferro
Is there a way to generating a api descriptor proto in bazel for a grpc service. I dont mind writing my own rule but i would prefer not to just use a genrule for this. What im trying to do is described here in

Re: [protobuf] Porting Protocol Buffer Library to Green Hills Integrity

2018-02-07 Thread 'Feng Xiao' via Protocol Buffers
On Wed, Feb 7, 2018 at 4:32 PM, Alex Chen wrote: > I am trying to port the protocol buffer library to Green Hills Integrity > on a PPC platform. When compiling the library, I ran into the following > compiler error: > >

[protobuf] Re: Error in repeated_field.h

2018-02-07 Thread Khrusos
Hi, me too getting same error, note: i have printed the size its 3 and also its inside if check 77 if(getIpAddresses.networkAddressList.size() > 0) 78 { 79 cout << " networkAddressList.size()" << getIpAddresses.networkAddressList.size() << endl 80 for(unsigned int index = 0;