Re: Use of `g_auto*` macros

Gaël Bonithon <[email protected]>
Newsgroups gmane.comp.desktop.xfce.devel.version4
Message-ID <KSmlvohzXxM_CXSOMFDRZIsCG9OHdxHdYX5n3THp6eOpYEpygBO0h4XRu_0lItRRDpCKqDnpCS9jJjV5C7ce2gDDzJt-irgJpw3suJ8g4tM=@protonmail.com>
Hi Simon,

Thank you for responding! I thought my email was going to get lost in the August dustbin, so I opened a new issue on xfce4-dev-tools soon after (which I should have done from the start ^^):
https://gitlab.xfce.org/xfce/xfce4-dev-tools/-/issues/52

So I propose to continue the discussion there for anyone interested.

Cheers,
Gaël

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, September 5th, 2021 at 9:16 PM, Simon Steinbeiss <[email protected]> wrote:

> Hi Gaël!
>
> Sorry for the late reply.
> I guess I'm responsible for some of those macros in Xfce's codebase. At the time I was not aware that only GCC and Clang could compile them, but as the projects using them have been released and out there for a while my guess would be that we don't worry too much about other compilers?
>
> I found them convenient to use, that's all. So I don't have a strong opinion here...
>
> Cheers
> Simon
>
> On Tue, Aug 24, 2021 at 11:24 PM Gaël Bonithon <[email protected]> wrote:
>
>> Hi,
>>
>> It seems that only two projects use these macros at the moment: libxfce4ui and xfce4-settings. More precisely, they are g_autoptr() and g_autofree.
>>
>> I was wondering to what extent the use of these macros could be extended to other projects, or if it could be a problem, since only GCC and Clang can compile them.
>>
>> Do we have to worry about other compilers? Do you have any other comments on this subject?
>>
>> Thanks!
>>
>> Cheers,
>> Gaël
>>
>> _______________________________________________
>> Xfce4-dev mailing list
>> [email protected]
>> https://mail.xfce.org/mailman/listinfo/xfce4-dev

_______________________________________________
Xfce4-dev mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.