Brat Problems

From: Peter H. L. Christiansen (pchristi@nbi.dk)
Date: Tue Jun 06 2000 - 07:29:33 EDT

  • Next message: Trine Tveter: "Vertexing - forwarded from Bjorn"

    Hi 
    
    Since updating my brat this morning I have had problems with reading
    files.
    
    When I try to open files from geantdig with BrIOModule I get the error :
    Error in <TBuffer::ReadClass>: illegal class tag=721481991 (0<tag<=2), I/O
    buffer corrupted
    File created at  with fFileMode = 0 is opened
    
    The program doesn't crash, but when i do file->Event( event ); the BrEvent
    event is empty.
    
    If someone has the same problem and/or a fix that would be nice. 
    
    A very small problem with the new version is that every time I compile 
    something ( programs/libraries ) I get this warning when linking :
    
    /nfs/hehi/hehi20/hehi/pchristi/brat/brat/include/BrIOModule.h: In method
    `Char_t * BrIOModule::GetFileName() const':
    In file included from
    /nfs/hehi/hehi20/hehi/pchristi/brat/brat/include/BrEventIO.h:49,
                     from TPM1efftest.cc:18:
    /nfs/hehi/hehi20/hehi/pchristi/brat/brat/include/BrIOModule.h:75: warning:
    return to `Char_t *' from `const char *' discards const
    
    Looking in BrIOModule.h I see that something has changed recently with
    this inline function, but I don't understand how to make the warning go
    away. 
    
    I hope that someone can help me
       Peter
    
    :-) --------------------------------- )-:
    |Peter H L Christiansen aka PAN @ NBI	|
    |EMAIL  : pchristi@nbi.dk		|
    |OFFICE : Tb1 @ NBI			|
    |PHONE  : 353 25269 <- New!!		|
    |SNAIL  : Sdr. Fasanvej 14 ST 2000 F	|
    |PHONE  : 38 872042 			|
    :-D --------------------------------- \-:
    



    This archive was generated by hypermail 2b29 : Tue Jun 06 2000 - 07:33:55 EDT