Hi Vassili,
this is now fixed in the trunk.
Cheers, Axel.
On 2010-04-29 21:57, Vassili Maroussov wrote:
> Dear Rene,
>
> I know workarounds... just surprised that an extremely simple legal C++
> construction, not connected to "externals" (STL, etc.) doesn't work in
> CINT.
>
> Regards,
>
> Vassili
>
> Rene Brun wrote:
>> Replace your loop by >> >> for (Int_t jj = 0; jj < nR; ++jj) { >> TPad *pad = (TPad*)CC->cd(jj+1); >> if (jj) pad->SetLogy(); //works >> } >> >> >> Rene Brun >> >> Vassili Maroussov wrote: >>> Dear ROOTers, >>> >>> please find a small script attached, which generates a strange error. >>> Here is the output I got: >>> >>> [vmarouss_at_Ezhik-HDX18 PlayROOT]$ root >>> ******************************************* >>> * * >>> * W E L C O M E to R O O T * >>> * * >>> * Version 5.25/03 1 October 2009 * >>> * * >>> * You are welcome to visit our Web site * >>> * http://root.cern.ch * >>> * * >>> ******************************************* >>> >>> ROOT 5.25/03 (trunk_at_30887, Oct 27 2009, 19:20:52 on linuxx8664gcc) >>> >>> CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008 >>> Type ? for help. Commands must be C++ statements. >>> Enclose multiple statements between { }. >>> root [0] .x split.C >>> Error: non class,struct,union object $gPad used with . or -> split.C:8: >>> *** Interpreter error recovered *** >>> root [1] >>> >>> Regards, >>> >>> Vassili >>> >>
This archive was generated by hypermail 2.2.0 : Sun May 02 2010 - 05:50:01 CEST