🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53437

conflicts in stddefs.h and sys/stdtypes.h on sunos

#53437
From: Chuck Strickland
Date: Tue, 28 Jan 1992 12:59
20 lines
1907 bytes
 the gcc include file stddefs.h attempts to typedef size_t and prtdiff_t.

 But so does the sun include file sys/stdtypes.h. While the gnu include
 checks for several defines to determine if these values have been typdefed
 the sun include does not define them. Thus errors occur.

 What is the appropriate fix.  We started getting the problem with X11R5
 as several .h files there new explicitly include sys/types.h. this occurs
 after the gcc stddefs.h include has been included, thus causing the 
conflict.
 
 We are runnin gcc 1.40 and sunos 4.1.1 and X11R5 pl8.

-- 
*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*
Malcolm C. Strickland                 Martin Marietta Electronic Systems
chuck-strickland@orl.mmc.com          mail point 1304    
Phone: 407-356-5909                   pobox 628007
Fax:   407-356-8944                   orlando florida 32862-8007
*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*
Technical Details
Message-ID: <1992Jan28.125915.21293@iplmail.orl.mmc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.den.mmc.com!iplmail!chucks

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,24ba3de91bcfad9,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: f88e1,24ba3de91bcfad9,start
X-Google-Attributes: gidf88e1,public
X-Google-Thread: 102b08,24ba3de91bcfad9,start
X-Google-Attributes: gid102b08,public
X-Google-Thread: 1014db,24ba3de91bcfad9,start
X-Google-Attributes: gid1014db,public
X-Google-ArrivalTime: 1992-01-28 05:42:31 PST
Newsgroups: gnu.gcc.help,alt.sys.sun,comp.sys.sun.apps,comp.lang.c
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.den.mmc.com!iplmail!chucks
From: chucks@iplmail.orl.mmc.com (Chuck Strickland)
Subject: conflicts in stddefs.h and sys/stdtypes.h on sunos
Message-ID: <1992Jan28.125915.21293@iplmail.orl.mmc.com>
Keywords: gcc c stddefs
Sender: chucks@iplmail (Chuck Strickland)
Organization: Martin Marietta
Date: Tue, 28 Jan 1992 12:59:15 GMT