gcc 4 compatibility for phonon in kdelibs rev 536322 (patch)

Thiago Macieira thiago at kde.org
Thu May 4 10:11:53 BST 2006

Adriaan Moors wrote:
>It doesn't look like my version of GCC likes this (I tried this too):
>r504748/phonon/backendcapabilities.h:46: error: invalid explicit
>specialization before '>' token
>r504748/phonon/backendcapabilities.h:46: error: explicit
>specialization in non-namespace scope 'class

I've tested g++ here and I can't find a way to declare a whole template 
specialisation class as a friend. But declaring a single function as a 
friend works, in the code that we had before.
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060504/071240ab/attachment.sig>

More information about the kde-core-devel mailing list