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-...]] 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
https://github.com/gcc-mirror/gcc/commit/9715c545d33b3a32ddc1ae817ba9356ade1...
Closed #1297 as completed.
github-comments@lists.geany.org