KDE/kdelibs/kdeui

Thiago Macieira thiago at kde.org
Sat Mar 11 12:02:05 GMT 2006


Christian Ehrlicher wrote:
>We discussed this two weeks ago and came to the conclusion to write it
>in front like Qt does. We already define KDE_DEPRECATED to
>Q_DECL_DEPRECATED so there is no more problem with gcc version which
>don't like it in the front.

What I failed to notice when looking at the Qt4 headers is that it doesn't 
turn Q_DECL_DEPRECATED on by default.

It'll only use them if you #define QT3_SUPPORT_WARNINGS.

So I think we should say: *before* the return type and people who have 
compilers that don't understand that must have it off (configure check?)
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

1. On frumscafte, hwonne time_t wæs náht, se scieppend þone circolwyrde 
wundorcræftlíge cennede and seo eorðe wæs idel and hit wæs gód.
-------------- 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/20060311/a4b6cdf5/attachment.sig>


More information about the kde-core-devel mailing list