Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 351 by [email protected]: Make protobuf_lite proto files not create any static initializers
http://code.google.com/p/protobuf/issues/detail?id=351

We're trying to remove all static initialization from chromium: http://crbug.com/105626

This is made harder by protoc generating a static initializer for every protobuf, which is used to create the const reference returned by default_instance() (we use light protobufs for everything as far as I know, so we don't use the reflection bits).

We don't call default_instance() in chromium, so it would be nice if we could get rid of the static initializers somehow.

Have you thought about this, or any suggestions we might go about this? I'm willing to work on protoc to make this happen.

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to