Bug 191810 - svg/SVGAltGlyphElement.cpp does not compile on opensolaris (with patch)
Summary: svg/SVGAltGlyphElement.cpp does not compile on opensolaris (with patch)
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2009-05-06 15:04 UTC by tropikhajma
Modified: 2009-12-30 02:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch (701 bytes, patch)
2009-05-06 15:04 UTC, tropikhajma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tropikhajma 2009-05-06 15:04:29 UTC
Version:           4.2.71 (using Devel)
Compiler:          Sun Studio 12 
OS:                Solaris
Installed from:    Compiled sources

kdelibs fail to build on opensolaris with sunstudio12 with:
...
pkgbuild: "/export/home/test/packages/BUILD/kdelibs-4.2.71.svn961800/khtml/svg/SVGAltGlyphElement.cpp", line 53: Error: Cannot return DOM::DOMString from a function that should return const khtml::AtomicString&.
pkgbuild: "/export/home/test/packages/BUILD/kdelibs-4.2.71.svn961800/khtml/svg/SVGAltGlyphElement.cpp", line 63: Warning: Returning a reference to a local variable or temporary.
pkgbuild: "/export/home/test/packages/BUILD/kdelibs-4.2.71.svn961800/khtml/svg/SVGAltGlyphElement.cpp", line 63: Error: Cannot return DOM::DOMString from a function that should return const khtml::AtomicString&.
pkgbuild: 2 Error(s) and 11 Warning(s) detected.
Comment 1 tropikhajma 2009-05-06 15:04:58 UTC
Created attachment 33397 [details]
patch
Comment 2 tropikhajma 2009-12-11 16:07:05 UTC
still valid
Comment 3 Maksim Orlovich 2009-12-30 02:55:04 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