🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #539

Re: g++ on a Decstation 3100

#539
From: Charles Humphrey Silvers
Date: Fri, 26 Apr 1991 05:58
12 lines
1075 bytes
I had this problem too.  The actually error is that g++ is producing
.extern lines for variables actually declared in the same file.  My
solution I found was to either produce the assemble, remove the
spurious .extern's and assemble it myself, or to re-order the source
lines to put the declarations of the variables ahead of the extern's
for them (or something like that, I know that re-ordering the code
solved the problem).

I wish the MIPS assembler would be more forgiving about things like
this, or at least produce a more informative error message.

-Chuck
Technical Details
Message-ID: <oc5w6Ei00Vp54QiWUN@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!cs4n+
References: <QJ9&$$#@ads.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!cs4n+
From: cs4n+@andrew.cmu.edu (Charles Humphrey Silvers)
Newsgroups: gnu.g++.help,comp.sys.dec
Subject: Re: g++ on a Decstation 3100
Message-ID: <oc5w6Ei00Vp54QiWUN@andrew.cmu.edu>
Date: 26 Apr 91 05:58:40 GMT
References: <QJ9&$$#@ads.com>
Distribution: na
Organization: Class of '92, Carnegie Mellon, Pittsburgh, PA
Lines: 12
In-Reply-To: <QJ9&$$#@ads.com>