Version: 4.2.71 (using Devel) Compiler: Sun Studio 12 OS: Solaris Installed from: Compiled sources when building kdelibs on opensolaris with Sun Studio 12, it fails with: ... "/export/home/test/packages/BUILD/kdelibs-4.2.71.svn961800/khtml/xml/dom_elementimpl.h", line 134: Error: Different types for "?:" (DOM::DOMStringImpl*const and bool). (more at http://pastebin.ca/1413482)
Created attachment 33381 [details] patch
see the failure in kde-dashboard: http://my.cdash.org/index.php?project=kdelibs&date=2009-12-11
still valid
SVN commit 1065909 by dfaure: make the getter const, can't hurt, and might help compilation on Solaris CCBUG: 191750 M +1 -1 dom_elementimpl.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1065909
issue persists in current svn
Created attachment 39560 [details] patch for current svn
What's the current error message? The patch seems safe, but also completely unnecessary.
the current error message: "/home/hajma/Dashboards/kdelibs/srcdir/khtml/xml/dom_elementimpl.h", line 135: Error: Different types for "?:" (DOM::DOMStringImpl*const and bool).
SVN commit 1073782 by orlovich: Apply a patch from tropikhajma (tropikhajma at gmail tld com) to workaround and apparent SunStudio bug. Additional credit goes to cmake for deciding to rebuild everything for some reason, hence removing that disencentive from me. BUG: 191750 M +1 -1 dom_elementimpl.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1073782
SVN commit 1073784 by orlovich: automatically merged revision 1073782: Apply a patch from tropikhajma (tropikhajma at gmail tld com) to workaround and apparent SunStudio bug. Additional credit goes to cmake for deciding to rebuild everything for some reason, hence removing that disencentive from me. BUG: 191750 M +1 -1 dom_elementimpl.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1073784