Re: [protobuf] C++ MOMI Parser in 3.7.0

2019-05-31 Thread 'Gerben Stavenga' via Protocol Buffers
The new parser code is not yet safe for big endian machines. However you can enable it by compiling with -DPROTOBUF_ENABLE_EXPERIMENTAL_PARSER On Wednesday, May 8, 2019 at 2:03:29 PM UTC-7, Hao Nguyen wrote: > > +Gerben Stavenga Can you help document how external users > can use the new pars

[protobuf] Re: Bug in src/google/protobuf/stubs/hash.h

2017-10-13 Thread 'Gerben Stavenga' via Protocol Buffers
Thanks this will be solved asap On Thursday, October 12, 2017 at 10:50:45 PM UTC-7, David Purdie wrote: > > In the header file src/google/protobuf/stubs/hash.h > The line: > > # if __GNUC__ == 4 && defined(__GNUC__MINOR__) && __GNUC__MINOR__ <= 1 > > > is incorrect. __GNUC__MINOR__ does not exis

[protobuf] Re: Crosscompiling for AARCH64

2017-05-12 Thread &#x27;Gerben Stavenga&#x27; via Protocol Buffers
It seems that somehow Atomic32 and Atomic64 become the same type. Feng you are the most knowledgeable on cross compiling. Do you know what happens here? On Wednesday, May 10, 2017 at 1:21:55 AM UTC-7, jebina elsie wrote: > > Hi All, > > I'm trying to cross compile the Protobuf 3.3.0 to the 64 b

[protobuf] Re: OpenBSD 6.0 make check fails/core dumped

2016-10-28 Thread &#x27;Gerben Stavenga&#x27; via Protocol Buffers
Thanks we are looking into it On Thursday, October 27, 2016 at 10:29:54 AM UTC-7, ramrun...@gmail.com wrote: > > Hi there list! > > I am compiling protobuf-cpp-3.1.0.tar.gz on: > > OpenBSD 6.00 GENERIC.MP#2319 amd64 > with > > $ eg++ -v > Using built-in specs. > COLLECT_GCC=eg++ > > COLLECT_LTO_

[protobuf] Re: protobuf-3.0 on freebsd-7

2016-09-09 Thread &#x27;Gerben Stavenga&#x27; via Protocol Buffers
I dont think the OS matters. Which version of g++ do you use? On Friday, September 9, 2016 at 2:47:24 PM UTC-7, Sowmya Narayanam wrote: > > Can i compile protobuf-3.0 on freebsd-7 > > Is there any compatibility matrix , for the supported OS and the probuf > versions. > > I tried compiling and i

[protobuf] Re: generate .proto file from C# code

2016-09-09 Thread &#x27;Gerben Stavenga&#x27; via Protocol Buffers
No you have to make your proto definition of the structure of your class yourself. There is no existing tool for that. The generated code will also be incompatible, with your custom implementation On Friday, September 9, 2016 at 2:47:24 PM UTC-7, Gayatri Shah wrote: > > I am new to Protocol buf

[protobuf] Re: circular references in EBNF grammar

2016-07-22 Thread &#x27;Gerben Stavenga&#x27; via Protocol Buffers
Yes circular dependencies are possible and it works. For example message Tree { message InnerNode { Tree left = 1; Tree right = 2; } oneof leaf_or_node { int leaf = 1; InnerNode node = 2; } } is a valid and useful protobuf to store binary trees. On Monday, July 18, 2016