Problem 65 - Compile time errors in ExpDict.cc and dirobj.h (GEANT4.1.1)
Summary: Compile time errors in ExpDict.cc and dirobj.h (GEANT4.1.1)
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry (show other problems)
Version: other
Hardware: PC Linux
: P2 normal
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2000-03-14 06:16 CET by rtascher
Modified: 2000-03-14 10:35 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 rtascher 2000-03-14 06:16:12 CET
In /source/geometry/solids/STEP/src/ExpDict.cc, at line 580 the return type is
missing in the prototype of TypeDescriptor::IsAggrType. I added "int".

In /source/geometry/solids/STEP/include/dirobj.h, line 62, I had to change
"#include <stat.h>" to include a path : "#include <sys/stat.h>"

The problem is also present in GEANT4.1.
Comment 1 Gabriele Cosmo 2000-03-14 10:35:59 CET
You're most likely not compiling with the g++ compiler version we support,
i.e. egcs-2.91.66 (egcs-1.1.2) which comes with Red-Hat 6.1.
We do not support g++ 2.95.X in Geant4 1.1.
Thanks for reporting this, anyway.