[ROOT] error message in CINT

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Wed Jun 14 2000 - 11:40:14 MEST


Hi,

I have one remark concerning error messages in CINT. When one has a
class or a struct and wants to access a member that doesn't exist (some
people make stupid mistakes...) the error message states that the OBJECT
itself doesn't exist. For example :

root [0] struct st {double a; double b;}
root [1] struct st x
root [2] x.a=1
(const int)1
root [3] x.b=2
(const int)2
root [5] x.c
Error: No symbol x in current scope  FILE:/tmp/gaaaaeFCa_cint LINE:1
                ^^^

This is very misleading because one may think that he made a mistake on
an object while he did on a member. Some people (the same as above) can
loose hours searching...

Is it difficult to make it more clear, for example saying "no symbol
x.c" instead of "no symbol x" ?

Cheers

Damir
-- 
=====================================================================
| Damir Buskulic                  | Universite de Savoie/LAPP       |
|                                 | Chemin de Bellevue, B.P. 110    |
| Tel : +33 (0)450091600          | F-74941 Annecy-le-Vieux Cedex   |
| e-mail: buskulic@lapp.in2p3.fr  | FRANCE                          |
=====================================================================
mailto:buskulic@lapp.in2p3.fr



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:27 MET