I encountered the following compilation errors when installing patch 2 to g4.5.2. RH Linux 7.3; gcc 2.95.3 (also on MacOS10.2.6; gcc3.1) This is the first of many similar errors that occur and prevent installation. Patch 1 works fine and I did not change anything in between... the installation of Patch1 and 2. To make matters worse, it seems that once the patch is installed there is no way to go back --- and, earlier (non-patched) versions of 4.5.2 source are no longer available on web site. Compiling G4DalitzDecayChannel.cc ... In file included from include/G4ParticleDefinition.hh:346, from src/G4DalitzDecayChannel.cc:35: include/G4ParticleDefinition.icc: In method `G4int G4ParticleDefinition::GetQuarkContent(int) const': include/G4ParticleDefinition.icc:85: warning: control reaches end of non-void function `G4ParticleDefinition::GetQuarkContent(int) const' include/G4ParticleDefinition.icc: In method `G4int G4ParticleDefinition::GetAntiQuarkContent(int) const': include/G4ParticleDefinition.icc:105: warning: extra qualification `G4ParticleDefinition::' on member `SetParticleSubType' ignored include/G4ParticleDefinition.icc:105: warning: storage class `inline' invalid for function `SetParticleSubType' declared out of global scope include/G4ParticleDefinition.icc:105: warning: declaration of `void G4ParticleDefinition::SetParticleSubType(const G4String &)' outside of class is not definition include/G4ParticleDefinition.icc:105: parse error before `{' include/G4ParticleDefinition.icc:107: warning: control reaches end of non-void function `G4ParticleDefinition::GetAntiQuarkContent(int) const' make[2]: *** [/geant4/geant4.5.2/tmp/Linux-g++/G4partman/G4DalitzDecayChannel.o] Error 1
Thanks for the report. The problem is now fixed and new tar-balls for the source code are available, please re-apply those !