Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 226189

Summary: ksmoothdock-4.5 does'nt compile with gcc-4.3.1
Product: Gentoo Linux Reporter: amadeus.bit
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: mlm
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: ksmoothdock-4.5-gcc43.patch
emerge-info
folder including updated ebuild, patch and manifest ready for an overlay

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.