Thread View: gnu.g++.bug
1 messages
1 total messages
Started by palmer
Thu, 27 Jul 1989 12:56
Bug in int.BSTSet.cc
Author: palmer
Date: Thu, 27 Jul 1989 12:56
Date: Thu, 27 Jul 1989 12:56
42 lines
1629 bytes
1629 bytes
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.
If anyone has a fix, could you please send it to me (or bug-g++.)
Thanks,
Forrest Palmer
palmer@mwsun.mitre.org
---------
System : Sun O.S. 3.5 on 3/280; gcc 1.35, g++ 1.35, libg++ 1.35.1
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads