re:error message

Masaharu Goto (MXJ02154@nifty.ne.jp)
Fri, 04 Dec 1998 23:08:59 +0900


Pilippe and Rene,

I agree too. And still, will you bear a little inconvenience here?
Cint tries to resolve unknown symbol in many different scopes and
object types. It is not so simple to separate error at 'hpx'. It can be
done, but there is risk of side effect.
I'll put it in my enhancement list for now.

Masaharu Goto

-----------------------------------------------------------
Hi Masa,
I agree with Philippe about the error message that CINT
should print.
Rene

Philippe Canal wrote:
> root [0] .x h1draw.C
> Error in <TFile::TFile>: file hsimple.root does not exist
> TFile** hsimple.root
> TFile* hsimple.root
> Error: No symbol hpx->SetFillColor(45) in current scope
> FILE:/data64/upgrade/pcanal/root/root/tutorials/./h1draw.C LINE:30
> *** Interpreter error recovered ***
> root [1]
> This is the end of ROOT -- Goodbye
>
> >>>>>> A better message would be in this case:
>
> Error: No symbol hpx in current scope
FILE:/data64/upgrade/pcanal/root/root/tu
> torials/./h1draw.C LINE:30