Sushil Shelly wrote:
> Yea we do a make clean and rebuild to get new libraries, Is there any
> one actually using C++ 4.1.1?

By C++ 4.1.1 I'm assuming you are using GCC? If so, yes, I use this on
several of the machines in my build farm for Drizzle (which uses
Protobuf quite heavily) with no problems.

If you do not mean GCC, then what compiler are you talking about?

Monty

> On Fri, Aug 14, 2009 at 11:59 AM, Monty Taylor <mord...@inaugust.com
> <mailto:mord...@inaugust.com>> wrote:
> 
>     Sushil Shelly wrote:
>     > Kenton and Team,
>     >
>     > We recently moved to using c++ 4.1.1 and are getting a segmentation
>     > fault as shown below. We are simply building the tutorial code and
>     then
>     > run 'add_person' (This same test runs fine when built with C++ 3.4.0).
> 
>     Did you re-build protobuf after upgrading to 4.1.1? C++ doesn't
>     guarantee binary compatibility in this particular case - so if your
>     library was built with the old compiler version and the test program
>     with the new, it may be an issue.
> 
>     > Partial core dump is shown below!!
>     > ---------------------------------------------
>     > Core was generated by `add_person'.
>     > Program terminated with signal 11, Segmentation fault.
>     > #0  0x0809dbc7 in std::_Rb_tree<std::string, std::pair<std::string
>     > const, std::pair<void const*, int> >,
>     > std::_Select1st<std::pair<std::string const, std::pair<void
>     const*, int>
>     >> >, std::less<std::string>, std::allocator<std::pair<std::string
>     const,
>     > std::pair<void const*, int> > > >::insert_unique (this=0x4,
>     >     _...@0xbfbed9c8)
>     > ---------------------------------------------
>     >
>     > This is fairly urgent for us and is a show-stopper - could you please
>     > comment..
>     >
>     > thanks,
>     >
>     > Sushil.
>     >
>     > >     >
> 
> 


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

Reply via email to