Re: cast operation

Fons Rademakers (Fons.Rademakers@cern.ch)
Fri, 23 Jul 1999 12:36:18 +0000


The current versions (>2.22) are by default compiled with RTTI and
exception handling so there should be no problem.

Cheers, Fons.

Onuchin Valeriy wrote:
>
> Dear Rooters, sorry for bothering you
> again with that problem, but using new casts
>
> const_cast
> static_cast
> dynamic_cast
> reinterpret_cast
>
> requires -frtti flag for g++ compiler
> most ROOT makefiles use -fno-rtti flag.
> Is it correct to use -frtti while making
> ROOT classes? Best regards. Valery

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910