[Brahms-dev-l] banapp

From: Pawel Staszel <ufstasze@if.uj.edu.pl>
Date: Fri Jan 13 2006 - 07:07:53 EST
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.

 

-- 
 ----------------------------------------------------------------------
| Pawel Staszel                                                        |
| Jagiellonian University                                              |
| Institute of Physics            email:      ufstasze@if.uj.edu.pl    |
| Reymonta 4                      phone:      (+48) 12 663 5712        |
| Krakow 30059                    FAX:        (+48) 12 633 7086        |
| Poland                                                               |
 ----------------------------------------------------------------------


_______________________________________________
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 07:05:57 2006

This archive was generated by hypermail 2.1.8 : Fri Jan 13 2006 - 07:06:04 EST