kdevplatform-1.1.1 fails to build

Erik esigra at gmail.com
Fri Dec 24 14:22:26 UTC 2010


Steps to reproduce:
1. tar jxvf kdevplatform-1.1.1.tar.bz2
2. cd kdevplatform-1.1.1
3. mkdir build
4. cd build
5. cmake -DKDE4_ENABLE_FINAL=ON ..
6. make

Actual result:
I fil inkluderad från 
/home/work/programmering/kdevplatform-1.1.1/build/language/kdevplatformlanguage_final_cpp.cpp:37: 

/home/work/programmering/kdevplatform-1.1.1/language/duchain/identifier.cpp:66:65: 
fel: makrot "APPENDED_LIST_FIRST" kräver 3 argument, men endast 2 anges
/home/work/programmering/kdevplatform-1.1.1/language/duchain/identifier.cpp:68:41: 
fel: makrot "END_APPENDED_LISTS" kräver 2 argument, men endast 1 anges
/home/work/programmering/kdevplatform-1.1.1/language/duchain/identifier.cpp:184:53: 
fel: makrot "APPENDED_LIST_FIRST" kräver 3 argument, men endast 2 anges
/home/work/programmering/kdevplatform-1.1.1/language/duchain/identifier.cpp:186:33: 
fel: makrot "END_APPENDED_LISTS" kräver 2 argument, men endast 1 anges
.
.
.


The problem seems to be that the macro is defined with different number 
of arguments in different places:
https://projects.kde.org/projects/extragear/kdevelop/kdevplatform/repository/revisions/master/entry/language/duchain/appendedlist_static.h#L65
https://projects.kde.org/projects/extragear/kdevelop/kdevplatform/repository/revisions/master/entry/language/duchain/appendedlist.h#L300




More information about the KDevelop-devel mailing list