Re: attica build failure
"Pavel Heimlich, a.k.a. hajma" <[email protected]> Thu, 3 Dec 2009 02:25:26 +0100
| Newsgroups | gmane.comp.kde.solaris |
|---|---|
| Message-ID | <[email protected]> |
2009/12/2 Frederik Gladhorn <[email protected]>: > Hi Pavel, > if I understand Adriaan correctly, this patch should help. > > It's just including listjob_inst.cpp where we have the template forward > declarations. > Please let me know if it works. (I'm not a template expert, have mercy ;) Hi Frederik, at the moment I'm using the patch from https://bugs.kde.org/show_bug.cgi?id=3D216485 (successfully). I'll try your patch in a day or two and let you know. regards P. > > Cheers, > Frederik > > > > > On Thursday 26 November 2009 22:34:32 Pavel Heimlich, a.k.a. hajma wrote: >> Hi, >> attica build is failing on OpenSolaris with the Sun Studio 12 U1 >> compiler. Could you please have a look at the error messages below? >> In general, Sun Studio is more strict about the c++ standards than gcc. >> Also I'd file a bug report but I was not able to figure out whether >> you have any ? >> >> best regards >> >> hajma >> >> [ 98%] Building CXX object >> attica/lib/CMakeFiles/attica.dir/provider.cpp.o >> !"/opt/foss/qt4/include/QtCore/qnamespace.h", line 1639: Warning: >> Identifier expected instead of "}". >> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/itemjob.cpp", >> line 38: Error: In this declaration "p" is of an incomplete type >> "Attica::Message::Parser". >> =A0 =A0 Where: While instantiating >> "Attica::ItemJob<Attica::Message>::parse(const QString&)". >> =A0 =A0 Where: Instantiated from >> Attica::ItemJob<Attica::Message>::ItemJob(const >> QSharedPointer<Attica::PlatformDependent>&, const QNetworkRequest&). >> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/provider.cpp", >> line 293: =A0 =A0 Where: Instantiated from non-template code. >> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/itemjob.cpp", >> line 39: Error: The type "Attica::Message::Parser" is incomplete. >> =A0 =A0 Where: While instantiating >> "Attica::ItemJob<Attica::Message>::parse(const QString&)". >> =A0 =A0 Where: Instantiated from >> Attica::ItemJob<Attica::Message>::ItemJob(const >> QSharedPointer<Attica::PlatformDependent>&, const QNetworkRequest&). >> "/home/hajma/Dashboards/kdesuppor!t/srcdir/attica/lib/provider.cpp", >> line 293: =A0 =A0 Where: Instantiated from non-template code. >> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/itemjob.cpp", >> line 39: Error: The type "Attica::Message::Parser" is incomplete. >> =A0 =A0 Where: While instantiating >> "Attica::ItemJob<Attica::Message>::parse(const QString&)". >> =A0 =A0 Where: Instantiated from >> Attica::ItemJob<Attica::Message>::ItemJob(const >> QSharedPointer<Attica::PlatformDependent>&, const QNetworkRequest&). >> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/provider.cpp", >> line 293: =A0 =A0 Where: Instantiated from non-template code. >> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/itemjob.cpp", >> line 40: Error: The type "Attica::Message::Parser" is incomplete. >> =A0 =A0 Where: While instantiating >> "Attica::ItemJob<Attica::Message>::parse(const QString&)". >> =A0 =A0 Where: Instantiated from >> Attica::ItemJob<Attica::Message>::ItemJob(const >> QSharedPointer<Attica::PlatformDependent>&, const QNetworkRequest&). >> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/provider.cpp",! >> line 293: =A0 =A0 Where: Instantiated from non-template code. >> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/itemjob.cpp", >> line 40: Error: The type "Attica::Message::Parser" is incomplete. >> =A0 =A0 Where: While instantiating >> "Attica::ItemJob<Attica::Message>::parse(const QString&)". >> =A0 =A0 Where: Instantiated from >> Attica::ItemJob<Attica::Message>::ItemJob(const >> QSharedPointer<Attica::PlatformDependent>&, const QNetworkRequest&). >> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/provider.cpp", >> line 293: =A0 =A0 Where: Instantiated from non-template code. >> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/itemjob.cpp", >> line 40: Error: Formal argument data of type const Attica::Metadata& >> in call to Attica::BaseJob::setMetadata(const Attica::Metadata&) const >> is being passed int. >> =A0 =A0 Where: While instantiating >> "Attica::ItemJob<Attica::Message>::parse(const QString&)". >> =A0 =A0 Where: Instantiated from >> Attica::ItemJob<Attica::Message>::ItemJob(const >> QSharedPointer<Attica::PlatformDependent>&, const QNetworkRequest&). >> "/home/hajma/Dashboards/kdesupport/srcdir/attica/lib/provider.cpp", >> line 293: =A0 =A0 Where: Instantiated from non-template code. >> 6 Error(s) and 1 Warning(s) detected. >> gmake[2]: *** [attica/lib/CMakeFiles/attica.dir/provider.cpp.o] Error >> 6 >> gmake[1]: *** [attica/lib/CMakeFiles/attica.dir/all] Error 2 >> gmake: *** [all] Error 2 >> > ___________________________________________________ This message is from the kde-solaris mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde-solaris. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.