RE:Bug in rootcint?

Masaharu Goto (MXJ02154@nifty.ne.jp)
Thu, 04 Mar 1999 06:29:18 +0900


Federico,

Thank you for reporting this. This is a CINT problem which happens as a
side-effect of fixint another problem. Let me think how to fix this.

Masaharu Goto

--------------------------------------------------------------------
#include "TObject.h"

class junk : public TObject {
junk(){
const Float_t a=1;
const Float_t b=1/a;
}
~junk(){}
};

Of course it compiles without problems. But when rootcint is run I have
the following output:

Error: No symbol a in current scope FILE:bug1.h LINE:6
Error: operator '/' divided by zero FILE:bug1.h LINE:6
Note: operator new() masked 1c
Note: operator delete() masked 1c