Hey, trying to test patch for bug #4051 I noticed that thunar FTBFS with -O0: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -DEXO_DISABLE_DEPRECATED -DG_LOG_DOMAIN=\"Thunar\" -DLIBDIR=\"/usr/lib\" -DLIBEXECDIR=\"/usr/libexec\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DTHUNAR_VERSION_API=\"1\" -DG_ENABLE_DEBUG -DHAVE_GNUC_VISIBILITY -D_REENTRANT -I/usr/include/exo-0.3 -I/usr/include/gtk-2.0 -I/usr/include/xfce4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -Werror -O0 -g3 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O0 -MT Thunar-thunar-shortcuts-model.o -MD -MP -MF .deps/Thunar-thunar-shortcuts-model.Tpo -c -o Thunar-thunar-shortcuts-model.o `test -f 'thunar-shortcuts-model.c' || echo './'`thunar-shortcuts-model.c cc1: warnings being treated as errors thunar-shortcuts-model.c: In function ‘thunar_shortcuts_model_init’: thunar-shortcuts-model.c:344: error: implicit declaration of function ‘setlocale’ thunar-shortcuts-model.c:344: error: ‘LC_MESSAGES’ undeclared (first use in this function) thunar-shortcuts-model.c:344: error: (Each undeclared identifier is reported only once thunar-shortcuts-model.c:344: error: for each function it appears in.) thunar-shortcuts-model.c:344: error: assignment makes pointer from integer without a cast thunar-shortcuts-model.c: In function ‘thunar_shortcuts_model_load’: thunar-shortcuts-model.c:923: error: ‘LC_MESSAGES’ undeclared (first use in this function) thunar-shortcuts-model.c:923: error: assignment makes pointer from integer without a cast make[3]: *** [Thunar-thunar-shortcuts-model.o] Error 1 make[3]: Leaving directory `/home/corsac/debian/xfce/desktop/thunar/thunar' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/corsac/debian/xfce/desktop/thunar/thunar' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/corsac/debian/xfce/desktop/thunar' make: *** [all] Error 2
This was an outdated checkout, sorry