Visual Studio 2003 build
Peter Kümmel
syntheticpp at gmx.net
Tue Feb 14 22:32:05 CET 2006
Bill Hoffman wrote:
> Hi,
>
> I am trying to build kdelibs with visual studio 2003. I am using
> the qtwin project:
>
> http://sourceforge.net/projects/qtwin/
>
> And visual stuido 2003 professional with nmake.
>
> The first error, is from the deprecated stuff.
>
>
> ===================================================================
> --- kdemacros.h.cmake (revision 509438)
> +++ kdemacros.h.cmake (working copy)
> @@ -146,9 +146,6 @@
> # if defined(__GNUC__) && (__GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MIN
> OR__ - 0 >= 2))
> /* gcc >= 3.2 */
> # define KDE_DEPRECATED __attribute__ ((deprecated))
> -# elif defined(_MSC_VER) && (_MSC_VER >= 1300) && (_MSC_VER < 1400)
> - /* msvc >= 7 */
> -# define KDE_DEPRECATED __declspec(deprecated)
> # else
> # define KDE_DEPRECATED
> # endif
>
> Peter, is there a version of MSC that __declspec(deprecated) works for?
> I get a syntax error for the places that use KDE_DEPRECATED if it is set to that.
> BTW, on visual 2003, _MSC_VER == 1310. Peter, can you check in a fix for this?
>
When the 1310 also makes problems I remove it.
Peter
More information about the Kde-buildsystem
mailing list