KDE/kdelibs/kdeui

Peter Kümmel syntheticpp at gmx.net
Sat Mar 11 12:14:51 GMT 2006


Thiago Macieira wrote:
> 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.
>

Yes, by this way it doesn't work (I've got on error here).

> 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?)





More information about the kde-core-devel mailing list