Use of `g_auto*` macros
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 (see https://developer-old.gnome.org/glib/stable/glib-Miscellaneous-Macros.html#g-auto, I can't find such clear and synthetic information in the new documentation).
Do we have to worry about other compilers? Do you have any other comments on this subject?
Thanks!
NB:
I had first posted a message on the mailing list (reproduced above), but I guess it has few chances to be answered, and many chances to be totally forgotten.
So for lack of a better place for this kind of general discussion, I'm opening an issue here, since in this case it's related to the compilation.
That way it will at least be easy to refer to, and if someone asks the same question, he will at least have a reasonable chance to find it.