[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: gcc 4 compatibility for phonon in kdelibs rev 536322 (patch)
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-05-04 9:11:53
Message-ID: 200605041111.53688.thiago () kde ! org
[Download RAW message or body]


Adriaan Moors wrote:
>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'

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

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic