🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50532

gcc 2.4.5 installation problems

#50532
From: Dan Harling
Date: Tue, 21 Sep 1993 08:45
29 lines
1799 bytes
Hello,

The support folks here at PictureTel have installed gcc 2.4.5 on our
network.  Until now we have been using version 1.40 officially, and a
couple of us dabbled with 2.2.2 but never released it.

The problem stems from the fact that <stdio.h> does not have prototypes
for printf(), fopen(), fread() or fwrite(), for example, but it does
have a prototype for fclose().  Also, the prototypes are not in the
ANSI format, in that they have no arguments between the open and close
parens.

When I presented this problem to our support people, their reply was a
quote from the gcc-2.4.5/NEWS file, under "Noteworthy GCC changes in
version 2.4":

	* Building GCC now automatically fixes the system's header files.
	This should require no attention.

Sad to say, but on our system this *definitely* requires attention.

Since functions like printf() are commonly used, it is disconcerting to
get an "unknown type, using (int) as default" warning in each file,
despite the fact that the first line reads "#include <stdio.h>".  Is
there some step of the installation that would result in such a
radically abridged file?

						-->Dan Harling
						   harling@pictel.com
Technical Details
Message-ID: <9309201843.AA08230@stingray.pictel.com>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!spool.mu.edu!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!pictel.com!harling

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,6e2898c6a08b2bd6,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-09-21 11:34:23 PST
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!spool.mu.edu!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!pictel.com!harling
From: harling@pictel.com (Dan Harling)
Newsgroups: gnu.gcc.help
Subject: gcc 2.4.5 installation problems
Date: 21 Sep 1993 04:45:21 -0400
Organization: Gnus Not Usenet
Lines: 29
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9309201843.AA08230@stingray.pictel.com>