Template Macros in VS2003

Thiago Macieira thiago at kde.org
Sun Jan 21 21:50:52 CET 2007


Jarosław Staniek wrote:
>Question to TT guys: could we have it fixed in Qt, and thus avoid
> patching?
>
>> --- qplugin.h   2007-01-21 19:47:19.000000000 +0100
>> +++ qplugin.orig.h      2007-01-21 20:09:31.000000000 +0100
>> @@ -54,7 +54,7 @@
>>
>>  #define Q_PLUGIN_INSTANCE(IMPLEMENTATION) \
>>         { \
>> -            static QPointer< IMPLEMENTATION > _instance; \
>> +            static QPointer<IMPLEMENTATION> _instance; \
>>              if (!_instance)      \
>>                       _instance = new IMPLEMENTATION; \
>>              return _instance; \
>>
>> Maybe it can be handled by windbus\QtDBus-win32.patch. Or?
>>
>> Happy compiling :)

I'm not a TT guy anymore, but the reverse of the patch above looks ok. 
Whenever doing templates in macros, we need to have a space before ending 
> characters.

-- 
  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-windows/attachments/20070121/d1a7c467/attachment.pgp 


More information about the Kde-windows mailing list