
davygora at googlemail
Feb 20, 2012, 5:09 AM
Post #4 of 4
(351 views)
Permalink
|
|
Re: bug in kde-base/kate-plugins-3.5.10 (kde-sunset): build fails
[In reply to]
|
|
Yes, a similar patch should be applied there. Basically, one should do exactly, what the compiler tells you: remove the redundant ::QDateTime (patch in attachment). Similar patches are needed for about half a dozen packages pulled by kde-meta:3.5. On 02/20/2012 01:21 PM, Andii Hughes wrote: > On 4 February 2012 09:04, Yuriy Davygora<davygora [at] googlemail> wrote: >> Hello, >> >> while emerging kde-meta:3.5 from kde-sunset, I have encountered the >> following problem with kde-base/kate-plugins-3.5.10: >> >> plugin_katetabbarextension.h: In constructor 'MyPtrList::MyPtrList()': >> plugin_katetabbarextension.h:56:54: error: cannot call constructor >> 'MyPtrList::QPtrList' directly >> plugin_katetabbarextension.h:56:54: error: for a function-style cast, >> remove the redundant '::QPtrList' >> plugin_katetabbarextension.h: At global scope: >> plugin_katetabbarextension.h:309:13: warning: unused parameter 'number' >> plugin_katetabbarextension.h:309:13: warning: unused parameter 'size' >> make[3]: *** [plugin_katetabbarextension.lo] Error 1 >> make[3]: Leaving directory >> `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10/kate/tabbarextension' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory >> `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10/kate' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory >> `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10' >> make: *** [all] Error 2 >> emake failed >> >> The complete build log is in the attachment (build.log). Output of >> >> emerge --info =kde-base/kate-plugins-3.5.10 >> >> is in info.log. >> >> Thanks in advance for any help! >> >> Best regards, >> Yuriy > konsolekalendar hits something similar: > > main.cpp:37:5: warning: "TIME_WITH_SYS_TIME" is not defined > main.cpp: In function ‘int main(int, char**)’: > main.cpp:802:64: error: cannot call constructor ‘QDateTime::QDateTime’ directly > main.cpp:802:64: error: for a function-style cast, remove the > redundant ‘::QDateTime’ > main.cpp:808:58: error: cannot call constructor ‘QDateTime::QDateTime’ directly > main.cpp:808:58: error: for a function-style cast, remove the > redundant ‘::QDateTime’ > main.cpp:817:64: error: cannot call constructor ‘QDateTime::QDateTime’ directly > main.cpp:817:64: error: for a function-style cast, remove the > redundant ‘::QDateTime’ > main.cpp:823:58: error: cannot call constructor ‘QDateTime::QDateTime’ directly > main.cpp:823:58: error: for a function-style cast, remove the > redundant ‘::QDateTime’ >
|