[protobuf] Re: Issue 166 in protobuf: by_symbol_.insert(iter, make_pair(name, value)); fails with Sun Studio 12

2011-04-26 Thread protobuf


Comment #7 on issue 166 by james.de...@gmail.com: by_symbol_.insert(iter,  
make_pair(name, value)); fails with Sun Studio 12

http://code.google.com/p/protobuf/issues/detail?id=166

make_pairstring, string is not compatible with C++0x.  You probably want  
pairstring, string as a workaround for broken stdlibs.



--
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 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Issue 166 in protobuf: by_symbol_.insert(iter, make_pair(name, value)); fails with Sun Studio 12

2010-08-24 Thread protobuf


Comment #4 on issue 166 by philip.logan: by_symbol_.insert(iter,  
make_pair(name, value)); fails with Sun Studio 12

http://code.google.com/p/protobuf/issues/detail?id=166

BTW, compiler/command_line_interface.cc contains a similar problem with Sun  
Studio compiler with default STL implementation:

Changing
  proto_path_.push_back(make_pair(, .));
to
  proto_path_.push_back(make_pairstring, string(, .));
resolves problem (or replace make_pair with value_type for collection).

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



[protobuf] Re: Issue 166 in protobuf: by_symbol_.insert(iter, make_pair(name, value)); fails with Sun Studio 12

2010-02-28 Thread protobuf


Comment #2 on issue 166 by maciej.blizinski: by_symbol_.insert(iter,  
make_pair(name, value)); fails with Sun Studio 12

http://code.google.com/p/protobuf/issues/detail?id=166

I worked around the issue by using an alternative STL implementation.

This page has something that might be a different workaround.
http://developers.sun.com/solaris/articles/cmp_stlport_libCstd.html

This issue might be a duplicate of issue 134.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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



[protobuf] Re: Issue 166 in protobuf: by_symbol_.insert(iter, make_pair(name, value)); fails with Sun Studio 12

2010-02-22 Thread protobuf


Comment #1 on issue 166 by ken...@google.com: by_symbol_.insert(iter,  
make_pair(name, value)); fails with Sun Studio 12

http://code.google.com/p/protobuf/issues/detail?id=166

If you change make_pair(name, value) to make_pairstd::string,const
FileDescriptorProto*(name, value), does it work?  If so, your compiler's  
definition

of the pair template is apparently missing a constructor.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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