Boost logo

Boost :

Subject: Re: [boost] puzzle for gcc gurus
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-03-22 13:19:31


Actually I did find that tweaking my path permitted me to run the test with
GDB.

Thanks very much for spotting this error. I've been looking for this on and
off
for 10 days. I can't believe I made such a dumb mistake.

Robert Ramey

Steven Watanabe wrote:
>> AMDG
>>
>> Robert Ramey wrote:
>>> I'm trying use gdb under cygwin to debug one of the tests in the
>>> serialization library.
>>>
>>> I've done the before but only with static linking. This time, the
>>> failure only occurs when using the serialization library as a
>>> shared library. So I want to trap/trace inside the
>>> boost_serialization DLL. Using the cygwin bash shell, I get the
>>> following.
>>>
>>> $ set | grep LD
>>> LD_LIBRARY_PATH=C:/BoostRelease/bin.v2/libs/serialization/build/gcc-3.4.4/debug
>>> OLDPWD=/cygdrive/c/boostrelease
>>>
>>
>> Doesn't cygwin use PATH instead of LD_LIBRARY_PATH?
>>
>>> I realize that his might be off topic - but I'm sort of desparate.
>>> Any help appreciated.
>>>
>>
>> Patch attached.
>>
>> In Christ,
>> Steven Watanabe
>>
>>
>
>
>
>> Index: libs/serialization/src/void_cast.cpp
>> ===================================================================
>> --- libs/serialization/src/void_cast.cpp (revision 51891)
>> +++ libs/serialization/src/void_cast.cpp (working copy)
>> @@ -76,9 +76,10 @@
>> extended_type_info const * derived,
>> extended_type_info const * base,
>> std::ptrdiff_t difference,
>> - bool m_includes_virtual_base
>> + bool includes_virtual_base
>> ) :
>> - void_caster(derived, base, difference)
>> + void_caster(derived, base, difference),
>> + m_includes_virtual_base(includes_virtual_base)
>> {
>> recursive_register(m_includes_virtual_base);
>> }
>>
>
>
>
>> _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk