Re: Use of `g_auto*` macros
Simon Steinbeiss <[email protected]>
| Newsgroups | gmane.comp.desktop.xfce.devel.version4 |
|---|---|
| Message-ID | <CAApLaz2TF4DbJontpx2ry+v_NMjvb8Fr1eCmX2nhKewPNb75sA@mail.gmail.com> |
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