make[2]: Leaving directory '/home/oyvinds/src/xfce4/thunar-volman/thunar-volman' Making all in thunar-volman-settings make[2]: Entering directory '/home/oyvinds/src/xfce4/thunar-volman/thunar-volman-settings' CC thunar_volman_settings-main.o CC thunar_volman_settings-tvm-command-entry.o CC thunar_volman_settings-tvm-preferences-dialog.o CC thunar_volman_settings-tvm-pango-extensions.o tvm-command-entry.c: In function ‘tvm_command_entry_get_type’: tvm-command-entry.c:83:9: error: cast between incompatible function types from ‘void (*)(TvmCommandEntryClass *)’ {aka ‘void (*)(struct _TvmCommandEntryClass *)’} to ‘void (*)(void *, void *)’ [-Werror=cast-function-type] 83 | (GClassInitFunc) tvm_command_entry_class_init, | ^ tvm-command-entry.c:88:9: error: cast between incompatible function types from ‘void (*)(TvmCommandEntry *)’ {aka ‘void (*)(struct _TvmCommandEntry *)’} to ‘void (*)(GTypeInstance *, void *)’ {aka ‘void (*)(struct _GTypeInstance *, void *)’} [-Werror=cast-function-type] 88 | (GInstanceInitFunc) tvm_command_entry_init, | ^ cc1: all warnings being treated as errors make[2]: *** [Makefile:627: thunar_volman_settings-tvm-command-entry.o] Error 1 make[2]: Leaving directory '/home/oyvinds/src/xfce4/thunar-volman/thunar-volman-settings' make[1]: *** [Makefile:492: all-recursive] Error 1 make[1]: Leaving directory '/home/oyvinds/src/xfce4/thunar-volman' make: *** [Makefile:424: all] Error 2
You are building master ? Or some different branch ? Looks like you are building with -Werror, so actually it is a warning (though I dont even get that warning) I got some other compiler error when doing git fetch & git pull & make ... though after purging the project and doing a fresh git clone, it built fine for me. gcc version 9.2.1 .. which compiler do you use ?
It took me a while to realize that --enable-debug=full makes warnings into errors, I simply didn't realize. Will use --enable-debug=yes