Use of `g_auto*` macros

Gaël Bonithon <[email protected]>
Newsgroups gmane.comp.desktop.xfce.devel.version4
Message-ID <q47jQa-vUXoPYRQ0bdXiPHgw5O9Bv3UXSWfgrpEiMAo-DGNLZufmonyRRsQExJh-p0c41cG9PDUuh2uP6gPJ7SRgca3QTawaf9mUeJ5c6n4=@protonmail.com>
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
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.