Problem 954 - (in G4.9.0) functions declared in G4VisManager.hh which don't exist
Summary: (in G4.9.0) functions declared in G4VisManager.hh which don't exist
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: visualization/management (show other problems)
Version: other
Hardware: All All
: P5 normal
Assignee: John.Allison
URL:
Depends on:
Blocks:
 
Reported: 2007-07-02 23:54 CEST by marcus.h.mendenhall
Modified: 2007-07-10 19:28 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.