From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1ETQZl-0000Yy-HX for garchives@archives.gentoo.org; Sat, 22 Oct 2005 21:06:49 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9ML3VFT012061; Sat, 22 Oct 2005 21:03:31 GMT Received: from smtp101.mail.sc5.yahoo.com (smtp101.mail.sc5.yahoo.com [216.136.174.139]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9MKvA9l015352 for ; Sat, 22 Oct 2005 20:57:11 GMT Received: (qmail 90320 invoked from network); 22 Oct 2005 21:00:08 -0000 Received: from unknown (HELO ?192.168.2.101?) (richard?j?fish@68.230.97.177 with plain) by smtp101.mail.sc5.yahoo.com with SMTP; 22 Oct 2005 21:00:08 -0000 Message-ID: <435AA87A.7080704@asmallpond.org> Date: Sat, 22 Oct 2005 14:00:42 -0700 From: Richard Fish User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051007) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] using g++ instead of gcc to build abiword References: <200510211556.59427.ireneshusband@yahoo.co.uk> <56872.127.0.0.1.1129939093.squirrel@www.ramshacklestudios.com> <43598467.4090007@asmallpond.org> <200510212014.32056.ireneshusband@yahoo.co.uk> In-Reply-To: <200510212014.32056.ireneshusband@yahoo.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 52b64854-8e67-4daf-843b-b9b62d18b79f X-Archives-Hash: 862a2fd7ca219eb689a9ba317bafba83 Robert Persson wrote: >I just did CC=g++ and I now get a different error, both with 1.2.11 and 1.4.1, >namely: > > cdump.c: In function `int main(int, char**)': > cdump.c:99: error: invalid conversion from `void*' to `unsigned char*' > > Hmm, yes, I guess this is to be expected. C++ is much more strict about type conversions than C, so you can't really compile .c files as C++ and expect good results... I just emerged 2.2.11, using gcc-3.3.4-r1, without any trouble. One thing I noticed though: >zebedee ~ # emerge --info >Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.5-r2, > > ... >[ebuild R ] sys-devel/gcc-3.4.4-r1 (-altivec) -bootstrap -boundschecking >-build +fortran +gcj +gtk -hardened -ip28 (-multilib) -multislot (-n32) >(-n64) +nls -nocxx -nopie -nossp +objc -static -vanilla 26,919 kB > > I think this means that, even though have gcc-3.4.4 merged, you are actually using 3.3.5 to compile things via portage. Take a look at the output of "gcc-config -l", and if necessary, change the active profile with "gcc-config i686-pc-linux-gnu-3.4.4". Then try emerging again. -Richard -- gentoo-user@gentoo.org mailing list