[protobuf] 8 bit and 16 bit data type in Proto file

2020-10-15 Thread Abhi
Hi, I have to publish 8 bit and 16 bit data , so I was trying to declare 8 bit and 16 bit in proto which is not allowed, Please let me know, how can we do it.. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this

Re: [protobuf] Proto compiler creating Strong Type Enum

2017-07-06 Thread Abhi
I am using --structs_out command along with --cpp_outhence it is creating struct.h files ... On Thursday, 6 July 2017 23:39:55 UTC+5:30, Feng Xiao wrote: > > > > On Wed, Jul 5, 2017 at 9:07 PM, Abhi <abhilas...@gmail.com > > wrote: > >> Hi >> >>

[protobuf] Re: Proto compiler creating Strong Type Enum

2017-07-06 Thread Abhi
On Thursday, 6 July 2017 09:37:00 UTC+5:30, Abhi wrote: > > Hi > > I am using proto compiler 3.1 and it's a C++ project. > > When I compile my proto Its generating myproto.struct.h file along with > myproto.pb.cc and myproto.pb.h. > > So the issue is in my myproto.s

[protobuf] Re: Proto compiler creating Strong Type Enum

2017-07-06 Thread Abhi
Thanks Marc On Thursday, 6 July 2017 09:37:00 UTC+5:30, Abhi wrote: > > Hi > > I am using proto compiler 3.1 and it's a C++ project. > > When I compile my proto Its generating myproto.struct.h file along with > myproto.pb.cc and myproto.pb.h. > > So the issue is in m

[protobuf] Proto compiler creating Strong Type Enum

2017-07-05 Thread Abhi
Hi I am using proto compiler 3.1 and it's a C++ project. When I compile my proto Its generating myproto.struct.h file along with myproto.pb.cc and myproto.pb.h. So the issue is in my myproto.struct.h the enum is created as strong typed enum and when I compile this file with VS2010 I am