Hi Olivier, This is a well know problem with several C++ compilers. I have modified your code below to get it compiled with no warnings Rene Brun Olivier Meplan wrote: > > Hi Rooters! > I have a stupid problem...but I don't know how to solve it! > In my code I write Int_t i; > for (i=0 ; i< 10 ; i++) > { > .... > } > for (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