[Brahms-dev-l] banapp small bug update (banapp 0.7.1)

From: Truls Martin Larsen <trulsml@nbi.dk>
Date: Fri Jan 13 2006 - 11:40:36 EST
Ups...

sorry about that, it should say:
errors[2][0] != '\0' (single quotes)

it checks to see if the string is empty...
'\0' being the character written at the end of all strings...

banapp is updated and tagged...

Cheers,
        Truls

On Fri, 2006-01-13 at 13:07 +0100, Pawel Staszel wrote:
> Hi Truls
> When compiling banapp I got the following error:
> checkMTreeHistos.cxx: In function `void CheckFile(TFile*, const 
> TString*, int,
>    const Char_t*)':
> checkMTreeHistos.cxx:131: ISO C++ forbids comparison between pointer
and
>    integer
> 
> The line 131 looked as follow:
>  if (!error[2].IsNull() && error[2][0] != "\0")
> 
> I removed second bracket, e.g. I changed error[2][0]  to error[2] and 
> the compilation passed
> smoothly. Does it make sense? I don't understand the code.
> 
> Cheers,
> Pawel.
> 
>  
> 


_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l@lists.bnl.gov
http://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Fri Jan 13 11:41:11 2006

This archive was generated by hypermail 2.1.8 : Fri Jan 13 2006 - 11:41:46 EST