Labels: Type-Defect Priority-Medium
New issue 351 by tha...@chromium.org: Make protobuf_lite proto files not
create any static initializers
We're trying to remove all static initialization from chromium:
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
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at