Well, the code is correct C++, so it's hard to tell what might convince the
compiler to accept it.
Does it work if you change this:

  typename DescriptorT::OptionsType* options =
      tables_->AllocateMessage<typename DescriptorT::OptionsType>();

To this:

  typedef typename DescriptorT::OptionsType OptionsType;
  OptionsType* options = tables_->AllocateMessage<OptionsType>();

?

On Sun, Oct 5, 2008 at 7:52 AM, edan <[EMAIL PROTECTED]> wrote:

>
> 2.0.2 build bombs for me:
>
> google/protobuf/descriptor.cc: In member function `void
>   google::protobuf::DescriptorBuilder::AllocateOptionsImpl(const
> std::string&,
>   const std::string&, DescriptorT::OptionsType&, DescriptorT*)':
> google/protobuf/descriptor.cc:2225: syntax error before `>' token
> make[2]: *** [descriptor.lo] Error 1
>
> Granted I am unfortunately using a pretty ancient gcc:
> gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-52)
>
> But protobuf-2.0.1 worked great.
> Any way you can preserve this compatibility you had until now?  We are
> moving to a newer EL soon, but not soon enough such that this breakage
> inconveniences me quite a bit right now.
>
> BTW, I am thrilled with protocol buffers so far!  Great work.
>
> Thanks
> --edan
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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