Problem 1544 - G4Polycone::IsGeneric() function missing in geant-4.10.0
Summary: G4Polycone::IsGeneric() function missing in geant-4.10.0
Status: CLOSED FIXED
Alias: None
Product: Environments
Classification: Unclassified
Component: g4py (show other problems)
Version: 10.0
Hardware: All All
: P5 trivial
Assignee: Koichi Murakami
URL:
Depends on:
Blocks:
 
Reported: 2013-12-19 04:30 CET by Benda Xu
Modified: 2014-05-26 03:39 CEST (History)
1 user (show)

See Also:


Attachments
geant-python-4.10.0-polycone.patch (558 bytes, patch)
2013-12-19 04:30 CET, Benda Xu
Details | Diff

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