[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: kdevplatform-1.1.1 fails to build
From:       Milian Wolff <mail () milianw ! de>
Date:       2010-12-24 14:52:39
Message-ID: 201012241552.42266.mail () milianw ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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@milianw.de
http://milianw.de

["signature.asc" (application/pgp-signature)]

-- 
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic