🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #155

Re: looking for g++ patch

#155
From: Bjoern Wennberg
Date: Fri, 24 Jul 1992 10:26
27 lines
1392 bytes
Sm@cerberus.bhpese.oz.AU (Scott Merrilees) writes:
: I'm looking for the patch that was posted to fix the following problem
: when compiling groff.
: 
: Thanks, Sm
: --
: $ gcc -c -I. -xc++ -g1 -O1 -DHAVE_MMAP -DHAVE_RENAME -DWAIT_COREDUMP_0200 -DNO_SYS_WAIT_H errarg.c
: errarg.c: In method `errarg::errarg (const char *)':
: errarg.c:26: assignment between incompatible pointer types
: 
: $ sed -n 26p errarg.c
: errarg::errarg(const char *p) : s(p == 0 ? "(null)" : p), type(STRING)
: -- 
: Scott Merrilees, BHP Information Technology, Newcastle, Australia
: Internet: Sm@bhpese.oz.au   Phone: +61 49 40 2132   Fax: ... 2165
: 
Hi!
This is a patch to groff-1.05 
in lib/errarg.c change 
errarg::errarg(const char *p) : s(p == 0 ? "(null)" : p), type(STRING)
to
errarg::errarg(const char *p) : s(p ? p : "(null)"), type(STRING)

bjornw>

bjornw@colargol.edb.tih.no
bjornw@edb.tih.no
Technical Details
Message-ID: <1992Jul24.102613.8706@ugle.unit.no>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!colargol.edb.tih.no!bjornw
References: <1992Jul23.015548.22105@cerberus.bhpese.oz.au>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!colargol.edb.tih.no!bjornw
From: bjornw@colargol.edb.tih.no (Bjoern Wennberg)
Subject: Re: looking for g++ patch
Message-ID: <1992Jul24.102613.8706@ugle.unit.no>
Sender: gnulists@ai.mit.edu
Organization: Colargol, Trondheim College of Engineering
References: <1992Jul23.015548.22105@cerberus.bhpese.oz.au>
Distribution: gnu
Date: Fri, 24 Jul 1992 10:26:13 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 28