RE:Bug in rootcint?

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Wed Mar 03 1999 - 22:29:18 MET


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



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