Problem 954

Summary: (in G4.9.0) functions declared in G4VisManager.hh which don't exist
Product: Geant4 Reporter: marcus.h.mendenhall
Component: visualization/managementAssignee: John.Allison
Status: RESOLVED FIXED    
Severity: normal    
Priority: P5    
Version: other   
Hardware: All   
OS: All   

Description marcus.h.mendenhall 2007-07-02 23:54:58 CEST
There are functions in the G4VisManager.hh which are declared but do not exist in the source code anywhere.  

Although this appears benign, it breaks automatic wrapper generators such as SWIG, since SWIG generates wrappers for these functions which then causes undefined symbols in the library linkage process.  Here are the lines I had to comment out (starting around line 347 of the header file):

  // NOTE This routine no longer exists in the source code MHM 20070702
  // const G4String&              GetBeginOfLastRunRandomStatus   () const;
  // NOTE This routine no longer exists in the source code MHM 20070702
  // const G4String&              GetBeginOfLastEventRandomStatus () const;
  // NOTE This routine no longer exists in the source code MHM 20070702
  //  G4int                        GetLastRunID                    () const;
  
Marcus Mendenhall
Comment 1 John.Allison 2007-07-10 19:28:18 CEST
Dear Marcus,

Thankyou.  This is simply an oversight on my part.  I wil corect fro the next release or the next patch should one be issued.

John Allison.