🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51942

Implicit declaration of fprintf etc...

#51942
From: Robert I Danielsen
Date: Fri, 12 Mar 1993 10:32
15 lines
1266 bytes
I believe I've seen postings concerning warnings of the type

	io.c:33: warning: implicit declaration of function `fprintf'
	io.c:40: warning: implicit declaration of function `rewind'
	io.c:42: warning: implicit declaration of function `fseek'

but I cannot remember the explanations for it, or the solution (apart from
not compiling with -Wall -ansi -pedantic). This seems to only happen with
stdio.h . 
--
   __0 
  / /\/ Robert I Danielsen        |Internet: rid@spiff.nta.no
_  /    Norwegian Telecom Research|X.400:    robert.danielsen@tf.tele.no
 \/\    P.O.Box 83                |Tel.:     + 47 6 809 828
    |_  N-2007 KJELLER, NORWAY    |Fax:      + 47 6 810 076
Technical Details
Message-ID: <RID.93Mar12103214@spiff.nta.no>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ugle.unit.no!aun.uninett.no!nuug!nntp.nta.no!nntp!rid

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,8d635f18c5f46991,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-03-12 02:01:12 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!ugle.unit.no!aun.uninett.no!nuug!nntp.nta.no!nntp!rid
From: rid@nta.no (Robert I Danielsen)
Subject: Implicit declaration of fprintf etc...
Message-ID: <RID.93Mar12103214@spiff.nta.no>
Sender: news@nntp.nta.no
Nntp-Posting-Host: spiff.nta.no
Organization: Norwegian Telecom Research
Distribution: gnu
Date: 12 Mar 93 10:32:14
Lines: 15