gcc 4 compatibility for phonon in kdelibs rev 536322 (patch)
Adriaan Moors
adriaan.moors at cs.kuleuven.be
Thu May 4 08:43:00 BST 2006
On 04 May 2006, at 09:08, Thiago Macieira wrote:
> Adriaan Moors wrote:
>> void ::KStaticDeleter<BackendCapabilities>::destructObject();
>> + template<class BackendCapabilities> friend
>> void ::KStaticDeleter<BackendCapabilities>::destructObject();
>
> It's asking you to (literally) write template<>. The correct would be;
>
> template<>
> void ::KStaticDeleted<BackendCapabilities>::destructObject();
It doesn't look like my version of GCC likes this (I tried this too):
/Users/adriaan/nospotlight/src/clean/kdelibs-kde4-snapshot-svn-
r504748/phonon/backendcapabilities.h:46: error: invalid explicit
specialization before '>' token
/Users/adriaan/nospotlight/src/clean/kdelibs-kde4-snapshot-svn-
r504748/phonon/backendcapabilities.h:46: error: explicit
specialization in non-namespace scope 'class
Phonon::BackendCapabilities'
(note that it is a friend declaration, maybe that has something to do
with it)
adriaan
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
More information about the kde-core-devel
mailing list