🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
1 messages
1 total messages Started by palmer Wed, 26 Jul 1989 15:13
Bug in int.BSTSet.cc
#112
Author: palmer
Date: Wed, 26 Jul 1989 15:13
36 lines
1553 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.

---------
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

           
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