| Summary: | src/G4PiMinusStopMaterial.cc doesn't compiled | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | isupov |
| Component: | processes/electromagnetic/lowenergy | Assignee: | Sebastien Incerti <incerti> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 1.0 | ||
| Hardware: | PC | ||
| OS: | All | ||
Could you be more precise about operating system and compiler, please? Also, your environment (G4SYSTEM, etc.)? Fix committed to cvs. |
In the include/G4PiMinusStopMaterial.hh , line 77: G4double _R; - some variable, but _R already #define'd somewhere to 0x000400000L . It's cause a compilation problem :) Following ugly patch works, but authors can fix this more correctly... *** G4PiMinusStopMaterial.hh.org Sun Jan 30 19:30:59 2000 --- G4PiMinusStopMaterial.hh Sun Jan 30 20:03:33 2000 *************** *** 74,79 **** --- 74,82 ---- G4RWTPtrOrderedVector<G4LorentzVector>* _momenta; G4DistributionGenerator* _distributionE; G4DistributionGenerator* _distributionAngle; + #ifdef _R + #undef _R + #endif G4double _R; G4double GenerateAngle(G4double range);