RE: [gtkmm] GCC 3.3.1 breaks gtkmm



> From: Chris Vine [mailto:chris cvine freeserve co uk]  
> On Thursday 17 July 2003 9:25 pm, Barnaby Gray wrote:
> 
> [snip]
> 
> > Using a dynamic_cast works on the outer cast, and isn't a 
> hack so much
> > as avoiding the static_cast bug in gcc, where as you point out it
> > should be allowed.
> >
> > Barnaby
> 
> Yes, that's true.  But as this is gtkmm-2.2, would 
> introducing a dynamic_cast 
> break the ABI (I really don't know the answer to that)?

No, not at all. Nobody is talking about changing a header.

I would prefer that any debian short-term fix uses dynamic_cast rather than
reinterpret_cast, and I would like it if we actually found the source of the
problem. So far I see nothing wrong or unusual about the static_cast. I
would be more likely to put this workaround in the main distribution if I
had any clue why it might be necessary.

Please do try to put information in this bug report so that we can keep
track of the issue:
http://bugzilla.gnome.org/show_bug.cgi?id=117494

Murray Cumming
murrayc usa net
www.murrayc.com 



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