[kde-solaris] Template woes in kjs

Adriaan de Groot groot at kde.org
Thu Aug 16 23:22:32 CEST 2007

[  6%] Building CXX object kjs/CMakeFiles/kjs.dir/date_object.o
 >> Assertion:   (../lnk/bind.cc, line 268)
    while processing /mnt/KDE4/kdelibs/kjs/collector.h at line 44.

The thing is, collector.h:44 is inside a comment. So I'm sure the compiler 
error message is kind of bogus. The problem comes from this line:

static HashCountedSet<const char *>* rootObjectTypeCounts();

change the template parameter to, say, int and everything is fine (regarding 
this error, at least). There is a lot of template magic going on in wtf/ 
(that's web template framework for you), HashFunctions.h *seems* to be the 
culprit in some way. I can't tell how, though. Template guru?

[ As an aside, I've now built redland and soprano, which as semantic desktop 
thingies for strigi; also libungif (Stefan has libgif). Tarballs are 
3-support-libungif.tgz 4-support-redland.tgz and 5-support-soprano.tgz if you 
want 'em. ]

[ As a second aside, I dare you to try running Qt4's designer under CDE to see 
what the window manager makes of it. ]

KDE Quality Team  http://www.englishbreakfastnetwork.org/
GPG: FEA2 A3FE    http://people.fruitsalad.org/adridg/
    "It is impossible to make an emphatic point with only two arms."

More information about the kde-solaris mailing list