Problem 7

Summary: global/STLInterface/rw/defs.h doesn't compile on HP-UX
Product: Geant4 Reporter: Paulo Mora de Freitas <mora>
Component: globalAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 0.1   
Hardware: HP   
OS: HP-UX   

Description Paulo Mora de Freitas 1999-08-20 06:55:38 CEST
Trying to use the STL version on HP-aCC platform (setting the G4USE_STL flag to
1 and issueing the gmake command) lets to these error messages:

Error 173: "/u7/mora/Geant4/geant4_STL/source/global/STLInterface/rw/defs.h",
line 27 # Redefined
    symbol 'RWBoolean'; previously defined at ["/opt/aCC/include/rw/stddefs.h",
line 67].
      typedef bool RWBoolean;
                   ^^^^^^^^^
gmake[2]: *** [/u7/mora/Geant4/geant4_STL/tmp/HP-aCC/G4globman/G4Exception.o]
Error 2

  Tested on HP-UX B.10.20, aCC HP ANSI C++ B3910B A.01.15, geant4-00-01-ref-01
Geant4 tag. Tested also on hpplus with the same diagnostic.
Comment 1 John.Allison 1999-08-23 07:08:59 CEST
Changed "sometag" to "other" to see if it can now be queried.
Comment 2 Gabriele Cosmo 1999-10-01 10:18:59 CEST
Only Object-Space STL is currently supported (geant4.0.1) for HP-UX.
G4USE_OSPACE should be used instead.
This problem will hopefully disappear as soon as RogueWave will not
anymore be supported and classes in the STLInterface will have references
to RWT types removed.
Comment 3 Gabriele Cosmo 1999-11-26 04:47:59 CET
Now fixed from tag global-V00-01-10.
The new code will be included in Geant4 1.0.