kdevplatform-1.1.1 fails to build

Milian Wolff mail at milianw.de
Fri Dec 24 14:52:39 UTC 2010


On Friday 24 December 2010 15:22:26 Erik wrote:
> 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/kdevplatformlang
> uage_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.cp
> p: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.cp
> p: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.cp
> p: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/repositor
> y/revisions/master/entry/language/duchain/appendedlist_static.h#L65
> https://projects.kde.org/projects/extragear/kdevelop/kdevplatform/reposito
> ry/revisions/master/entry/language/duchain/appendedlist.h#L300

ugh, nice find. David, is there any reason for _static to exist? It's only used 
in identifier.cpp ...

I'll take a look at it. Bye

PS: @Erik: you will probably run into more problems with enable final, continue 
to harras us until it works :)
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101224/771b8a3e/attachment.sig>


More information about the KDevelop-devel mailing list