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 1QrGuP-0000os-Me for garchives@archives.gentoo.org; Wed, 10 Aug 2011 22:05:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94F0C21C198; Wed, 10 Aug 2011 22:05:39 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by pigeon.gentoo.org (Postfix) with SMTP id D916821C26C for ; Wed, 10 Aug 2011 22:04:27 +0000 (UTC) Received: (qmail invoked by alias); 10 Aug 2011 22:04:27 -0000 Received: from p5B084946.dip.t-dialin.net (EHLO pc.localnet) [91.8.73.70] by mail.gmx.net (mp050) with SMTP; 11 Aug 2011 00:04:27 +0200 X-Authenticated: #13997268 X-Provags-ID: V01U2FsdGVkX1/xNJUmhgfx5A1mss2MdR5A7cjOb8GgJEC565Jj9l bAZcOuJwdulzk2 From: Michael Schreckenbauer To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Plasma-runtime compilation problems Date: Thu, 11 Aug 2011 00:04:30 +0200 Message-ID: <10767017.YZF3DYoQc4@pc> User-Agent: KMail/4.7.0 (Linux/2.6.38-gentoo; KDE/4.7.0; x86_64; ; ) In-Reply-To: References: <1312947259.12939.4.camel@laptop.limeyworld> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Y-GMX-Trusted: 0 X-Archives-Salt: X-Archives-Hash: 8968d5ae82120200512f5650a37be986 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. 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 -Wall enables some more warnings and has nothing to do with errors at all. -Werror is the switch that turns warnings into errors. Regards, Michael