Summary: | k3b 2.0.0 fails to build: redefinition of "QString createNonExistingFilesString(const QList<K3b::AudioFile*>&, int)" | ||
---|---|---|---|
Product: | [Applications] k3b | Reporter: | esigra |
Component: | Mixed Mode Project | Assignee: | Michał Małek <michalm> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | aacid, chaofeng111, esigra, johannesobermayr, trueg |
Priority: | NOR | ||
Version: | 2.0.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | fix for the reported build error and some more (others remain) |
Description
esigra
2010-12-25 09:06:49 UTC
Created attachment 55267 [details]
fix for the reported build error and some more (others remain)
Still fails with k3b 2.0.1. Which compiler are you using? They are static functions so there should not show error here. The code duplication should be eliminated though. Still fails with k3b 2.0.2. Compiler is g++ (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) 4.7.3. Not that it matters though. Redefinition is forbidden by the language. They are static functions, only exist in one cpp file. Am I leaving coding too long:) http://stackoverflow.com/questions/5319361/static-function-in-c Problem is that they are in 2 cpp source files, which are both included in the autogenerated file build/src/k3b_bin_final_cpp.cpp. Is the patch also required on master branch? I can compile for various openSUSE versions without any issues: https://pmbs.links2linux.de/package/show/Essentials/k3b Simply don't compile with enable final, it's a gimnick to get 0.000000000001% speedup that breaks things. |