kjs/wtf/ with Sun Cstd STL

Adriaan de Groot groot at kde.org
Tue Aug 21 01:21:15 BST 2007


On Tuesday 21 August 2007, Adriaan de Groot wrote:
> 2) Workaround missing parts of STL.

For kfm-devel: Sun Solaris ships with an old (Cstd) implementation of the STL 
by default; it has trouble with some things (like std::count and interesting 
std::pair conversions). Attached patch shows what needs to be fixed. It 
probably shouldn't be #if COMPILER, but #if PLATFORM, though.

There's a standard-conformant (but apparently broken in other ways) STL as 
well, so there may need to be more magic done to distinguish, Sun C++ on 
Solaris with broken STL from all the other cases.

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-kjs-wtf.diff
Type: text/x-diff
Size: 2350 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20070821/03e873f7/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20070821/03e873f7/attachment.sig>


More information about the kfm-devel mailing list