What works is adding to the definition of class DescriptorBuilder to
line1696,
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-
>name(),
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 [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
-~----------~----~----~----~------~----~------~--~---