[OpenIndiana-discuss] SunStudio

Emanuele Pucciarelli ep at acm.org
Wed Nov 17 18:17:48 UTC 2010


> The following code snipped from /usr/include/sigc++-2.0/sigc++/signal.h
> shows how the two compilers handle things:


Sun Studio may very well have bugs, but I have a hunch that this one
isn't really a bug: it just depends on what STL implementation you are
using. If I am not mistaken, the code that you mention has a
workaround for the libCstd implementation, which was developed for Sun
Studio 5.0, was incomplete and was never removed in order to guarantee
binary compatibility.

Look at


(D.3 and D.4) for an explanation and advice on how to enable proper
STL support, and at


for another example of a workaround with a somewhat clearer explanation.

I had similar problems when I ported rtorrent.



More information about the OpenIndiana-discuss mailing list