Problem 1272 - Function Call prevents compilation
Summary: Function Call prevents compilation
Status: CLOSED FIXED
Alias: None
Product: Environments
Classification: Unclassified
Component: g4py (show other problems)
Version: 9.4
Hardware: PC Linux
: P5 normal
Assignee: Koichi Murakami
URL:
Depends on:
Blocks:
 
Reported: 2011-12-16 21:24 CET by benjamin.connors
Modified: 2012-02-15 10:09 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description benjamin.connors 2011-12-16 21:24:00 CET
In pyG4VProcess.cc the calls to BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS for StorePhysicsTable and RetrievePhysicsTable have a min_args argument of 2.  I believe this should be 3, when it is set at 2 it throws an error:

error: no matching function for call to ‘G4VProcess::StorePhysicsTable(const G4ParticleDefinition*&, const G4String&)’
/geant4.9.4.p02/include/G4VProcess.hh:232: note: candidates are: virtual G4bool G4VProcess::StorePhysicsTable(const G4ParticleDefinition*, const G4String&, G4bool)
Comment 1 Koichi Murakami 2012-02-15 10:08:57 CET
Thans for report.
That was fixed in 9.5.