🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1389

Re: prototyping trouble

#1389
From: Gary Levin
Date: Fri, 21 Oct 1988 18:32
16 lines
1320 bytes
Thanks to those who pointed out the relation between the old and new
definitions and the old and new function heads.  The ANSI standard
could have been written more clearly.

Warning:  Borland's interpretation of the ANSI standard is off.  Their
view is that the prototyped definitions (i.e. prototype without the
body) would control the widening effect of BOTH the call and the
function head.  This is convenient, but, as you have shown, wrong.

My apologies for posting to the util group by mistake.  Thought I'd
send the thanks here, but further comments should move to gcc.bug
--

-----
Gary Levin/Dept of Math & CS/Clarkson Univ/Potsdam, NY 13676/(315) 268-2384
BitNet: gary@clutx   Internet: gary@clutx.clarkson.edu
Technical Details
Message-ID: <GARY.88Oct21143236@sun.mcs.clarkson.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!pollux!ti-csl!cs.utexas.edu!wasatch!mailrus!cornell!batcomputer!sun.soe.clarkson.edu!gary
References: <8810160211.AA07329@sun.mcs.clarkson.edu> <4518@polya.Stanford.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!pollux!ti-csl!cs.utexas.edu!wasatch!mailrus!cornell!batcomputer!sun.soe.clarkson.edu!gary
From: gary@sun.mcs.clarkson.edu (Gary Levin)
Newsgroups: gnu.utils.bug
Subject: Re: prototyping trouble
Message-ID: <GARY.88Oct21143236@sun.mcs.clarkson.edu>
Date: 21 Oct 88 18:32:36 GMT
References: <8810160211.AA07329@sun.mcs.clarkson.edu> <4518@polya.Stanford.EDU>
Sender: root@sun.soe.clarkson.edu
Distribution: gnu
Organization: Clarkson University
Lines: 15
In-reply-to: shap@polya.Stanford.EDU's message of 17 Oct 88 16:45:52 GMT