This fixes the following compiler error. ../libs/tk/ytk/gtkscale.c:1474:50: error: incompatible function pointer types passing 'GCompareFunc' (aka 'int (*)(const void *, const void *)') to parameter of type 'GCompareDataFunc' (aka 'int (*)(const void *, const void *, void *)') [-Wincompatible-function-pointer-types] (GCompareFunc) compare_marks, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gslist.h:76:26: note: passing argument to parameter 'func' here GCompareDataFunc func, ^
recent gcc (>=11) sets _WIN32_WINNT >= 0x602 which changes QS_ALLINPUT to include (QS_TOUCH | QS_POINTER) events which are only available on Windows 8 and later. Listening to those events makes ardour unresponsive.
This is intended mainly for GNU/Linux distros who will remove GTK2 support in the near future.