Re: cast operation

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Jul 23 1999 - 14:36:18 MEST


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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:36 MET