[Bug 254808] build failure in runtime/xml/xmldocument.cpp
groot at kde.org
groot at kde.org
Wed Oct 20 23:25:32 BST 2010
https://bugs.kde.org/show_bug.cgi?id=254808
--- Comment #1 from <groot kde org> 2010-10-21 00:25:28 ---
On Wednesday, October 20, 2010 11:46:59 pm tropikhajma wrote:
> "/export/home/test/Dashboards/kdepim/srcdir/runtime/xml/xmldocument.cpp",
> line 149: Error: Template parameter FreeFunc requires an expression of
> type void(*)(_xmlDoc*).
What the error message isn't saying is that the template expects a C++-linkage
function to be passed in, while the functions declared by libxml are C
linkage. The patch adds totally bogus C++ linkage versions of the same.
Perhaps they should be inline as well.
There's also some additional explicit bool() operators in the patch to
disambiguate from operator ().
[ade]
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list