CINT doesn't see syntactic error

From: Damir Buskulic (buskulic@lapp.in2p3.fr)
Date: Fri Mar 05 1999 - 09:55:52 MET


Hi,
I'm, among other things, using ROOT for our students to learn some basic
numerical analysis methods.
Of course, these students often do stupid errors (that never happens to
us, of course...) and this is a good benchmarking for CINT/ROOT
stability.

My question is : why doesn't CINT catch this obvious error :

{
   float t=1.;
   float dt=0.3;
   t=t-2dt; // missing *
}

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 04 2000 - 00:43:29 MET