palmer@MWSUN.MITRE.ORG (07/26/89)
The following error occurs during "make tests" :
In method void intBSTSet::balance ():
int.BSTSet.cc:299: `root' was not declared (first use this function)
int.BSTSet.cc:299: (Each undeclared identifier is reported only once
int.BSTSet.cc:299: for each function it appears in.)
int.BSTSet.cc:306: `root' was not declared (first use this function)
int.BSTSet.cc:333: `count' was not declared (first use this function)
int.BSTSet.cc:354: `root' was not declared (first use this function)
int.BSTSet.cc:355: `root' was not declared (first use this function)
In method int intBSTSet::OK ():
int.BSTSet.cc:362: `root' was not declared (first use this function)
int.BSTSet.cc:363: `count' was not declared (first use this function)
int.BSTSet.cc:376: `count' was not declared (first use this function)
*** Error code 1
Stop.
*** Error code 1
Stop.
The bug is not immediately apparent since the functions
leftmost(), rightmost(), and add() also access 'root'.
This seems to be the only compilation error.
---------
System : Sun O.S. 3.5 on 3/280; gcc 1.35, g++ 1.35, libg++ 1.35.1
Forrest Palmer
palmer@mwsun.mitre.org