🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50822

(none)

#50822
From: Stefan M. King
Date: Wed, 04 Aug 1993 23:05
26 lines
1724 bytes
To: Anybody

I've just upgraded from gcc 2.2.2 to 2.4.5 and I'm getting:

>g++ -I/usr/include/Motif -I/usr/include/X11 -fstrength-reduce -pipe -c -g main2.cc
>In file included from /usr/local/lib/g++-include/strings.h:1, from /usr/include/X11/Xos.h:69, from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.2/2.4.5/include/X11/Intrinsic.h:36, from main2.cc:10:
>/usr/local/lib/g++-include/string.h:28: declaration of `int  strlen (const char *)'
><built-in>:0: conflicts with built-in declaration `long unsigned int  strlen (const char *)'


And looking in /usr/local/lib/g++-include/string.h, I see:

// NOTE: If you get a error message from g++ that this declaration
// conflicts with a <built-in> declaration of strlen(), that usually
// indicates that __SIZE_TYPE__ is incorrectly defined by gcc.
// Fix or add SIZE_TYPE in the appropriate file in gcc/config/*.h.


Does this mean that somehow I built gcc 2.4.5 with something misconfigured?
If so, how did I do that, since I ran the supplied config script without
modification on a Sun sparc running 4.1.2 .  If anyone can help with this
one, I'd really appreciate it.

Thanks!

Steve
Technical Details
Message-ID: <9308042242.AA00468@ktaadn>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!usc!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ktaadn.UUCP!stefan

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,5fff2d03131a3e1e,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-08-04 16:32:31 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!usc!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ktaadn.UUCP!stefan
From: stefan@ktaadn.UUCP (Stefan M. King)
Newsgroups: gnu.gcc.help
Subject: (none)
Date: 4 Aug 1993 19:05:30 -0400
Organization: GNUs Not Usenet
Lines: 26
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9308042242.AA00468@ktaadn>