[ROOT] Multiple declaration

From: Olivier Meplan (meplan@isn.in2p3.fr)
Date: Fri Feb 23 2001 - 09:31:26 MET


Hi Rooters!
I have a stupid problem...but I don't know how to solve it!
In my code I write
    for (Int_t i=0 ; i< 10 ; i++)
    {
    ....
    }
    for  (Int_t i=0 ; i< 10 ; i++)
    {
    ....
    }

Thios work well with the DEC and Linux compilers but with CC of SUN
there is this error message:
       Error: Multiple declaration for i.
What can I do  (except rewrite all the code!)
Thanks a lot
Olivier Meplan



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:37 MET