When compiling on Linux with GCC 13 and -Wincompatible-pointer-types:

prjorg-sidebar.c: In function 'prjorg_sidebar_get_expanded_paths':
prjorg-sidebar.c:1565:16: warning: returning 'void **' from a function with incompatible return type 'gchar **' {aka 'char **'} [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
 1565 |         return g_ptr_array_free(expanded_paths, FALSE);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Apparently this will become an error by default with GCC 14 in 2024:

https://gcc.gnu.org/pipermail/gcc-cvs/2023-December/394351.html

gcc-mirror/gcc@9715c54


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany-plugins/issues/1297@github.com>