Bug in rootcint?

Federico Carminati (Federico.Carminati@cern.ch)
Tue, 2 Mar 1999 16:26:47 +0100 (MET)


Dear Root'ers,
consider this piece of code:

#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

Cheers, Fed