🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Ultrix 4.1

#289
From: Michael Meissner
Date: Tue, 20 Nov 1990 18:39
21 lines
1810 bytes
--text follows this line--
In article <m0iYsVi-000KGMC@srchtec.uucp> mra%srchtec.uucp@MATHCS.EMORY.EDU (Michael Almond) writes:

| 	I'm installing libg++ version 1.37.0 on a DECstation 2100 running
| Ultrix 4.1.  In malloc.c fputs and fprintf use const in their declarations.
| In /usr/include/stdio.h they don't have these and the compiler complains about
| incompatiable type delcarations.  I commented out the ones in malloc.c and let
| the one's in stdio.h do the work.  The code compiled after I made this change.

Sigh, I would have hoped that DEC would have fixed these bogus header
files in Ultrix 4.1.  What's happening is DEC within a __STDC__ ifdef,
supplied prototypes that do not match ANSI.  In particular, the
'const' keyword was removed.  I speculate that this is because the
MIPS compiler shipped with 2.0, does not fully support ANSI, but since
it's within a __STDC__ section, and their compiler does not define
__STDC__, I have to wonder why.......
--
Michael Meissner	email: meissner@osf.org		phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142

Considering the flames and intolerance, shouldn't USENET be spelled ABUSENET?
Technical Details
Message-ID: <gnusenet-MEISSNER.90Nov20133930@osf.osf.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!ai-lab!ai.mit.edu!gnulists
References: <m0iYsVi-000KGMC@srchtec.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!ai-lab!ai.mit.edu!gnulists
From: meissner@osf.org (Michael Meissner)
Newsgroups: gnu.g++.lib.bug,comp.unix.ultrix,comp.sys.dec
Subject: Re: Ultrix 4.1
Message-ID: <gnusenet-MEISSNER.90Nov20133930@osf.osf.org>
Date: 20 Nov 90 18:39:30 GMT
References: <m0iYsVi-000KGMC@srchtec.uucp>
Followup-To: comp.sys.dec
Organization: Open Software Foundation
Lines: 21
Approved: info-gnu@prep.ai.mit.edu
To: gnu-g++-lib-bug@uunet.uu.net
In-Reply-To: mra%srchtec.uucp@MATHCS.EMORY.EDU's message of 13 Nov 90 04:44:37 GMT