KDE_DEPRECATED

David Faure faure at kde.org
Fri Mar 10 17:48:10 CET 2006


On Friday 10 March 2006 17:44, Peter Kümmel wrote:
> 
> kdemacros:
> 
> #ifndef KDE_DEPRECATED
> # ifndef Q_CC_MSVC
> #  define KDE_DEPRECATED Q_DECL_DEPRECATED
> # else
> #  define KDE_DEPRECATED
> # endif
> #endif
> 
> Why is KDE_DEPRECATED disabled for msvc?
> Does it still not work, even not placed in front
> of the functions?

Looks like Christian made this change by mistake, I think you should revert it.

r516901 | chehrlic | 2006-03-09 06:58:46 +0100 (Thu, 09 Mar 2006)

sync kdemacros.h.cmake with kdemacros.h.in (KDE_DEPRECATED)
CCMAIL: neundorf at kde.org
------------------------------------------------------------------------
Index: kdemacros.h.in
===================================================================
--- kdemacros.h.in      (revision 516900)
+++ kdemacros.h.in      (revision 516901)
@@ -147,7 +147,11 @@
  */

 #ifndef KDE_DEPRECATED
+# ifndef Q_CC_MSVC
 # define KDE_DEPRECATED Q_DECL_DEPRECATED
+# else
+#  define KDE_DEPRECATED
+# endif
 #endif

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


More information about the Kde-buildsystem mailing list