🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52412

fixincludes

#52412
From: John Hight
Date: Wed, 16 Sep 1992 16:34
25 lines
1707 bytes
Well, I'm getting close to completing installation of 2.2.2 on a
sparc, but I'm somewhat disturbed by the function prototypes in the
header files that were installed via "make install-fixincludes".
Specifically, all the arguments to system functions are encapsulated
in comments.  Why is this done?

I certainly do not understand the following section in INSTALL
describing the installation of corrected header files, specifically
the second sentence "This behavior".  Can anyone explain this to me,
with an example?  Is this why all the header files have the arguments
commented out?  Specifically, what will -traditional do?

|     Various system header files often contain constructs which are
|     incompatible with ANSI C, and they will not work when you compile
|     programs with GNU CC.  This behavior consists of substituting for
|     macro argument names when they appear inside of character
|     constants.  The most common offender is `ioctl.h'.
|
|     You can overcome this problem when you compile by specifying the
|     `-traditional' option.

Thanks
-- 
John Hight, SRI International	hight@sri.com	415-859-4279
Technical Details
Message-ID: <1992Sep16.163453.6359@erg.sri.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!gatech!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!hight

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,c96a18af54ff3b7c,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-09-16 04:28:22 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!gatech!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!hight
From: hight@sri.com (John Hight)
Newsgroups: gnu.gcc.help
Subject: fixincludes
Message-ID: <1992Sep16.163453.6359@erg.sri.com>
Date: 16 Sep 92 16:34:53 GMT
Sender: news@erg.sri.com
Organization: SRI International, Menlo Park, CA
Lines: 25