Summary: | [PATCH] Failed to emerge dev-util/kdevplatform-1.2.0 with USE=kdeenablefinal: several errors | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Erik <esigra> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.kde.org/show_bug.cgi?id=275544 | ||
Whiteboard: | tracking upstream | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 353246 | ||
Attachments: | patch that fixes the build |
Description
Erik
2011-03-27 11:58:38 UTC
Created attachment 267383 [details, diff] patch that fixes the build This patch fixes errors in kdevplatform 1.2.0 so that it can be built: * Define metatypes in header files and include them instead of having multiple Q_DECLARE_METATYPE(TYPE) for the same TYPE (see http://www.mail-archive.com/kde-core-devel@kde.org/msg00416.html). * Explicit static casts where needed according to the compiler. * Define urlToData in one place only (a separate new header file). * Rename one of the functions appendActions to appendContextMenuActions to make the signature unique. * Add include guard to greputil.h * Rename one of the structs Visitor to selfAnalysisVisitor to make the identifier unique. * Use a unique include guard in appendlist_static.h (not the same as in appendlist.h) * Undefine the macro "mix" after use to not pollute the namespace. Please submit this upstream, it's a pretty big patch. :) Submitted upstream. As per KDE team meeting decision, the kdeenablefinal useflag has been removed. |