current state of KDE_DEPRECATED ?
Nicolas Goutte
nicolasg at snafu.de
Wed Mar 15 23:53:22 GMT 2006
On Wednesday 15 March 2006 23:52, Thiago Macieira wrote:
> Nicolas Goutte wrote:
> >> Should KDE_DEPRECATED simply be defined to nothing with gcc < 3.4 ?
>
> Yes.
>
> This is what we had discussed:
Where?
> * KDE_DEPRECATED appears before the return types.
>
> * KDE_DEPRECATED expands to nothing in ALL platforms by default.
>
> * By turning a flag on, KDE_DEPRECATED expands to Q_DECL_DEPRECATED.
>
> * gcc 3.3 users can't use that flag.
Sorry, but that is not the current implementation.
KDE_DEPRECATED expands to Q_DECL_DEPRECATED (except MSVC with unsermake) when
kdemacros.h is included. (However kdemacros.h does not include qglobal.h ).
Also gcc 3.3.x has only little problems so why completely disable everything.
So it could be very easy to create KDE_CONSTRUCTOR_DEPRECATED and everything
will work again.
Have a nice day!
More information about the kde-core-devel
mailing list