[C++-sig] Re: Re: shared_ptr -> weak_ptr -> shared_ptr

Andreas Beyer beyer at imb-jena.de
Fri Apr 15 02:20:22 CEST 2005


Peter Dimov wrote:

>Andreas Beyer wrote:
>  
>
>>Unfortunately that doesn't help. I called bjam like this:
>>bjam -sBUILD=release -sBOOST_DISABLE_THREADS  -q
>>and I get the same problem.
>>I then tried to compile the debug version and the story gets even
>>worse: I get an internal comiler error:
>>
>>bjam -sBUILD=debug -sBOOST_DISABLE_THREADS  -q
>>[...]
>>gcc-C++-action
>>bin/csrc/ptr_test.so/gcc/debug/shared-linkable-true/ptr_test.o
>>/cellar/users/abeyer/boost/boost_current/boost/detail/sp_counted_base_gcc_x86.hpp:
>>In
>>  function `long int boost::detail::atomic_conditional_increment(long
>>int*)':
>>/cellar/users/abeyer/boost/boost_current/boost/detail/sp_counted_base_gcc_x86.hpp:94:
>>Internal
>>  compiler error in instantiate_virtual_regs_1, at function.c:3974
>>Please submit a full bug report,
>>with preprocessed source if appropriate.
>>See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
>>    
>>
>
>Please try the latest CVS version, where this problem has been fixed. 
>Hopefully it will take care of your other issue as well. Please let us know 
>whether this solves the problem. 
>
>  
>
That's it! Now it works even without the -sBOOST_DISABLE_THREADS flag.
Both problems are gone.

Peter, thanks a lot!!

Andreas





More information about the Cplusplus-sig mailing list