I can confirm David's problem---I have the same problem running gcc 3.1 on
RedHat 7.3 using the latest CVS as of this morning. In fact, if I try
Form("Hello %s","world"), I get:
hello (null)
on the output.
Glen
On 26-Jul-2002 Philippe Canal wrote:
> Hi,
>
> I can not quite reproduce your problem. However, I noted that:
>
> root [0] cout<<Form("%f",15)<<endl;
> 0.000000
> root [1] cout<<Form("%f",15.0)<<endl;
> 15.000000
>
> Cheers,
> Philippe.
>
> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
> [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of David GUEZ
> Sent: Friday, July 26, 2002 12:06 PM
> To: roottalk@cern.ch
> Subject: [ROOT] Form problem with the HEAD cvs version
>
>
> Hi,
> Since I have updated the ROOT version to the latest HEAD CVS version, I
> noticed a problem in a piece of code who works fine before.
> The problem can be reproduced, on my computer (athlon, ROOT 3.03/07,
> Mandrake 8.2, updated with gcc 3.1) as following
>
>
> WELCOME to ALICE
>
> root [0] cout<<Form("%f",15)<<endl;
> 0.000000
> root [1] cout<<Form("%d",15)<<endl;
> 0
> root [2]
>
> ....... strange !
>
>
> Thanks for your help
>
> David
>
> --
> David GUEZ
> mail: davguez@club-internet.fr
> WEB: http://perso.club-internet.fr/davguez
> ICQ : 6229724
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:02 MET