Problem 1544

Summary: G4Polycone::IsGeneric() function missing in geant-4.10.0
Product: Environments Reporter: Benda Xu <heroxbd>
Component: g4pyAssignee: Koichi Murakami <Koichi.Murakami>
Status: CLOSED FIXED    
Severity: trivial CC: andre.holzner
Priority: P5    
Version: 10.0   
Hardware: All   
OS: All   
Attachments: geant-python-4.10.0-polycone.patch

Description Benda Xu 2013-12-19 04:30:50 CET
Created attachment 247 [details]
geant-python-4.10.0-polycone.patch

g++ -c -o pyG4TwistedTubs.o -fPIC -ansi -pipe   -DBOOST_PYTHON_DYNAMIC_LIB -O2 -pipe -march=corei7 -DNDEBUG -I. -I/opt/gentoo/usr/include/py\
thon2.7 -I/opt/gentoo/usr/include -I/opt/gentoo/usr/include/Geant4 -I/dev/shm/portage/sci-physics/geant-python-4.10.00/work/geant4.10.00/env\
ironments/g4py-python2_7/source/version -I/dev/shm/portage/sci-physics/geant-python-4.10.00/work/geant4.10.00/environments/g4py-python2_7/so\
urce/boost -DG4VIS_USE_OPENGLX -DG4VIS_USE_OPENGL -DG4VIS_USE pyG4TwistedTubs.cc
pyG4Polycone.cc: In function ‘void export_G4Polycone()’:
pyG4Polycone.cc:99:29: error: ‘IsGeneric’ is not a member of ‘G4Polycone’

The compilation fail as above. A trivial patch is attached.
Comment 1 Koichi Murakami 2014-05-26 03:39:22 CEST
The method is obsolete, removed from the list of the attributes in the python class.