Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ee.ubc.ca!mikeb From: mikeb@ee.ubc.ca (Mike Bolotski) Newsgroups: gnu.g++.lib.bug Subject: twrapper.cc doesn't compile Message-ID: <159*mikeb@ee.ubc.ca> Date: 28 May 89 01:49:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 35 Machine: Sun 3/260 SunOs 4.0.1 g++ version 1.35.1- (1.35.0 patched with May19 and May23 patches posted by Michael Tiemann). Libg++ 1.35.0. make tests . . . g++ -g -O -fchar-charconst -I../g++-include -I. -fstrength-reduce -c tInteger. cc g++ tInteger.o -o tInteger -lg++ -lm g++ -g -O -fchar-charconst -I../g++-include -I. -fstrength-reduce -c twrapper. cc twrapper.cc:14: warning: lazy prototyping frowned upon twrapper.cc:42: warning: lazy prototyping frowned upon twrapper.cc:45: warning: lazy prototyping frowned upon twrapper.cc:76: warning: lazy prototyping frowned upon twrapper.cc:84: warning: lazy prototyping frowned upon In function int main (int, char **): twrapper.cc:295: type `MemoizedInteger' is derived from private `MemoizedInteger Base' *** Error code 1 make: Fatal error: Command failed for target `twrapper.o' I think this occurs because MemoizedInteger does not have a constructor of its own, and it is derived as private from MemoizedIntegerBase. Somehow, the constructor is hidden. Note: the problem did not occur before the May 23 patches. Mike Bolotski, Department of Electrical Engineering, University of British Columbia, Vancouver, Canada mikeb@ee.ubc.ca | mikeb%ee.ubc.ca@relay.ubc.ca ee.ubc.ca!mikeb@uunet.uu.net | ...!ubc-vision!ee.ubc.ca!mikeb