Problem 542

Summary: case
Product: Geant4 Reporter: Koichi Murakami <Koichi.Murakami>
Component: visualizationAssignee: Satoshi Tanaka <stanaka>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P4    
Version: 5.2   
Hardware: PC   
OS: Linux   

Description Koichi Murakami 2003-10-09 05:38:14 CEST
In G4HepRepSceneHandler.cc,

void G4HepRepSceneHandler::AddPrimitive (const G4Polymarker& line) {
    ...
    switch (line.GetMarkerType()) {
        case line.dots:
        case line.circles:
        case line.squares:
        case line.line:
     ...

Expressions of "line.xxx" in case statements cause compile errors
for Intel icc compiler.
I know, of course,  icc is not a supported compiler, but i think it is more
prefered and robust to make small changes to be like

   case G4Polymarker::dots:
   case G4Polymarker::circles:
   ...
Comment 1 Gabriele Cosmo 2004-02-17 08:51:59 CET
Problem now fixed in latest patch to release 6.0.