visual studio compile error
William A. Hoffman
billlist at nycap.rr.com
Thu Feb 9 21:52:23 CET 2006
>
>
>Hi Bill,
>
>this is line 493:
>
> typedef ItemLongLong ItemInt64 KDE_DEPRECATED;
>
>And it's the KDE_DEPRECATED macro which I have disabled for
>_MSC_VER<=1400 in kdelibs/kdemakros.h.cmake
>
>You are using 1310 and so KDE_DEPRECATED is __dellpec(deprecated).
>
>Seems this deprecated is new, or you are the first one who tries
>it with net 2003.
>
>Disable the definition in the macro or in the generated header,
>and it should compile.
>
>Cheers,
>Peter
OK, that got me further:
I now have these problems:
1) in kdelibs-nmake/kdeui/kshortcutdialog_simple.h (generated from kdelibs/kdeui/kshortcutdialog_simple.ui3)
//uic3: property `paletteBackgroundColor' for widget `' of type `KPushButton' is not supported
#ifndef KSHORTCUTDIALOGSIMPLE_H
#define KSHORTCUTDIALOGSIMPLE_H
The statement about an unsupported widget was not commented out.
2) in kdelibs-nmake/kdeui/kshortcutdialog_advanced.h (generated from kdelibs/kdeui/kshortcutdialog_advanced.ui3)
m_txtAlternate = new KPushButton(m_frameMore);
m_txtAlternate->setObjectName(QString::fromUtf8("m_txtAlternate"));
m_txtAlternate->setFocusPolicy(Qt::ClickFocus);
m_txtAlternate->setAutoDefault(false);
m_txtAlternate->setDefault(false);
In the first m_txtAlternate, the "m" was missing.
3) build error
class KDEsuClient::KDEsuClientPrivate {
public:
QString daemon;
};
The above code produces this compile error.
client.cpp
c:\dev\KDE\kdelibs\kdesu\client.cpp(38) : error C2653: 'KDEsuClient' : is not a class or namespace name
c:\dev\KDE\kdelibs\kdesu\client.cpp(38) : error C2470: 'KDEsuClientPrivate' : looks like a function definition, but there is no formal parameter list; skipping apparent body
More information about the Kde-buildsystem
mailing list