compiling tuxcards

Ralf Habacker ralf.habacker at freenet.de
Sat Apr 23 11:01:53 CEST 2005


On Thursday 21 April 2005 23:34, Christian Ehrlicher wrote:
> Peter Kümmel schrieb:
> > Christian Ehrlicher wrote:
> >> I've attached a small patch which fixes this problem. Borland & msvc
> >> complained about this and so it was easy to fix.
> >> If you encounter more problems, please compile with debug informations
> >> and provide a gdb backtrace :)
> >>
> >> Christian
> >
> > -   CTreeElement* pTreeElem = dynamic_cast<CTreeElement*>(pItem);
> > +   CTreeElement* pTreeElem = (CTreeElement*)(pItem);
> >
> > Replacing a c++ cast by a c cast? What is wrong with the original code?
> > Throws it exceptions?
>
> Maybe you'll find the answer here:
> http://www.lunaticsystems.com/index.php?module=articles&func=display&ptid=4
>&aid=42 http://www.codeguru.com/forum/archive/index.php/t-312456.html
>
> :)
I've got this  running with 

#define  dynamic_cast static_cast 

Ralf 



More information about the kde-cygwin mailing list