Bug 191789

Summary: khtml/svg/SVGLangSpace.cpp not compiling on opensolaris (with patch)
Product: [Applications] konqueror Reporter: tropikhajma <tropikhajma>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: dominik.tritscher
Priority: NOR Keywords: triaged
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:
Attachments: patch

Description tropikhajma 2009-05-06 11:34:01 UTC
Version:           4.2.71 (using Devel)
Compiler:          Sun Studio 12 
OS:                Solaris
Installed from:    Compiled sources

building kdelibs on OpenSolaris with Sun Studio 12 fails with:
...
pkgbuild: "/export/home/test/packages/BUILD/kdelibs-4.2.71.svn961800/khtml/svg/SVGLangSpace.cpp", line 61: Error: Cannot return const char[1] from a function that should return const khtml::AtomicString&.
pkgbuild: 1 Error(s) and 3 Warning(s) detected.
Comment 1 tropikhajma 2009-05-06 11:34:40 UTC
Created attachment 33391 [details]
patch
Comment 2 tropikhajma 2009-12-11 16:07:42 UTC
still valid
Comment 3 Maksim Orlovich 2009-12-30 02:55:05 UTC
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