[protobuf] protobuf 2.6.1:: google/protobuf/stubs/atomicops.h:209: error: stray '#' in program

2015-07-07 Thread Channakeshava S C
Hi, My toolchain gcc version is 4.3.2 and I was successful in cross-compiling protobuf 2.4.1. I tried to cross-compile protobuf 2.5.0 and 2.6.1 for ColdFire "54455" "isac" processor but getting this "./google/protobuf/stubs/atomicops.h:209: error: stray '#' in program". This gcc toolchain

[protobuf] Deserializing protobuf with extension from JSON string in C++.

2013-06-05 Thread Channakeshava S C
I am facing problem in getting Message with extension from JSON string {"xyz": [1234,2345,3456],"extensions":{"bar": [1,11,111]}} which is generated from Foo. message Foo { repeated int32 xyz = 11; extensions 100 to 199; } extend Foo { repeated int32 bar = 123; } The word "extensions"

[protobuf] Deserializing of protobf Message from JSON string in C++

2013-06-05 Thread Channakeshava S C
I am facing problem in getting protobuf Message with extension from JSON string {"xyz": [1234,2345,3456],"extensions":{"bar": [1,11,111]}} which is generated from Foo. message Foo { repeated int32 xyz = 11; extensions 100 to 199; } extend Foo { repeated int32 bar = 123; } The word "ext

Re: [protobuf] Deserializing of protobf Message from JSON string in C++

2013-06-05 Thread Channakeshava S C
riable. But why same functions are not visible on x(instance of protobuf Message) ? How to fill values to extended feilds in Message? On Thursday, June 6, 2013 12:15:14 AM UTC+5:30, Feng Xiao wrote: > > > > On Wed, Jun 5, 2013 at 2:44 AM, Channakeshava S C > > > wrote