trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2011

Re: [trinity-devel] poppler-qt3 NEED HELP - Anybody got it building with current poppler-qt & gcc 4.6?

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 10 May 2011 08:14:32 -0500
On 05/09/2011 07:27 PM, Baho Utot wrote:
> Here is the correct patch...
>
> --- qt-x11-free-3.3.8b/src/tools/qmap.h~ 2008-01-15 19:09:13.000000000 +0000
> +++ qt-x11-free-3.3.8b/src/tools/qmap.h 2011-04-11 00:16:04.000000000 +0100
> @@ -50,6 +50,7 @@
> #endif // QT_H
>
> #ifndef QT_NO_STL
> +#include <cstddef>
> #include <iterator>
> #include <map>
> #endif
> --- qt-x11-free-3.3.8b/src/tools/qvaluelist.h~ 2008-01-15 19:09:13.000000000 +0000
> +++ qt-x11-free-3.3.8b/src/tools/qvaluelist.h 2011-04-11 00:16:49.000000000 +0100
> @@ -48,6 +48,7 @@
> #endif // QT_H
>
> #ifndef QT_NO_STL
> +#include <cstddef>
> #include <iterator>
> #include <list>
> #endif
>
> I am rebuilding qt3 with the correct patch as we speak
>

Hmm..,

   This is basically what the gcc46.diff from Robert does. It looks like it 
wasn't being fully applied in my PKGBUILD - I'll have to look into that :(

-- 
David C. Rankin, J.D.,P.E.