[PATCH] fix build errors in kdevplatform-1.2.0
Erik
esigra at gmail.com
Sun Mar 27 20:14:37 UTC 2011
This patch fixes the following 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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kdevplatform-1.2.0-fix_build-1.diff
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110327/5c2c4ef5/attachment.ksh>
More information about the KDevelop-devel
mailing list