Re: [protobuf] is it possible to compile protobuf 3.0 on windows? (protobuf)

2016-12-09 Thread 'Jisi Liu' via Protocol Buffers
Could you elaborate on the pthread issue? It should work for msvc 2015. On Wed, Dec 7, 2016 at 2:52 PM lucidbee wrote: > I may be missing something obvious. > > I am trying to compile protobuf 3.0.0.2 on windows 10 using msvs 2015 > update 3. > > Using cmake. > > Seems like

Re: [protobuf] c++ singleton support

2016-12-09 Thread 梅骁
Thank you for your reply! I'll give it a try. 在 2016年12月10日星期六 UTC+8上午8:04:09,liujisi写道: > > Each message type has a default instance. You can specify the default > values for the fields in the message and use the default instance of that > message as the singleton. > > On Sat, Dec 3, 2016 at

Re: [protobuf] Protobuf / Java / ParseFrom inconsistent behavior

2016-12-09 Thread 'Jisi Liu' via Protocol Buffers
Parsing the bytes from a valid protobuf wireformat into a unmatched type shouldn't cause parsing failures. Those unrecognized fields should be kept in the unknown fields and should be able to serialize back. Java implementation enforces roundtrip to be lossless. I'm not familiar with the Go

Re: [protobuf] Any script or tool to check forward/backward compatibility breaking changes to protobuf IDL?

2016-12-09 Thread 'Jisi Liu' via Protocol Buffers
I heard this feature requests several times, but I'm not aware if anyone has implemented it yet. Please post it back if you end up implanting the tool. On Tue, Dec 6, 2016 at 10:26 PM Ajay wrote: > Hi, > > Are you guys aware of any tool or script that can be used to check

Re: [protobuf] c++ singleton support

2016-12-09 Thread 'Jisi Liu' via Protocol Buffers
Each message type has a default instance. You can specify the default values for the fields in the message and use the default instance of that message as the singleton. On Sat, Dec 3, 2016 at 9:13 PM 梅骁 wrote: > Hi, > Does protobuf has singleton support? I want to use

Re: [protobuf] Protocol Version 2.1.0 available for download...?

2016-12-09 Thread 'Jisi Liu' via Protocol Buffers
It's no longer available for download. You probalby would have to checkout the github ref: https://github.com/google/protobuf/commit/1fb3d394e5bb4ded7a76dc8d44a701733aad3553 and build from there. On Fri, Dec 9, 2016 at 6:03 AM Srinivas DGS wrote: > Hi All, > > Can

Re: [protobuf] Currency/Monetary amount in Protobuf

2016-12-09 Thread 'Jisi Liu' via Protocol Buffers
There's no native support for MonetaryAmount. However, you can define a message to represent the type with the precision and write a custom tool to convert the message to and from the native Java type. On Sun, Dec 4, 2016 at 4:29 PM Luis Trigueiros wrote: > Hi, > > I

[protobuf] Protocol Version 2.1.0 available for download...?

2016-12-09 Thread Srinivas DGS
Hi All, Can anyone point me to download the Protocol Version 2.1.0...? Thanks in advance. Thanks, Srinivas DGS -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email