🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #112

Bug in int.BSTSet.cc

#112
From: 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

           
Technical Details
Message-ID: <8907261513.AA12164@mwsun.mitre.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!MWSUN.MITRE.ORG!palmer

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!MWSUN.MITRE.ORG!palmer
From: palmer@MWSUN.MITRE.ORG
Newsgroups: gnu.g++.lib.bug
Subject: Bug in int.BSTSet.cc
Message-ID: <8907261513.AA12164@mwsun.mitre.org>
Date: 26 Jul 89 15:13:44 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 36