🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1849

Re: prototypes required ?

#1849
From: Karl Heuer
Date: Thu, 18 Oct 1990 04:45
11 lines
1117 bytes
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
Technical Details
Message-ID: <18561@haddock.ima.isc.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!uunet!aplcen!haven!decuac!shlump.nac.dec.com!deccrl!decvax.dec.com!ima!haddock!karl
References: <4026@otis.oakhill.UUCP> <14164@smoke.BRL.MIL> <1964@ccadfa.adfa.oz.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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