On 04.09.2015 01:37, Matt Turner wrote:
>> +__attribute__((destructor))
> 
> You need to test for this support in configure.ac. It's as simple as
> adding a call to AX_GCC_FUNC_ATTRIBUTE in the existing alphabetized
> list and then a little bit of preprocessor in src/util/macros.h. (I
> think you should put "DESTRUCTOR" or whatever macro name you choose on
> the same line with "static void" like is done in intel_tiled_memcpy.c
> for FLATTEN)

Thanks, I modified the patch.

I first sent the patch using Git, but probably due to some grey-listing
somewhere, it took a while to reach the mailing-list. Meanwhile, I filed
a bug in Bugzilla [1]. To avoid confusion, do you prefer I send the new
patch to the list too or should I continue with Bugzilla?

[1] https://bugs.freedesktop.org/show_bug.cgi?id=91869

-- 
Jean-Sébastien Pédron

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to