template definitions cannot nest(qdbusargument.h)

Thiago Macieira thiago at kde.org
Thu Feb 15 17:23:42 CET 2007


Christian Ehrlicher wrote:
>> qdbusargument.h(173) : error C2954: template definitions cannot nest.
>>
>> My spec:
>> QT: 4.2.2
>> Compiler:Visual C++ 6.0
>>
>> Any suggestion on what should I do?
>
>msvc6 is not supported by kdelibs (and as it looks, qdbus is also not
>compilable with msvc6).
>Use a recent compiler.

KDELibs doesn't support MSVC++ 6.0, but Qt does. The code is a bug 
previously not known.

Azman, please report it to Trolltech, at qt-bugs at trolltech.com. The code 
in question (an operator<< using a template-template parameter) will have 
to be disabled for that compiler.

In any event, upgrade your compiler.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070215/2bf75e8a/attachment.pgp 


More information about the Kde-buildsystem mailing list