Boost logo

Boost :

From: Ormond, Randy (Randy.Ormond_at_[hidden])
Date: 2007-11-12 09:08:50


Steven,

Thanks for the suggestions.

>I don't see any recursion either. Does the simple example segfault?
>Can you post a *complete* program?

I wish I could.

>Do these two variations segfault?
>this->MyClass::f();
>boost::bind(&MyClass::f, this)()

Both of those are fine.

There's a clue here that would help me if I were smart enough. The
segfault goes away if I change the order of linking the object files.
Maybe a duplicate symbol but I haven't found it yet.

Thanks,
Randy

-----Original Message-----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]] On Behalf Of Steven Watanabe
Sent: Friday, November 09, 2007 6:32 PM
To: boost_at_[hidden]
Subject: Re: [boost] [bind] segfault

AMDG

Ormond, Randy <Randy.Ormond <at> mdnt.com> writes:

>
> Jeff,
>
> Thanks for the quick reply.
>
> But I don't see the recursion. Is MyClass::f() somehow the same as
> MyClass::SomeFunc() ?
>

I don't see any recursion either. Does the simple example segfault?
Can you post a *complete* program?

Do these two variations segfault?

this->MyClass::f();
boost::bind(&MyClass::f, this)()

In Christ,
Steven Watanabe

_______________________________________________
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