🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #6009

Re: gcc 1.35 conflicting types message?

#6009
From: Doug Gwyn
Date: Sun, 07 May 1989 21:53
7 lines
848 bytes
In article <8124@june.cs.washington.edu> pardo@uw-june.UUCP (David Keppel) writes:
>Now the question:  I have asserted several times that you cannot
>(portably) call between prototyped and non-prototyped code.

Wrong.  <stdarg.h> does require a properly prototype for each variadic
function, but otherwise if the argument types agree after default
promotion rules are applied, a function can be declared either way.
Technical Details
Message-ID: <10223@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!purdue!haven!adm!smoke!gwyn
References: <9101@elsie.UUCP> <8124@june.cs.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!purdue!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: gcc 1.35 conflicting types message?
Message-ID: <10223@smoke.BRL.MIL>
Date: 7 May 89 21:53:14 GMT
References: <9101@elsie.UUCP> <8124@june.cs.washington.edu>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 7