[ Please don't drop the mailing list from replies. ]

On Thursday 12 June 2008 11:57:58 am Kunal Deo wrote:
> Adriaan de Groot wrote:
> > On Thursday 12 June 2008 11:36:24 am Kunal Deo wrote:
> >> "../JavaScriptCore/wtf/HashMap.h", line 272: Error: Cannot use
> >> std::pair<WTF::HashTableIterator<int, std::pair<int, int>,
> >
> > Don't use Cstd to compile webkit.
> >
> > Workaround: do the initialization there in two or three steps, doing
> > explicit construction of the std::pair. I had a patch once, forget where
> > I left it (and I'm not going to go looking).
>
> How do I change the Cstd ? 

We use Apache RW stdcxx 4.1.3 instead. See solaris.kde.org for more 
information. You *can* build Qt against Cstd including webkit, but it'll take 
a large amount of patching and futzing. Like I said, you need to handle these 
cases where modern STLs will do the right conversions; for webkit I remember 
vaguely it was all about constructing the std::pair in two steps.

> I was having other errors as well likebut 
> those were resolved by changing  __inline to inline. Suspect some C99
> issue.

That's PCRE, right? It just has issues, fixed for Qt 4.4.1, because the pcre 
imported into Qt's source base hadn't been cleaned up and suffers from 
gcc-isms (or worse).


-- 
Adriaan de Groot, KDE quality team, KDE4-Solaris
  http://solaris.kde.org/

Reply via email to