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 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.

Reply via email to