RSIM Bug Report #24

Version of RSIM1.0
Bug number23
Bug class4
Date10/22/99
Reported byMilos Prvulovic, UIUC
AffectsCompilation errors with stricter C++ compilers
Filesincl/MemSys/req.h, incl/MemSys/mshr.h, incl/Processor/memory.h, src/MemSys/mshr.c

Problem Description

Some C++ compilers will not allow constructs such as typedef enum X X, since an enum is automatically typedef'd in C++. This affects enum ReqType.

Problem Fix

Change instances of enum ReqType in the above files to enum ReqTypeEnum. Do not change instances of ReqType without a prior enum.