Version: unspecified (using Devel) OS: Solaris builing kdepim fails with ... "/export/home/test/Dashboards/kdepim/srcdir/runtime/xml/xmldocument.cpp", line 149: Error: Template parameter FreeFunc requires an expression of type void(*)(_xmlDoc*). "/export/home/test/Dashboards/kdepim/srcdir/runtime/xml/xmldocument.cpp", line 156: Error: Template parameter FreeFunc requires an expression of type void(*)(_xmlDoc*). "/export/home/test/Dashboards/kdepim/srcdir/runtime/xml/xmldocument.cpp", line 161: Error: Template parameter FreeFunc requires an expression of type void(*)(_xmlSchemaParserCtxt*). "/export/home/test/Dashboards/kdepim/srcdir/runtime/xml/xmldocument.cpp", line 166: Error: Template parameter FreeFunc requires an expression of type void(*)(_xmlSchema*). "/export/home/test/Dashboards/kdepim/srcdir/runtime/xml/xmldocument.cpp", line 171: Error: Template parameter FreeFunc requires an expression of type void(*)(_xmlSchemaValidCtxt*). 5 Error(s) detected. (see http://my.cdash.org/viewBuildError.php?buildid=107010) This issue is present for quite a long time. The kde-solaris project has a patch for it at http://solaris.bionicmutton.org/hg/kde4-specs-460/file/be7804868c7b/specs/patches/kdepim-runtime/kdepim-runtime-akonadi.diff but I cannot guarantee it's a good solution. This is on OpenSolaris b134 using the Sun Studio 12u1 compiler. Reproducible: Always
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]
Fixed ?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!