On Wed, Jul 5, 2017 at 9:07 PM, Abhi <abhilash.ec...@gmail.com> 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 it coming from some
plugin you are using?


>
> 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 getting
> compiler error as its not supported in VS2010.
>
> Could anyone please let me know how to solve this problem.
>
> Please do the needful.
>
>
>
> enum xyz {}
>
> enum class xyz{}  -->Strong typed enum
>
>
> --
> 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 to protobuf+unsubscr...@googlegroups.com.
> To post to this group, send email to protobuf@googlegroups.com.
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to