Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 226189 - ksmoothdock-4.5 does'nt compile with gcc-4.3.1
Summary: ksmoothdock-4.5 does'nt compile with gcc-4.3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-13 09:32 UTC by amadeus.bit
Modified: 2008-07-01 21:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ksmoothdock-4.5-gcc43.patch (ksmoothdock-4.5-gcc43.patch,1.94 KB, patch)
2008-06-13 22:34 UTC, Marek Miller
Details | Diff
emerge-info (emerge-info,3.33 KB, text/plain)
2008-06-13 22:35 UTC, Marek Miller
Details
folder including updated ebuild, patch and manifest ready for an overlay (ksmoothdock.tar.gz,1.47 KB, text/plain)
2008-06-15 16:50 UTC, Billy DeVincentis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description amadeus.bit 2008-06-13 09:32:24 UTC
fails to compile. I'll add a build log

Reproducible: Always

Steps to Reproduce:
1. emerge ksmoothdock with gcc-4.3.1
2.
3.
Comment 1 Marek Miller 2008-06-13 22:34:15 UTC
I don't know what this bug is about, but the summary fits. My report:

Again missing headers.

Steps to reproduce:
1. USE="arts debug  xinerama" emerge -v1 =kde-misc/ksmoothdock-4.5

The error messages:
1.
> ksmoothdock.h: At global scope:
> ksmoothdock.h:313: error: ISO C++ forbids declaration of 'auto_ptr' with no type
> ksmoothdock.h:313: error: invalid use of '::'
> ksmoothdock.h:313: error: expected ';' before '<' token

2.
> ksmoothdock.cpp: In member function 'void KSmoothDock::updateClock()':
> ksmoothdock.cpp:195: error: must #include <typeinfo> before using typeid

3.
> buttonisedstate.h:69: error: ISO C++ forbids declaration of 'auto_ptr' with no type

4.
> normalzoomstate.h:102: error: ISO C++ forbids declaration of 'auto_ptr' with no type

5.
> paraboliczoomstate.h:130: error: ISO C++ forbids declaration of 'auto_ptr' with no type

6.
> normalzoomstate.cpp:307: error: must #include <typeinfo> before using typeid

etc. etc.

Please, mark this bug blocking Bug 198121.
I include the patch and my emerge --info.

Comment 2 Marek Miller 2008-06-13 22:34:56 UTC
Created attachment 156681 [details, diff]
ksmoothdock-4.5-gcc43.patch
Comment 3 Marek Miller 2008-06-13 22:35:11 UTC
Created attachment 156683 [details]
emerge-info
Comment 4 Billy DeVincentis 2008-06-15 16:50:25 UTC
Created attachment 156945 [details]
folder including updated ebuild, patch and manifest ready for an overlay

Created an ebuild with proposed patch. Emerged fine.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2008-07-01 20:05:20 UTC
I can confirm that it works fine with the patch
Comment 6 Tobias Heinlein (RETIRED) gentoo-dev 2008-07-01 21:36:12 UTC
Thanks for your work! Patch just committed to CVS.