Siarhei Siamashka <siarhei.siamas...@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 _______________________________________________ Pixman mailing list Pixman@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pixman