Hello Fons and Randovan, Thank you for your report. <stdexcept> has not been included in CINT. I'll add that header to cint5.14.87. However, I am not sure if it behaves correctly with exception throwing mechnism because I am making no change to it. If you need further solution, please let me know with a small example. Masaharu Goto >Date: Fri, 4 May 2001 19:28:57 +0200 >From: Fons Rademakers <Fons.Rademakers@cern.ch> >To: Masaharu Goto <MXJ02154@niftyserve.or.jp> >Cc: Rene Brun <rene.brun@cern.ch> >Subject: [bernet@kph.uni-mainz.de: Re: [ROOT] STL exceptions ?] > >Hi Masa, > > can you explain the complication for CINT in this case. > >Cheers, Fons. > > >----- Forwarded message from Colin Bernet <bernet@kph.uni-mainz.de> ----- > >Date: Fri, 04 May 2001 17:27:18 +0200 >From: Colin Bernet <bernet@kph.uni-mainz.de> >X-Accept-Language: en >To: Radovan CHYTRACEK <Radovan.Chytracek@cern.ch> >CC: roottalk <roottalk@pcroot.cern.ch> >Subject: Re: [ROOT] STL exceptions ? > >Hi Radovan, > >Thanks for your answer, I didn't know about this directory. I looked at >_exception.h, and I'm not sure it is the file I'm looking for (if it is, it >would be better if it had the standard name). It looks like there is nothing >to support standard exceptions right now. >Is that the case ? Could this be implemented ? > >Thanks, >Colin > >Radovan CHYTRACEK wrote: > >> Colin Bernet wrote: >> > I cannot manage to use std::exception in a ROOT class (ie having a >> > dictionnary). This looks to be due to the fact that rootcint doesn't >> > understand #include <stdexcept>. it says : >> > Error: cannot open file "stdexcept" FILE:MyException.h LINE:5 >> >> I was looking into cint/stl directory where is no <stdexcept> file. >> However I have found _exception.h file in cint/include directory which >> looks like the one you need. I am not sure whether this one can be used as >> <stdexcept> header. >> >> Radovan > >-- >Colin Bernet >Tel. +49-6131/39-23192 >Fax +49-6131/39-22964 > > > >----- End forwarded message ----- > >-- >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 01 2002 - 17:50:44 MET