XBF won't compile under any compiler I have. I have tried both the latest
MrCpp and an older egcs
Here are errors from egcs:
Tester.cpp: 3: LowMem.h: No such file or directory
In file included from XBlockFile.h:33,
from XBlockFile.cpp:36:
XRedBlackTree.h:160: invalid member template declaration
XRedBlackTree.h:161: warning: ANSI C++ forbids typedef which does not
specify a type
XRedBlackTree.h:161: parse error before `;'
/opt/egcs/include/g++/stl_pair.h: In method `pair<const long unsigned
int,XBlockEntry>::pair(const long unsigned int &, const class XBlockEntry
&)':
/opt/egcs/include/g++/stl_pair.h:44: warning: conversion from `const
XBlockEntry' to `XBlockEntry &' discards const
XBlockFile.h:76: warning: in passing argument 1 of
`XBlockEntry::XBlockEntry(XBlockEntry &)'
XBlockFile.cpp: In method `void XBlockFile::SaveFile()':
XBlockFile.cpp:684: `XRBIterator' is not a member of type
`XRedBlackTree<long unsigned int,XBlockWastedSpace>'
XBlockFile.cpp:684: `vIterator' undeclared (first use this function)
XBlockFile.cpp:684: (Each undeclared identifier is reported only once
XBlockFile.cpp:684: for each function it appears in.)
XRedBlackTree.h: In method `class XRBIterator * XRedBlackTree<long unsigned
int,XBlockWastedSpace>::first()':
XRedBlackTree.h:227: invalid use of undefined type `class XRBIterator'
XBlockFile.cpp: In method `long unsigned int XBlockFile::CalculateFileEnd()':
XBlockFile.cpp:947: `XRBIterator' is not a member of type
`XRedBlackTree<long unsigned int,XBlockWastedSpace>'
XBlockFile.cpp:947: `vIterator' undeclared (first use this function)
XBlockFile.cpp: In method `void XBlockFile::SetBlock(long unsigned int,
long unsigned int, void *, long unsigned int)':
XBlockFile.cpp:1016: warning: assignment to `long unsigned int' from
`{unknown type} *' lacks a cast
XBlockFile.cpp: In method `void XBlockFile::FluffBlock(class XBlockEntry *,
unsigned int)':
XBlockFile.cpp:1145: `XRBIterator' is not a member of type
`XRedBlackTree<long unsigned int,XBlockWastedSpace>'
XBlockFile.cpp:1145: `vIterator' undeclared (first use this function)
/opt/egcs/include/g++/stl_pair.h: In method `pair<const long unsigned
int,XBlockEntry>::pair(const struct pair<const long unsigned
int,XBlockEntry> &)':
/opt/egcs/include/g++/stl_pair.h:48: warning: conversion from `const
XBlockEntry' to `XBlockEntry &' discards const
XBlockFile.cpp:1366: warning: in passing argument 1 of
`XBlockEntry::XBlockEntry(XBlockEntry &)'
In file included from XRedBlackTree.cpp:28:
XRedBlackTree.h:160: invalid member template declaration
XRedBlackTree.h:161: warning: ANSI C++ forbids typedef which does not
specify a type
XRedBlackTree.h:161: parse error before `;'