Problem building 1.5 only on win32

Andreas Pakulat apaku at gmx.de
Thu Apr 11 15:22:02 UTC 2013


Hi,

sounds like the QMetaType header is not self-contained, however there
haven't been any changes to the KDevPlatform files since over a year.

Can you generate the pre-processed version of specializationstore.cpp and
post that here?

Andreas


On Thu, Apr 11, 2013 at 5:05 PM, Artur Bać <artur at ebasoft.com.pl> wrote:

> I have problem building kdevplatform 1.5 on Win32 with gcc 4.6
> With 1.4 branch there isn't any problem and it builds ok.
> maybe there is lack of some include to proper define macro QT_MODULE ?
>
> [ 13%] Building CXX object
>
> language/CMakeFiles/kdevplatformlanguage.dir/duchain/specializationstore.obj
> In file included from A:/KDE32/include/QtCore/QMetaType:1:0,
>                  from
> A:\KDE\src\kdevplatform\language\duchain\indexedtopducontext.h:22,
>                  from
> A:\KDE\src\kdevplatform\language\duchain\indexeddeclaration.h:24,
>                  from
> A:\KDE\src\kdevplatform\language\duchain\declarationid.h:24,
>                  from
> A:\KDE\src\kdevplatform\language\duchain\specializationstore.cpp:20:
> A:/KDE32/include/QtCore/qmetatype.h:60:1: error: expected constructor,
> destructor, or type conversion before 'typedef'
> mingw32-make[2]: ***
>
> [language/CMakeFiles/kdevplatformlanguage.dir/duchain/specializationstore.obj]
> Error 1
>
> So this fails with 1.5 :
>
> QT_MODULE(Core)
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20130411/7389c886/attachment.html>


More information about the KDevelop-devel mailing list