Thiago Macieira thiago at kde.org
Sun Mar 12 13:11:15 GMT 2006

Peter Kümmel wrote:
>Thiago Macieira wrote:
>> Christian Ehrlicher wrote:
>>>> - deprecated warning are disabled by default
>>>> - when enabling gcc has no problems, but msvc build is broken
>>>>   but a soft migration is still possible (by disabling)
>>> Don't understand this - Thigao said that we want to move around
>>> KDE_DEPRECATED '*before* the return type' - and this is what msvc
>>> want's to but not gcc <= 3.3...
>> gcc <= 3.3 won't be able to use deprecation warnings.
>Isn't this a bug in qglobal.h which defines Q_DECL_DEPRECATED?


If you grep the Qt source code for Q_DECL_DEPRECATED, you'll see it's only 
used to define other macros. And those macros are turned on by explicit 

So you get no deprecation warnings unless you do:

  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

2. Tó cennan his weorc gearu, ymbe se circolwyrde, wearð se cægbord and se 
leohtspeccabord, and þa mýs cómon lator. On þone dæg, he hine reste.
-------------- 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/20060312/246f1321/attachment.sig>

More information about the kde-core-devel mailing list