Bug 260726 - build of kdelibs-4.5.4 fails with -DKDE4_ENABLE_FINAL=ON
Summary: build of kdelibs-4.5.4 fails with -DKDE4_ENABLE_FINAL=ON
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.5
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-19 19:17 UTC by esigra
Modified: 2010-12-19 19:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esigra 2010-12-19 19:17:48 UTC
Version:           4.5 (using KDE 4.5.4) 
OS:                Linux

Build of kdelibs-4.5.4 fails with -DKDE4_ENABLE_FINAL=ON.

Reproducible: Always

Steps to Reproduce:
1. tar jxvf kdelibs-4.5.4.tar.bz2
2. cd kdelibs-4.5.4
3. mkdir build
4. cd build
5. cmake -DKDE4_ENABLE_FINAL=ON ..
6. make

Actual Results:  
In file included from kdelibs-4.5.4/build/nepomuk/query/nepomukquery_final_cpp.cpp:22:
kdelibs-4.5.4/nepomuk/query/queryserializer.cpp: In function "QString<unnamed>::comparatorToString(Nepomuk::Query::ComparisonTerm::Comparator)":
kdelibs-4.5.4/nepomuk/query/queryserializer.cpp:47: fel: redefinition of "QString<unnamed>::comparatorToString(Nepomuk::Query::ComparisonTerm::Comparator)"
kdelibs-4.5.4/nepomuk/query/comparisonterm.cpp:41: fel: "QString<unnamed>::comparatorToString(Nepomuk::Query::ComparisonTerm::Comparator)" definierades tidigare här
Comment 1 Raphael Kubo da Costa 2010-12-19 19:28:09 UTC
This has been fixed in trunk by r1151007 -- http://websvn.kde.org/?view=revision&revision=1151007.

By the way, I recommend posting build failures (especially on trunk) to be posted on the kde-devel or the kde-core-devel mailing list (depending on what is failing).