Article View: gnu.g++.bug
Article #860Re: Using g++2.1 with standard C library on SunOS 4.1.1 Rev B.
From: Mike Stump
Date: Mon, 31 Aug 1992 20:01
Date: Mon, 31 Aug 1992 20:01
36 lines
1808 bytes
1808 bytes
A perhaps better solution would be to change the definition of: #define SIZE_TYPE "int" In gcc/config/sparc.h to read: #define SIZE_TYPE "unsigned int" As it seems that sun has decided to bite the bullet and fix there include files. > Date: Mon, 31 Aug 92 10:23:16 EDT > From: samborn@lynchpin.mtkgc.COM (Kevin Samborn) > Message-Id: <9208311423.AA22348@lynchpin.mtkgc.com> > To: mrs@cygnus.com (Mike Stump) > Cc: bug-gcc@prep.ai.mit.edu > References: <9208291332.AA28849@cygnus.com> > > Whenever I include standard include files, (in this case coming from > > /usr/lang/SC1.0/CC/include), I get the errors similar to the > > following: > > In file included from /usr/lang/SC1.0/include/CC/malloc.h:9, > > from /usr/lang/SC1.0/include/CC/stdlib.h:21, > > from Main.C:1: > > /usr/lang/SC1.0/include/CC/alloca.h:10: > > declaration of `char * __builtin_alloca (int)' > > <built-in>:0: conflicts with built-in > > declaration `void * __builtin_alloca (int)' > > In file included from /usr/openwin3/include/X11/Xos.h:69, > > from /usr/openwin3/include/X11/Intrinsic.h:37, > > from Main.C:2: > > /usr/lang/SC1.0/include/CC/strings.h:22: > > declaration of `unsigned int strlen (const char *)' > > <built-in>:0: conflicts with built-in > > declaration `int strlen (const char *)'
Technical Details
Message-ID:
<9208312001.AA17466@cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!mrsShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!mrs From: mrs@cygnus.com (Mike Stump) Subject: Re: Using g++2.1 with standard C library on SunOS 4.1.1 Rev B. Message-ID: <9208312001.AA17466@cygnus.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Mon, 31 Aug 1992 20:01:32 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 37