What works is adding to the definition of class DescriptorBuilder to

  void AllocateOptions(
      const typename FileDescriptor::OptionsType& orig_options,
      FileDescriptor* descriptor);

And changing the implementation, removing the template specialization,
at line 2213 to:

void DescriptorBuilder::AllocateOptions(
    const FileDescriptor::OptionsType& orig_options,
    FileDescriptor* descriptor) {
  // We add the dummy token so that LookupSymbol does the right thing.
  AllocateOptionsImpl(descriptor->package() + ".dummy", descriptor-
                      orig_options, descriptor);

This is not incorrect either since it implements function overloading,
without the messy template specialization.

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to