Problem 963 - Bugs in coding of x-ray_fluro sample!!!
Summary: Bugs in coding of x-ray_fluro sample!!!
Status: RESOLVED FIXED
Alias: None
Product: Examples/Advanced
Classification: Unclassified
Component: xray_fluorescence (show other problems)
Version: 9.0
Hardware: PC Windows
: P5 critical
Assignee: alfonso.mantero
URL:
Depends on:
Blocks:
 
Reported: 2007-08-27 11:34 CEST by porosev
Modified: 2009-03-19 17:30 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 porosev 2007-08-27 11:34:37 CEST
Hello all!

Recently, I tried to compiled the x-ray fluro sample under MS compiler and catch a lot of simple bugs!!!!! 

1. XrayFluoDataSet.hh( line 84) :

'XrayFluoDataSet::LoadData': overriding virtual function return type differs and is not covariant from 'G4VEMDataSet::LoadData'

2. XrayFluoNormalization.cc( Line 57) : 
'XrayFluoDataSet' : cannot instantiate abstract class due to following members:
'void G4VEMDataSet::SetEnergiesData(G4DataVector *,G4DataVector *,G4int)' : is abstract G4VEMDataSet.hh(68) : see declaration of 'G4VEMDataSet::SetEnergiesData'

'G4bool G4VEMDataSet::SaveData(const G4String &) const' : is abstract
D:\GEANT4_9_0\include\G4VEMDataSet.hh(71) : see declaration of 'G4VEMDataSet::SaveData'

I am sorry, but How you can test such code????

Sincerely Yours,
Viacheslav Porosev