Xref: utzoo comp.std.c:3777 gnu.gcc.help:25 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!munnari.oz.au!csc.anu.oz.au!csc3.anu.oz.au!ccadfa!Christopher-Vance@adfa.oz.au From: Christopher-Vance@adfa.oz.au Newsgroups: comp.std.c,gnu.gcc.help Subject: Re: prototypes required ? Keywords: printf stdargs prototypes Message-ID: <1964@ccadfa.adfa.oz.au> Date: 17 Oct 90 23:26:26 GMT References: <4026@otis.oakhill.UUCP> <14164@smoke.BRL.MIL> Sender: cjsv@ccadfa.adfa.oz.au Organization: Computer Science, University of New South Wales, ADFA, Canberra, AUSTRALIA Lines: 6 gwyn@smoke.BRL.MIL (Doug Gwyn) writes: | Yes, you definitely must have a prototype in scope before calling a | variable-argument function in a strictly conforming program. Which means that gcc -ansi on a Pyramid cannot compile such a thing. I am informed that the only way to make printf work is to *omit* the prototype.