🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #220

How to avoid warning: implicit declaration of function 'printf'

#220
From: Rune Henning Johansen FBA
Date: Tue, 08 Sep 1992 10:23
6 lines
578 bytes
Using printf in my g++-program the compiler gives
    warning: implicit declaration of function `printf'
How can I avoid this?

 - Rune
Technical Details
Message-ID: <RUNE.92Sep8102335@calypso.nta.no>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!nntp.nta.no!nntp.nta.no!rune

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!nntp.nta.no!nntp.nta.no!rune
From: rune@nta.no (Rune Henning Johansen FBA)
Subject: How to avoid warning: implicit declaration of function 'printf'
Message-ID: <RUNE.92Sep8102335@calypso.nta.no>
Sender: news@nntp.nta.no
Nntp-Posting-Host: calypso.nta.no
Organization: Norwegian Telecom Research
Distribution: gnu
Date: 8 Sep 92 10:23:35
Lines: 7