Re: [gtkmm] strange class-problem

> From: Murray Cumming <murrayc t-online de>
> On Tue, 2002-11-26 at 22:21, David Jacobs wrote:
> > When I add a variable, e.g. gint number, to a class, I get a
> > segmentation fault when I try to run the program (compilation & linking
> > is without errors/warnings).
> > 
> > I don't know really how to use dbg, but when I run the program, dbg
> > gives me this information:
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x4047ed8e in Glib::ObjectBase::is_derived_ () from
> > /usr/lib/

> Have you ruled out the gcc 2.9x dynamic_cast<> bug mentioned in the
> gtkmm FAQ?

Hi Murray,

That might be the reason, I'm using gcc 2.95.4. I shall investigate it. And in the future, I'll read the FAQ more carefully :-) 


-----------------------------------------------------, WebMail and Virtual Office

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]