Re: [protobuf] Enum values are siblings of their type, not children of it.

2010-08-25 Thread alopecoid
It could be made an option. Something like... message MyMessage { enum Foo { option cpp_namespace = true; FIRST = 0; ... } ... } ...and then could be made the default if there is ever a Proto3. But, even if this is just ends up on some if-there-ever-is-a-Proto3

Re: [protobuf] Enum values are siblings of their type, not children of it.

2010-08-24 Thread Kenton Varda
How would you make this change without updating millions of lines of existing C++ code that uses protobuf enums? On Fri, Aug 20, 2010 at 11:12 AM, alopecoid alopec...@gmail.com wrote: Hi, This post is about the fact that protobuf enum values use C++ scoping rules, meaning that, unlike in