Re: compiling tuxcards

Ralf Habacker <[email protected]>
Newsgroups gmane.comp.kde.devel.cygwin
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.