Version: 4.2.71 (using Devel) Compiler: Sun Studio 12 OS: Solaris Installed from: Compiled sources building kdelibs on opensolaris with SunStudio12 fails with: ... pkgbuild: "/export/home/test/packages/BUILD/kdelibs-4.2.71.svn961800/khtml/svg/SVGStyleElement.cpp", line 47: Error: Cannot return const char[1] from a function that should return const khtml::AtomicString&. pkgbuild: 1 Error(s) and 4 Warning(s) detected.
Created attachment 33394 [details] patch
still valid
SVN commit 1067625 by orlovich: Give a lot of method elements proper return types, hopefully fixing SunStudio12 build. While I am at it, properly provide XML attributes constants, and us them. CCBUG: 191763 BUG: 191789 BUG: 191799 BUG: 191810 M +3 -0 misc/gennames.py M +2 -1 misc/htmlnames.cpp M +3 -0 misc/htmlnames.h A misc/xmlattrs.in M +8 -6 svg/SVGAltGlyphElement.cpp M +6 -6 svg/SVGAltGlyphElement.h M +2 -5 svg/SVGElement.cpp M +1 -2 svg/SVGGlyphElement.cpp M +1 -1 svg/SVGHKernElement.cpp M +7 -11 svg/SVGLangSpace.cpp M +13 -21 svg/SVGSVGElement.cpp M +9 -9 svg/SVGSVGElement.h M +14 -13 svg/SVGStyleElement.cpp M +7 -7 svg/SVGStyleElement.h M +11 -10 svg/SVGTextContentElement.cpp M +1 -1 svg/SVGURIReference.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1067625