Re: [ROOT] Multiple declaration

From: Eddy Offermann (eddy@rentec.com)
Date: Fri Feb 23 2001 - 15:28:22 MET


Hi Oliver,
You must be using a Sun compiler version < 5.0 . After (inclduing) 5.0
this was resolved and not an error anymore.

> X-Authentication-Warning: pcroot.cern.ch: majordomo set sender to 
owner-roottalk@root.cern.ch using -f
> Date: Fri, 23 Feb 2001 09:31:26 +0100
> From: Olivier Meplan <meplan@isn.in2p3.fr>
> X-Accept-Language: en
> MIME-Version: 1.0
> To: roottalk@pcroot.cern.ch
> Subject: [ROOT] Multiple declaration
> Content-Transfer-Encoding: 7bit
> X-Filter-Version: 1.3 (wren)
> 
> 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
> 

Eddy A.J.M. Offermann
Renaissance Technologies Corp.
Route 25A, East Setauket NY 11733
e-mail: eddy@rentec.com
http://www.rentec.com



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