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 https://github.com/gcc-mirror/gcc/commit/9715c545d33b3a32ddc1ae817ba9356ade1fb9df -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1297 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/issues/1...@github.com>