🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1066

built-in conflict resolved, more or less

#1066
From: Jason Merrill
Date: Fri, 04 Sep 1992 21:19
21 lines
1093 bytes
OK, I understand the situation better now:

The ANSI standard for size_t is long unsigned int, and the seq386.h header
file does not redefine SIZE_TYPE to int to agree with the system headers.

However, libg++/utils/gen-params checks the system headers before the gcc
headers to find out what size_t is, so it finds the typedef of size_t to
int in sys/types.h.

There are two solutions I see:
1) Redefine SIZE_TYPE in config/seq386.h to agree with the system headers.
2) Alter gen-params to use the definition of size_t in the gcc headers.

Which is preferable?

--
Jason Merrill
jason@jarthur.claremont.edu

-- 
Fool on a Pedestal
Technical Details
Message-ID: <1992Sep4.211942.26128@muddcs.claremont.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!jarthur.claremont.edu!jason

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!jarthur.claremont.edu!jason
From: jason@jarthur.claremont.edu (Jason Merrill)
Subject: built-in conflict resolved, more or less
Message-ID: <1992Sep4.211942.26128@muddcs.claremont.edu>
Sender: gnulists@ai.mit.edu
Organization: Harvey Mudd College, Claremont, CA 91711
Distribution: gnu
Date: Fri, 4 Sep 1992 21:19:42 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 22