Message: Bug in G4DataQuestionaire ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Bug in G4DataQuestionaire ? 

Keywords: Physics List
Forum: Physics List
Date: 31 Mar, 2003
From: Alain Ferragut <Alain Ferragut>

Hi, I tried the new physics list package for G4.5.0+patch and the result I got was the message : "data type requested is not known to the system." and the program aborts. I found out that this message is send by "G4DataQuestionaire.hh" according to a switch instruction. There is no break instruction inside the blocks of instructions in the switch statement, except if some conditions are fullfilled. If not, I guess that, without break statement, the program will scan the whole blocks of the switch instruction and finally reach the "default" block, then abort as it is written... I added "break" at the end of each block, within the switch, and it seems to work well. Am I right ? Thanks,

              Alain

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Bug in G4DataQuestionaire ?   (Wellisch, J.P. - 07 Apr, 2003)
 Add Message Add Message
to: "Bug in G4DataQuestionaire ?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]