🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++
Article #223

bastard programs

#223
From: Robert Forsman
Date: Fri, 01 Dec 1989 17:57
18 lines
1340 bytes
 How many people have bastardized existing programs?  I had a program
written in pseudo-ANSI C (gcc -Wall didn't complain).  Some of the
data structures started to get really complex and I was beginning to
lose track of what I was doing.  I put the program on the back burner
until we could get a working version of g++.  We have g++ now and I
finally have hacked the program until it will compile with minimal
warnings.  The major problem is it's now a mix of C++ and C.  I have
extern "C" statements everywhere to prevent name mungeing of functions
called by the C parts.  I also mix IO between cerr and stderr (no
cout, I'm using sockets for all normal xactions).
  I've been getting SEGV inside of an fprintf statement.  I converted
it to a cerr << and it still SEGVs.  If any of you guys can mail me
hints, I'd really appreciate it.

  THOTH out -=O=-
--
( My name's not really Gilligan, It's Robert Forsman, without an `e' )
Technical Details
Message-ID: <THOTH.89Dec1125734@shark.cis.ufl.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!samsung!rex!uflorida!bikini!thoth

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!samsung!rex!uflorida!bikini!thoth
From: thoth@shark.cis.ufl.edu (Robert Forsman)
Newsgroups: gnu.g++
Subject: bastard programs
Message-ID: <THOTH.89Dec1125734@shark.cis.ufl.edu>
Date: 1 Dec 89 17:57:34 GMT
Sender: news@uflorida.cis.ufl.EDU
Distribution: gnu
Organization: /cis/lightning0/thoth/.organization
Lines: 18