Naja, das mit den Problemen mit gcc-4.3.1 (eigentlich falsch, das Problem ist ja eher, daß er nun weniger "durchgehen" lässt) taucht mittlerweile so häufig auf, daß es eigentlich schon lange kein komplexes Problem mehr ist.
(Und von Programmierung hab ich in etwa so viel Ahnung wie ne Kuh vom Eier legen)
Der Patch selbst ist eigentlich "nur" eine neue Strophe des mittlerweile vielgesungenen "Da fehlen ein paar Includes"-Blues
Code:
--- src/ksmoothdock.h.orig 2008-06-13 22:05:51.000000000 +0000
+++ src/ksmoothdock.h 2008-06-13 22:06:06.000000000 +0000
@@ -27,6 +27,7 @@
#endif
#include <vector>
+#include <memory>
#include <qwidget.h>
--- src/ksmoothdock.cpp.orig 2008-06-13 22:08:26.000000000 +0000
+++ src/ksmoothdock.cpp 2008-06-13 22:08:47.000000000 +0000
@@ -24,6 +24,8 @@
#include <iostream>
#include <iterator>
+#include <typeinfo>
+
#include <qdir.h>
--- src/buttonisedstate.h.orig 2008-06-13 22:10:48.000000000 +0000
+++ src/buttonisedstate.h 2008-06-13 22:11:03.000000000 +0000
@@ -20,6 +20,8 @@
#ifndef BUTTONISEDSTATE_H
#define BUTTONISEDSTATE_H
+#include <memory>
+#include <typeinfo>
#include <qobject.h>
#include "dockstate.h"
--- src/normalzoomstate.h.orig 2008-06-13 22:13:10.000000000 +0000
+++ src/normalzoomstate.h 2008-06-13 22:13:23.000000000 +0000
@@ -20,6 +20,8 @@
#ifndef NORMALZOOMSTATE_H
#define NORMALZOOMSTATE_H
+#include <memory>
+
#include <qobject.h>
#include "dockstate.h"
--- src/paraboliczoomstate.h.orig 2008-06-13 22:15:19.000000000 +0000
+++ src/paraboliczoomstate.h 2008-06-13 22:15:32.000000000 +0000
@@ -20,6 +20,8 @@
#ifndef PARABOLICZOOMSTATE_H
#define PARABOLICZOOMSTATE_H
+#include <memory>
+#include <typeinfo>
#include <qobject.h>
#include "dockstate.h"
--- src/normalzoomstate.cpp.orig 2008-06-13 22:22:16.000000000 +0000
+++ src/normalzoomstate.cpp 2008-06-13 22:22:28.000000000 +0000
@@ -19,6 +19,8 @@
***************************************************************************/
#include "normalzoomstate.h"
+
+#include <typeinfo>
#include <iostream>
#include <unistd.h>
--- src/paraboliczoomstate.cpp.orig 2008-06-13 22:25:09.000000000 +0000
+++ src/paraboliczoomstate.cpp 2008-06-13 22:25:33.000000000 +0000
@@ -19,6 +19,8 @@
***************************************************************************/
#include "paraboliczoomstate.h"
+
+#include <cstdlib>
#include <iostream>
#include <unistd.h>
Und wie fast immer wird man im Bugtracker von Gentoo fündig, da sind die Jungs&Mädels von der "emerge-Fraktion" wirklich eine wahre Fundgrube.
Daß das src.rpm von 10.3 wegen gcc-4.3.1 gegen die Wand läuft, wusste ich vorher auch nicht, aber eine gewisse Vorahnung war schon da, was da wohl faul sein könnte (und wer Verdächtiger Nr.1 sein dürfte).
Greetz,
RM
Lesezeichen