Version of RSIM | 1.0 |
Bug number | 25 |
Bug class | 4 |
Date | 01/20/03 |
Reported by | Internal |
Affects | Compilation errors with some compilers |
Files | src/Processor/funcs.cc, src/Processor/mainsim.cc, incl/Processor/FastNews.h, |
Step 1. Replace all instances of "xor" in src/Processor/funcs.cc with "boolXOR".
Step 2. Replace all instances of "dirname" in src/Processor/mainsim.cc with "DirectoryName".
Step 3. Replace line 84 in incl/Processor/FastNews.h.
Original code:
extern void *operator new(size_t, void *);
New code:
#include <new.h>
Step 4. For building the RSIM libraries, modify apps/utils/lib/Makefile. Remove fclose.o, fscanf.o, sscanf.o, and fflush.o from the list of object files to remove from the standard libc.a. Add flush.o to the list.