🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52053

SUN OS, stdio.h and implicit declaration warning

#52053
From: Todd Pravata
Date: Wed, 24 Feb 1993 23:43
22 lines
1642 bytes
------------------------------ posting for Rick Roberts

I am using gcc 2.3.2, Sun OS 4.1.2, with the following options:

  gcc -g -ansi -Wall

I get warnings about implicit declaration of printf etc.
I looked at the stdio.h file in the "fixed" gcc include
directory and there's no declaration printf or any of
the other print functions.  My understanding from reading
Harbison and Steele is that stdio.h is supposed to declare
printf, etc.  What's wrong with our installation?

------------------------------ end posting for Rick Roberts

Please reply directly to roberts@vax1.dseg.ti.com as we do
not normally read this group.
--
Todd R. Pravata                INTERNET: tpravata@iluvatar.dseg.ti.com
Texas Instruments, Inc.        VAX MAIL: MCOPN3::PRAVATA            
P.O.Box 869305, MS 8513        TI MSGID: TPRA
Plano, Texas, 75266            VOICE: (214)575-6420  FAX: (214)575-6442
Technical Details
Message-ID: <TPRAVATA.93Feb24174324@mugu.dseg.ti.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!UB.com!pacbell.com!amdahl!rtech!sgiblab!sdd.hp.com!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!m2.dseg.ti.com!128.247.216.212!tpravata

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,9ba210e5e5e5350f,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-02-24 15:43:24 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!UB.com!pacbell.com!amdahl!rtech!sgiblab!sdd.hp.com!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!m2.dseg.ti.com!128.247.216.212!tpravata
From: tpravata@mugu.dseg.ti.com (Todd Pravata)
Subject: SUN OS, stdio.h and implicit declaration warning
Organization: Texas Instruments, Inc., Dallas, Texas.
Nntp-Posting-Host: mugu.stl.dseg.ti.com
Message-ID: <TPRAVATA.93Feb24174324@mugu.dseg.ti.com>
Distribution: gnu
Sender: news@m2.dseg.ti.com (News Administrator)
Date: Wed, 24 Feb 1993 23:43:24 GMT
Lines: 27