Hi,
this is a known limitation that we'll make vanish soon. Until then, use ClassDef(RangeError,0), or hide RangeError from rootcint:
#ifdef __MAKECINT__
class RangeError;
#else
class RangeError: public std::exception {
// the real class definition
... };
#endif
Cheers, Axel.
Piergiorgio Cerello wrote:
> 
> 
> hi,
> 
> when trying to compile my code (on macosx 10.4) I get a series of errors
> like the following:
> 
> 
> MGMatrixCint.cc:71: error: looser throw specifier for 'virtual
> ROOT::Shadow::MGPixelDatalEintgR::RangeError::~RangeError()'
> 
> /usr/include/gcc/darwin/4.0/c++/exception:58: error:   overriding
> 'virtual std::exception::~exception() throw ()'
> 
> 
> the problem appeared after a
> 
> cvs update I did yesterday
> 
> 
> the error disappears if in the MGMatrixCint.cc file I replace:
> 
> 
> virtual ~RangeError() {};
> 
> with:
> 
> virtual ~RangeError() throw() {};
> 
> 
> 
> how can I make rootcint generate the dictionary in the correct form?
> 
> thanks,
> 
> cheers,
> 
> Piergiorgio
> 
> 
> Piergiorgio Cerello
> 
> cerello_at_to.infn.it <mailto:cerello_at_to.infn.it>
> 
> 
> 
> 
Received on Thu Feb 23 2006 - 12:25:31 MET
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET