[Pixman] Valgrind-clean pixman

Soeren Sandmann sandmann at daimi.au.dk
Sun Aug 29 15:26:39 PDT 2010


Siarhei Siamashka <siarhei.siamashka at gmail.com> writes:

> > We probably want to implement DllMain on win32 to allocate/free TLS anyway.
> 
> Yes, I think it makes sense to give this a try. The constructor attribute is 
> supported since at least gcc 2.95, and it seems to be fine in clang 2.7 too.
> There's always a risk that this stuff may be broken for some gcc versions or 
> target systems, but we can never know before trying :)

The only problematic case I can think of is Solaris with older
versions of the Sun compiler. However, we may be able to use the
_init() and _fini() functions there.


Soren


More information about the Pixman mailing list