small change to BrDetectorDC.h

From: SJS (ssanders@ukans.edu)
Date: Mon Jun 12 2000 - 12:59:45 EDT

  • Next message: Alv Kjetil Holme: "Some minor changes in BRAT"

    Hi,  I've just made a change to BrDetectorDC.h by adding the ! mark in
    the comment field for
    
    Float_t       *f3DPoints;            //!points for the  polymarker and
    polyline
    
    CINT requires this for pointers to arrays of native type. The
    alternative is to
    specify the size of the array in the comment field.  The comparable
    assignment
    for the TPC class already had this set up correctly.  This turns out to
    be a particularly
    nasty problem with gcc 2.95.2 (at least under linuxppc) since a compiler
    
    problem causes rootcint to segfault while it is trying to write out a
    warning message.
    
    On a different issue, there was a lot of discussion here a while back on
    the
    
    Char_t* GetFileName() const {return fFileName;}
    
    statement in base/inc/BrIOModule.h.  Is this statement now found to
    compile cleanly
    with the egcs compiler? I find that I need to remove the const to avoid
    an error flag when
    compiling.  Is the const really necessary? If the egcs compiler is
    issuing a warning the
    compiler is probably ignoring the const assignment in any case.
    ....steve
    



    This archive was generated by hypermail 2b29 : Mon Jun 12 2000 - 13:05:32 EDT