[protobuf] Re: C# field length

2017-08-24 Thread Jon Skeet
You can't do that. You can have fixed0length 32-bit integers - but there's still the field tag first. For strings, the wire format is a field tag, followed by the data length, followed by the data - where the data is the UTF-8-encoded version of the string. You could have a bytes field and

[protobuf] make check: FAIL: no-warning-test

2017-08-24 Thread 黄育源
My system is >> cat /proc/version Linux version 3.10.0-514.16.1.el7.x86_64 (buil...@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Wed Apr 12 15:04:24 UTC 2017 I build protobu-3.4.0, but have this error.: >> ./autogen.sh >> ./configure >> make

[protobuf] FAIL: no-warning-test

2017-08-24 Thread 黄育源
My system is >> cat /proc/version Linux version 3.10.0-514.16.1.el7.x86_64 (buil...@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Wed Apr 12 15:04:24 UTC 2017 I build protobu-3.4.0, but have this error.: >> ./autogen.sh >> ./configure >> make all are

[protobuf] protobuf-2.5 - wrong reference to googletest in ./autogen.sh

2017-08-24 Thread filipp . gunbin
Hi, I'm probably not the first person to note that, but ./autogen.sh for 2.5 has invalid reference for googletest This patch fixes that. Maybe other versions should be updated, too. Why I need it? Because hadoop 2.8.1 explicitly requires this specific version (2.5). Thanks. diff --git