Patches to libXau

Enrico Weigelt, metux IT consult info at metux.net
Fri Feb 2 13:13:17 UTC 2024


On 01.02.24 18:15, Alan Coopersmith wrote:
> On 2/1/24 05:59, tlaronde at kergis.com wrote:
>> 1) Test for __GNUC__ as well as __clang__ since gcc has no attributes
>> for __attribute((malloc)) as well;
>
> Current versions of gcc do:
>
> https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-malloc-function-attribute

*that* is really cool. Wasn't aware how good the analyzer became.

Should we start using this in the xserver code ?
(possibly by adding new _X_FOO macros)

--mtx

--
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info at metux.net -- +49-151-27565287



More information about the xorg-devel mailing list