Re: [protobuf] Proto3 Default Value Conformance

2018-05-29 Thread Cyrus Katrak
I previously neglected to Include the error message I was getting: ERROR, test=Required.Proto3.ProtobufInput.RepeatedScalarSelectsLast.UINT64.ProtobufOutput: Response didn't have any field in the Response. request=protobuf_payload: " \271` \377\377\377\377\377\377\377\377\377\001 \000"

Re: [protobuf] Proto3 Default Value Conformance

2018-05-29 Thread 'Feng Xiao' via Protocol Buffers
On Tue, May 29, 2018 at 11:30 AM Cyrus Katrak wrote: > I am implementing a protobuf implementation for a new language and I am > failing the conformance test named: > > > Required.Proto3.ProtobufInput.RepeatedScalarSelectsLast.UINT64.ProtobufOutput > > The test input appears to be an optional

Re: [protobuf] Errors building Protobuf 3.5.1 with Visual Studio 2005

2018-05-29 Thread 'Feng Xiao' via Protocol Buffers
On Tue, May 29, 2018 at 9:42 AM Eric Pederson wrote: > Hi all: > > I am trying to build Protobuf (3.5.1) using Visual Studio 2005 (I know, > it's ancient, but we are stuck with it for now). I am getting these errors: > > > Compiling... > main.cc > src\google/protobuf/stubs/hash.h(309) : error

[protobuf] Proto3 Default Value Conformance

2018-05-29 Thread Cyrus Katrak
I am implementing a protobuf implementation for a new language and I am failing the conformance test named: Required.Proto3.ProtobufInput.RepeatedScalarSelectsLast.UINT64.ProtobufOutput The test input appears to be an optional (non-repeated) field that appears multiple times on the wire, with

[protobuf] Errors building Protobuf 3.5.1 with Visual Studio 2005

2018-05-29 Thread Eric Pederson
Hi all: I am trying to build Protobuf (3.5.1) using Visual Studio 2005 (I know, it's ancient, but we are stuck with it for now). I am getting these errors: Compiling... main.cc src\google/protobuf/stubs/hash.h(309) : error C2977: 'stdext::hash_map' : too many template arguments

[protobuf] [C++] Equivalent of python's function --> unpack_from('!f',...)

2018-05-29 Thread wala
Hello everyone, I really just want to transcript this part of python code in C++ : -- data, addr = sock.recvfrom(1024)#buffer size is 1024 bytes print "received