1 |
Yes, a similar patch should be applied there. Basically, one should do |
2 |
exactly, what the compiler tells you: remove the redundant ::QDateTime |
3 |
(patch in attachment). Similar patches are needed for about half a dozen |
4 |
packages pulled by kde-meta:3.5. |
5 |
|
6 |
|
7 |
On 02/20/2012 01:21 PM, Andii Hughes wrote: |
8 |
> On 4 February 2012 09:04, Yuriy Davygora<davygora@××××××××××.com> wrote: |
9 |
>> Hello, |
10 |
>> |
11 |
>> while emerging kde-meta:3.5 from kde-sunset, I have encountered the |
12 |
>> following problem with kde-base/kate-plugins-3.5.10: |
13 |
>> |
14 |
>> plugin_katetabbarextension.h: In constructor 'MyPtrList::MyPtrList()': |
15 |
>> plugin_katetabbarextension.h:56:54: error: cannot call constructor |
16 |
>> 'MyPtrList::QPtrList' directly |
17 |
>> plugin_katetabbarextension.h:56:54: error: for a function-style cast, |
18 |
>> remove the redundant '::QPtrList' |
19 |
>> plugin_katetabbarextension.h: At global scope: |
20 |
>> plugin_katetabbarextension.h:309:13: warning: unused parameter 'number' |
21 |
>> plugin_katetabbarextension.h:309:13: warning: unused parameter 'size' |
22 |
>> make[3]: *** [plugin_katetabbarextension.lo] Error 1 |
23 |
>> make[3]: Leaving directory |
24 |
>> `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10/kate/tabbarextension' |
25 |
>> make[2]: *** [all-recursive] Error 1 |
26 |
>> make[2]: Leaving directory |
27 |
>> `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10/kate' |
28 |
>> make[1]: *** [all-recursive] Error 1 |
29 |
>> make[1]: Leaving directory |
30 |
>> `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10' |
31 |
>> make: *** [all] Error 2 |
32 |
>> emake failed |
33 |
>> |
34 |
>> The complete build log is in the attachment (build.log). Output of |
35 |
>> |
36 |
>> emerge --info =kde-base/kate-plugins-3.5.10 |
37 |
>> |
38 |
>> is in info.log. |
39 |
>> |
40 |
>> Thanks in advance for any help! |
41 |
>> |
42 |
>> Best regards, |
43 |
>> Yuriy |
44 |
> konsolekalendar hits something similar: |
45 |
> |
46 |
> main.cpp:37:5: warning: "TIME_WITH_SYS_TIME" is not defined |
47 |
> main.cpp: In function ‘int main(int, char**)’: |
48 |
> main.cpp:802:64: error: cannot call constructor ‘QDateTime::QDateTime’ directly |
49 |
> main.cpp:802:64: error: for a function-style cast, remove the |
50 |
> redundant ‘::QDateTime’ |
51 |
> main.cpp:808:58: error: cannot call constructor ‘QDateTime::QDateTime’ directly |
52 |
> main.cpp:808:58: error: for a function-style cast, remove the |
53 |
> redundant ‘::QDateTime’ |
54 |
> main.cpp:817:64: error: cannot call constructor ‘QDateTime::QDateTime’ directly |
55 |
> main.cpp:817:64: error: for a function-style cast, remove the |
56 |
> redundant ‘::QDateTime’ |
57 |
> main.cpp:823:58: error: cannot call constructor ‘QDateTime::QDateTime’ directly |
58 |
> main.cpp:823:58: error: for a function-style cast, remove the |
59 |
> redundant ‘::QDateTime’ |
60 |
> |