KDE_DEPRECATED
Peter Kuemmel
syntheticpp at yahoo.com
Fri Mar 10 18:29:51 CET 2006
Brad King <brad.king at kitware.com> wrote:
I've found that a KDE_DEPRECATED-style macro is insufficient across
compilers. Some compilers want the decoration before the method and
some want it after the method. In VTK I created a "VTK_LEGACY" macro
that surrounds the method declaration.
If we really need both positions then we could support this by
using two macros:
KDE_DEPRECATED_PRE void foo() KDE_DEPRECATED_POST
or
KDE_DEPRECATED_PRE
void foo()
KDE_DEPRECATED_POST
So we could find a macro solution for all compiler.
Peter
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060310/f1b521a2/attachment.html
More information about the Kde-buildsystem
mailing list