🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2393

Re: Strange behaviour with old-style code

#2393
From: Doug Gwyn
Date: Sat, 09 Feb 1991 10:07
8 lines
916 bytes
In article <1991Feb6.190607.11731@alias.uucp> rsargent@alias.UUCP (Richard Sargent) writes:
>I have come across a compiler which does something very unusual
>in its handling of old-style functions.

Looks to me like the arguments are default-promoted to widened types,
then assigned to local variables of the declared type in the function
definition.  This is exactly what is SUPPOSED to occur.  What did you
expect?
Technical Details
Message-ID: <15143@smoke.brl.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!clyde.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!noose.ecn.purdue.edu!mentor.cc.purdue.edu!purdue!haven!adm!smoke!gwyn
References: <1991Feb6.190607.11731@alias.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!clyde.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!noose.ecn.purdue.edu!mentor.cc.purdue.edu!purdue!haven!adm!smoke!gwyn
From: gwyn@smoke.brl.mil (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: Strange behaviour with old-style code
Message-ID: <15143@smoke.brl.mil>
Date: 9 Feb 91 10:07:51 GMT
References: <1991Feb6.190607.11731@alias.uucp>
Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
Lines: 8