🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

twrapper.cc doesn't compile

#521
From: Doug Lea
Date: Sun, 28 May 1989 12:37
35 lines
1375 bytes
Thanks. The following changes are needed to compile under g++-1.35.0+:

R>diff -rc2N twrapper.cc~ twrapper.cc
*** twrapper.cc~	Thu Mar 30 05:59:46 1989
--- twrapper.cc	Sun May 28 08:23:15 1989
***************
*** 195,199 ****
  }
  
! class MemoizedInteger : MemoizedIntegerBase
  {
   public:
--- 195,199 ----
  }
  
! class MemoizedInteger : public MemoizedIntegerBase
  {
   public:
R>diff -rc2N tgwrapper.cc~ tgwrapper.cc
*** tgwrapper.cc~	Sun May  7 06:49:16 1989
--- tgwrapper.cc	Sun May 28 08:23:13 1989
***************
*** 127,131 ****
  
  #define DEFINE_MEMOIZED_CLASS(TYPE, CLASS_BODY) \
!   class Memoized ## TYPE : Memoized ## TYPE ## Base CLASS_BODY
  
  #define DEFINE_WRAPPER_1(TYPE) \
--- 127,131 ----
  
  #define DEFINE_MEMOIZED_CLASS(TYPE, CLASS_BODY) \
!   class Memoized ## TYPE : public Memoized ## TYPE ## Base CLASS_BODY
  
  #define DEFINE_WRAPPER_1(TYPE) \
Technical Details
Message-ID: <8905281237.AA27766@rocky>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!ukma!tut.cis.ohio-state.edu!ROCKY.OSWEGO.EDU!dl
References: <159*mikeb@ee.ubc.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!ukma!tut.cis.ohio-state.edu!ROCKY.OSWEGO.EDU!dl
From: dl@ROCKY.OSWEGO.EDU (Doug Lea)
Newsgroups: gnu.g++.lib.bug
Subject: twrapper.cc doesn't compile
Message-ID: <8905281237.AA27766@rocky>
Date: 28 May 89 12:37:42 GMT
References: <159*mikeb@ee.ubc.ca>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: dl@rocky.oswego.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 35