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 > wrote: > >> Hi >> >> I am using proto compiler 3.1 and it's a

Re: [protobuf] Proto compiler creating Strong Type Enum

2017-07-06 Thread 'Feng Xiao' via Protocol Buffers
On Wed, Jul 5, 2017 at 9:07 PM, 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. > I don't think protoc generates .struct.h file. Is

[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