prototypes required ?

Jeff Enderwick jeff at oakhill.UUCP
Wed Oct 17 02:58:10 AEST 1990


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



More information about the Comp.std.c mailing list