🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1840

prototypes required ?

#1840
From: Jeff Enderwick
Date: Tue, 16 Oct 1990 16:58
21 lines
780 bytes
This has probably come up before ...

Is it legal for a compilation system to require prototypes when stdarg
functions are used ? It valid for the compiler to require you to include
the prototype:

	int printf ( const char*, ... );

before making the call:

	 printf ( "hello %d worlds\n", 5 );

? If not, where does the ANSI spec say so ?

	Jeff Enderwick
	DSP Compiler Development
	Motorola, Inc.
	(512) 891-3388

	cs.utexas.edu!oakhill!otis!jeff
Technical Details
Message-ID: <4026@otis.oakhill.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!oakhill!jeff

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!oakhill!jeff
From: jeff@oakhill.UUCP (Jeff Enderwick)
Newsgroups: comp.std.c
Subject: prototypes required ?
Keywords: printf stdargs prototypes
Message-ID: <4026@otis.oakhill.UUCP>
Date: 16 Oct 90 16:58:10 GMT
Organization: Motorola Inc. Austin, Tx
Lines: 21