Xref: utzoo comp.std.c:3778 gnu.gcc.help:26 Path: utzoo!utgpu!watserv1!watmath!uunet!aplcen!haven!decuac!shlump.nac.dec.com!deccrl!decvax.dec.com!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.std.c,gnu.gcc.help Subject: Re: prototypes required ? Keywords: printf stdargs prototypes Message-ID: <18561@haddock.ima.isc.com> Date: 18 Oct 90 04:45:16 GMT References: <4026@otis.oakhill.UUCP> <14164@smoke.BRL.MIL> <1964@ccadfa.adfa.oz.au> Reply-To: karl@ima.isc.com (Karl Heuer) Organization: Interactive Systems, Cambridge, MA 02138-5302 Lines: 11 In article <1964@ccadfa.adfa.oz.au> Christopher-Vance@adfa.oz.au writes: >gwyn@smoke.BRL.MIL (Doug Gwyn) writes: >| Yes, you definitely must have a prototype in scope [for printf()] > >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. Presumably this is caused by having to link with the native implementation of printf(), and hence will be fixed when the FSF releases the GNU library. Karl W. Z. Heuer (karl@ima.isc.com or uunet!ima!karl), The Walking Lint