From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QrI3p-0006Ht-9I for garchives@archives.gentoo.org; Wed, 10 Aug 2011 23:19:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CA1121C049; Wed, 10 Aug 2011 23:19:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 88FB921C049 for ; Wed, 10 Aug 2011 23:17:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id DA3001B406F for ; Wed, 10 Aug 2011 23:17:19 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -4.991 X-Spam-Level: X-Spam-Status: No, score=-4.991 required=5.5 tests=[AWL=1.608, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jrwcbQ+Woeua for ; Wed, 10 Aug 2011 23:17:13 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id E18611B405A for ; Wed, 10 Aug 2011 23:17:11 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QrI1N-0003aE-JZ for gentoo-user@gentoo.org; Thu, 11 Aug 2011 01:17:09 +0200 Received: from adsl-69-234-186-164.dsl.irvnca.pacbell.net ([69.234.186.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Aug 2011 01:17:09 +0200 Received: from w41ter by adsl-69-234-186-164.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Aug 2011 01:17:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: Plasma-runtime compilation problems Date: Wed, 10 Aug 2011 16:16:50 -0700 Message-ID: References: <1312947259.12939.4.camel@laptop.limeyworld> <10767017.YZF3DYoQc4@pc> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-186-164.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110705 Thunderbird/5.0 In-Reply-To: <10767017.YZF3DYoQc4@pc> X-Archives-Salt: X-Archives-Hash: f2f42ad64df1d27b386ad69d41e60140 On 08/10/2011 03:04 PM, Michael Schreckenbauer wrote: > Hi, > > Am Mittwoch, 10. August 2011, 14:40:31 schrieb walt: >> On 08/09/2011 08:34 PM, Jeff Cranmer wrote: >>> Hi all, >>> >>> I'm trying to upgrade kde from 4.4 to 4.6, and I've run into a problem. >>> >>> Plasma-runtime-4.6.3 is failing. The error appears to be >>> redefinition of 'struct QMetaTypeID' >> >> I don't use kde so I can't be specific, but usually a redefinition is >> just a warning -- unless the package is compiled with the -Wall flag or >> equivalent. (Of course I meant -Werror, sorry.) > No, this is plain wrong. Redefinition of a struct is an error in C and C++ > > ~$cat foo.c > struct foo { > int i; > }; > > struct foo { > char* v; > }; > > ~$gcc foo.c -o foo > foo.c:5:8: error: redefinition of 'struct foo' > foo.c:1:8: note: originally defined here Hm. I know I've seen compiler redefinition messages thousands of times over the years. Is it really possible that all of those thousands were errors instead of warnings? If that's true then I've wasted a lot more time tracking them down than I care to think about :)