The following packages will be installed: rejoystick Fetching README... 0%100%100%100%100%100%Done Fetching rejoystick.1... 0%100%100%100%100%100%Done Fetching rejoystick.SlackBuild... 0%100%100%100%100%100%Done Fetching rejoystick.info... 0%100%100%100%100%100%Done Fetching rejoystick.patch... 0%100%100%100%100%100%Done Fetching rejoystick.rst... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done rejoystick-0.8.1/ rejoystick-0.8.1/output rejoystick-0.8.1/missing rejoystick-0.8.1/Makefile rejoystick-0.8.1/rejoystick-0.8.1.spec rejoystick-0.8.1/version.mk rejoystick-0.8.1/config.guess rejoystick-0.8.1/ChangeLog rejoystick-0.8.1/config.status rejoystick-0.8.1/libtool rejoystick-0.8.1/docs/ rejoystick-0.8.1/configure rejoystick-0.8.1/doc-pak/ rejoystick-0.8.1/doc-pak/ChangeLog rejoystick-0.8.1/doc-pak/docs/ rejoystick-0.8.1/doc-pak/AUTHORS rejoystick-0.8.1/doc-pak/README rejoystick-0.8.1/doc-pak/INSTALL rejoystick-0.8.1/doc-pak/COPYING rejoystick-0.8.1/doc-pak/NEWS rejoystick-0.8.1/config.sub rejoystick-0.8.1/Makefile.in rejoystick-0.8.1/AUTHORS rejoystick-0.8.1/aclocal.m4 rejoystick-0.8.1/description-pak rejoystick-0.8.1/config.log rejoystick-0.8.1/README rejoystick-0.8.1/INSTALL rejoystick-0.8.1/src/ rejoystick-0.8.1/src/error.c rejoystick-0.8.1/src/Makefile rejoystick-0.8.1/src/hej.txt rejoystick-0.8.1/src/assign_button.c rejoystick-0.8.1/src/list.c rejoystick-0.8.1/src/js_button.c rejoystick-0.8.1/src/Makefile.in rejoystick-0.8.1/src/js_axis.c rejoystick-0.8.1/src/io.c rejoystick-0.8.1/src/bla.txt rejoystick-0.8.1/src/.deps/ rejoystick-0.8.1/src/.deps/assign_button.Po rejoystick-0.8.1/src/.deps/error.Po rejoystick-0.8.1/src/.deps/io.Po rejoystick-0.8.1/src/.deps/list.Po rejoystick-0.8.1/src/.deps/backend.Po rejoystick-0.8.1/src/.deps/button_axis.Po rejoystick-0.8.1/src/.deps/main.Po rejoystick-0.8.1/src/.deps/js_button.Po rejoystick-0.8.1/src/.deps/sdl_misc.Po rejoystick-0.8.1/src/.deps/js_axis.Po rejoystick-0.8.1/src/sdl_misc.c rejoystick-0.8.1/src/main.c rejoystick-0.8.1/src/Makefile.am rejoystick-0.8.1/src/button_axis.c rejoystick-0.8.1/src/backend.c rejoystick-0.8.1/install-sh rejoystick-0.8.1/depcomp rejoystick-0.8.1/COPYING rejoystick-0.8.1/Makefile.am rejoystick-0.8.1/NEWS rejoystick-0.8.1/configure.ac rejoystick-0.8.1/include/ rejoystick-0.8.1/include/io.h rejoystick-0.8.1/include/Makefile rejoystick-0.8.1/include/config.h.in rejoystick-0.8.1/include/error.h rejoystick-0.8.1/include/list.h rejoystick-0.8.1/include/backend.h rejoystick-0.8.1/include/js_button.h rejoystick-0.8.1/include/sdl_misc.h rejoystick-0.8.1/include/config.h rejoystick-0.8.1/include/Makefile.in rejoystick-0.8.1/include/stamp-h1 rejoystick-0.8.1/include/assign_button.h rejoystick-0.8.1/include/js_axis.h rejoystick-0.8.1/include/Makefile.am rejoystick-0.8.1/include/button_axis.h rejoystick-0.8.1/ltmain.sh patching file src/main.c checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i586-slackware-linux-gnu checking host system type... i586-slackware-linux-gnu i586-slackware-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for ANSI C header files... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for memset... yes checking for pkg-config... /usr/bin/pkg-config checking for gthread-2.0 >= 2.0... yes checking DEPS_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking DEPS_LIBS... -lgthread-2.0 -pthread -lglib-2.0 checking for SDL_Init in -lSDL... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XTestFakeKeyEvent in -lXtst... yes checking for gtk+-2.0 >= 2.2 glib-2.0 >= 2.2... yes checking DEPS_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking DEPS_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lharfbuzz -lfontconfig -lfreetype -lglib-2.0 configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating src/Makefile config.status: creating include/config.h config.status: executing depfiles commands Making all in src make[1]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/src' make[2]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/src' if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT assign_button.o -MD -MP -MF ".deps/assign_button.Tpo" -c -o assign_button.o assign_button.c; \ then mv -f ".deps/assign_button.Tpo" ".deps/assign_button.Po"; else rm -f ".deps/assign_button.Tpo"; exit 1; fi assign_button.c:2: warning: ISO C forbids an empty translation unit [-Wpedantic] if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT backend.o -MD -MP -MF ".deps/backend.Tpo" -c -o backend.o backend.c; \ then mv -f ".deps/backend.Tpo" ".deps/backend.Po"; else rm -f ".deps/backend.Tpo"; exit 1; fi In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/glib/gtypes.h: In function ‘_GLIB_CHECKED_ADD_U64’: /usr/include/glib-2.0/glib/gtypes.h:463:41: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 463 | G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64)); | ^~~~ /usr/include/glib-2.0/glib/gmacros.h:826:104: note: in definition of macro ‘G_STATIC_ASSERT’ 826 | #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED | ^~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/glib/gtypes.h:464:58: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 464 | return !__builtin_uaddll_overflow(a, b, (unsigned long long *) dest); } | ^~~~ /usr/include/glib-2.0/glib/gtypes.h: In function ‘_GLIB_CHECKED_MUL_U64’: /usr/include/glib-2.0/glib/gtypes.h:466:58: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 466 | return !__builtin_umulll_overflow(a, b, (unsigned long long *) dest); } | ^~~~ In file included from /usr/include/glib-2.0/glib.h:62, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/glib/gmessages.h: At top level: /usr/include/glib-2.0/glib/gmessages.h:137:29: warning: comma at end of enumerator list [-Wpedantic] 137 | G_LOG_WRITER_UNHANDLED = 0, | ^ /usr/include/glib-2.0/glib/gmessages.h:334:17: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 334 | #define g_error(...) G_STMT_START { \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:340:19: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 340 | #define g_message(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:343:20: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 343 | #define g_critical(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:346:19: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 346 | #define g_warning(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:349:16: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 349 | #define g_info(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:352:17: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 352 | #define g_debug(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:481:24: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 481 | #define g_warning_once(...) \ | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/glib/gstrfuncs.h:332:40: warning: comma at end of enumerator list [-Wpedantic] 332 | G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS, | ^ In file included from /usr/include/glib-2.0/glib.h:95, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/glib/guri.h:90:74: warning: comma at end of enumerator list [-Wpedantic] 90 | G_URI_FLAGS_SCHEME_NORMALIZE GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = 1 << 8, | ^ /usr/include/glib-2.0/glib/guri.h:211:34: warning: comma at end of enumerator list [-Wpedantic] 211 | G_URI_HIDE_FRAGMENT = 1 << 4, | ^ /usr/include/glib-2.0/glib/guri.h:261:41: warning: comma at end of enumerator list [-Wpedantic] 261 | G_URI_PARAMS_PARSE_RELAXED = 1 << 2, | ^ /usr/include/glib-2.0/glib/guri.h:336:27: warning: comma at end of enumerator list [-Wpedantic] 336 | G_URI_ERROR_BAD_FRAGMENT, | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:28, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/gobject/gsignal.h:148:46: warning: comma at end of enumerator list [-Wpedantic] 148 | G_SIGNAL_ACCUMULATOR_FIRST_RUN = 1 << 17, | ^ In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/gobject/gobject.h: In function ‘g_assert_finalize_object’: /usr/include/glib-2.0/glib/gmacros.h:847:39: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] 847 | #define G_STRFUNC ((const char*) (__FUNCTION__)) | ^~~~~~~~~~~~ /usr/include/glib-2.0/glib/gtestutils.h:185:103: note: in expansion of macro ‘G_STRFUNC’ 185 | g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ | ^~~~~~~~~ /usr/include/glib-2.0/gobject/gobject.h:799:3: note: in expansion of macro ‘g_assert_true’ 799 | g_assert_true (G_IS_OBJECT (weak_pointer)); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:847:39: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] 847 | #define G_STRFUNC ((const char*) (__FUNCTION__)) | ^~~~~~~~~~~~ /usr/include/glib-2.0/glib/gtestutils.h:207:103: note: in expansion of macro ‘G_STRFUNC’ 207 | g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ | ^~~~~~~~~ /usr/include/glib-2.0/gobject/gobject.h:802:3: note: in expansion of macro ‘g_assert_null’ 802 | g_assert_null (weak_pointer); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/gio/gioenums.h: At top level: /usr/include/glib-2.0/gio/gioenums.h:601:52: warning: comma at end of enumerator list [-Wpedantic] 601 | G_ASK_PASSWORD_TCRYPT = (1 << 5), | ^ In file included from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/gio/gioenums.h:1453:34: warning: comma at end of enumerator list [-Wpedantic] 1453 | G_CREDENTIALS_TYPE_APPLE_XUCRED, | ^ /usr/include/glib-2.0/gio/gioenums.h:1859:40: warning: comma at end of enumerator list [-Wpedantic] 1859 | G_TLS_PROTOCOL_VERSION_DTLS_1_2 = 202, | ^ In file included from /usr/include/glib-2.0/gio/giomodule.h:29, from /usr/include/glib-2.0/gio/gio.h:98, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/gmodule.h:85:30: warning: comma at end of enumerator list [-Wpedantic] 85 | G_MODULE_ERROR_CHECK_FAILED, | ^ In file included from /usr/include/glib-2.0/gio/gio.h:130, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/gio/gresolver.h:60:50: warning: comma at end of enumerator list [-Wpedantic] 60 | G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY = 1 << 1, | ^ In file included from /usr/include/pango-1.0/pango/pango-attributes.h:25, from /usr/include/pango-1.0/pango/pango.h:25, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/pango-1.0/pango/pango-font.h:169:38: warning: comma at end of enumerator list [-Wpedantic] 169 | PANGO_FONT_MASK_VARIATIONS = 1 << 7, | ^ In file included from /usr/include/pango-1.0/pango/pango.h:25, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/pango-1.0/pango/pango-attributes.h:203:28: warning: comma at end of enumerator list [-Wpedantic] 203 | PANGO_ATTR_OVERLINE_COLOR, /* PangoAttrColor */ | ^ In file included from /usr/include/pango-1.0/pango/pango-engine.h:28, from /usr/include/pango-1.0/pango/pango.h:31, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/pango-1.0/pango/pango-glyph.h:215:39: warning: comma at end of enumerator list [-Wpedantic] 215 | PANGO_SHAPE_ROUND_POSITIONS = 1 << 0, | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from backend.c:1: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from backend.c:1: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from backend.c:1: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ backend.c: In function ‘loop_and_wait’: backend.c:83:25: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 83 | error("Failed to read from device"); | ^~~~~ | perror backend.c:76:25: warning: unused variable ‘ba2’ [-Wunused-variable] 76 | button_axis* ba2; | ^~~ backend.c: In function ‘find_button_event’: backend.c:70:1: warning: control reaches end of non-void function [-Wreturn-type] 70 | } | ^ backend.c: In function ‘find_axis_event’: backend.c:48:16: warning: ‘tmp’ may be used uninitialized in this function [-Wmaybe-uninitialized] 48 | return &tmp->phys_button; | ^~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT button_axis.o -MD -MP -MF ".deps/button_axis.Tpo" -c -o button_axis.o button_axis.c; \ then mv -f ".deps/button_axis.Tpo" ".deps/button_axis.Po"; else rm -f ".deps/button_axis.Tpo"; exit 1; fi button_axis.c:2: warning: ISO C forbids an empty translation unit [-Wpedantic] if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \ then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT io.o -MD -MP -MF ".deps/io.Tpo" -c -o io.o io.c; \ then mv -f ".deps/io.Tpo" ".deps/io.Po"; else rm -f ".deps/io.Tpo"; exit 1; fi In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/glib/gtypes.h: In function ‘_GLIB_CHECKED_ADD_U64’: /usr/include/glib-2.0/glib/gtypes.h:463:41: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 463 | G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64)); | ^~~~ /usr/include/glib-2.0/glib/gmacros.h:826:104: note: in definition of macro ‘G_STATIC_ASSERT’ 826 | #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED | ^~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/glib/gtypes.h:464:58: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 464 | return !__builtin_uaddll_overflow(a, b, (unsigned long long *) dest); } | ^~~~ /usr/include/glib-2.0/glib/gtypes.h: In function ‘_GLIB_CHECKED_MUL_U64’: /usr/include/glib-2.0/glib/gtypes.h:466:58: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 466 | return !__builtin_umulll_overflow(a, b, (unsigned long long *) dest); } | ^~~~ In file included from /usr/include/glib-2.0/glib.h:62, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/glib/gmessages.h: At top level: /usr/include/glib-2.0/glib/gmessages.h:137:29: warning: comma at end of enumerator list [-Wpedantic] 137 | G_LOG_WRITER_UNHANDLED = 0, | ^ /usr/include/glib-2.0/glib/gmessages.h:334:17: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 334 | #define g_error(...) G_STMT_START { \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:340:19: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 340 | #define g_message(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:343:20: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 343 | #define g_critical(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:346:19: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 346 | #define g_warning(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:349:16: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 349 | #define g_info(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:352:17: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 352 | #define g_debug(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:481:24: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 481 | #define g_warning_once(...) \ | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/glib/gstrfuncs.h:332:40: warning: comma at end of enumerator list [-Wpedantic] 332 | G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS, | ^ In file included from /usr/include/glib-2.0/glib.h:95, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/glib/guri.h:90:74: warning: comma at end of enumerator list [-Wpedantic] 90 | G_URI_FLAGS_SCHEME_NORMALIZE GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = 1 << 8, | ^ /usr/include/glib-2.0/glib/guri.h:211:34: warning: comma at end of enumerator list [-Wpedantic] 211 | G_URI_HIDE_FRAGMENT = 1 << 4, | ^ /usr/include/glib-2.0/glib/guri.h:261:41: warning: comma at end of enumerator list [-Wpedantic] 261 | G_URI_PARAMS_PARSE_RELAXED = 1 << 2, | ^ /usr/include/glib-2.0/glib/guri.h:336:27: warning: comma at end of enumerator list [-Wpedantic] 336 | G_URI_ERROR_BAD_FRAGMENT, | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:28, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/gobject/gsignal.h:148:46: warning: comma at end of enumerator list [-Wpedantic] 148 | G_SIGNAL_ACCUMULATOR_FIRST_RUN = 1 << 17, | ^ In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/gobject/gobject.h: In function ‘g_assert_finalize_object’: /usr/include/glib-2.0/glib/gmacros.h:847:39: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] 847 | #define G_STRFUNC ((const char*) (__FUNCTION__)) | ^~~~~~~~~~~~ /usr/include/glib-2.0/glib/gtestutils.h:185:103: note: in expansion of macro ‘G_STRFUNC’ 185 | g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ | ^~~~~~~~~ /usr/include/glib-2.0/gobject/gobject.h:799:3: note: in expansion of macro ‘g_assert_true’ 799 | g_assert_true (G_IS_OBJECT (weak_pointer)); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:847:39: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] 847 | #define G_STRFUNC ((const char*) (__FUNCTION__)) | ^~~~~~~~~~~~ /usr/include/glib-2.0/glib/gtestutils.h:207:103: note: in expansion of macro ‘G_STRFUNC’ 207 | g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ | ^~~~~~~~~ /usr/include/glib-2.0/gobject/gobject.h:802:3: note: in expansion of macro ‘g_assert_null’ 802 | g_assert_null (weak_pointer); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/gio/gioenums.h: At top level: /usr/include/glib-2.0/gio/gioenums.h:601:52: warning: comma at end of enumerator list [-Wpedantic] 601 | G_ASK_PASSWORD_TCRYPT = (1 << 5), | ^ In file included from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/gio/gioenums.h:1453:34: warning: comma at end of enumerator list [-Wpedantic] 1453 | G_CREDENTIALS_TYPE_APPLE_XUCRED, | ^ /usr/include/glib-2.0/gio/gioenums.h:1859:40: warning: comma at end of enumerator list [-Wpedantic] 1859 | G_TLS_PROTOCOL_VERSION_DTLS_1_2 = 202, | ^ In file included from /usr/include/glib-2.0/gio/giomodule.h:29, from /usr/include/glib-2.0/gio/gio.h:98, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/gmodule.h:85:30: warning: comma at end of enumerator list [-Wpedantic] 85 | G_MODULE_ERROR_CHECK_FAILED, | ^ In file included from /usr/include/glib-2.0/gio/gio.h:130, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/gio/gresolver.h:60:50: warning: comma at end of enumerator list [-Wpedantic] 60 | G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY = 1 << 1, | ^ In file included from /usr/include/pango-1.0/pango/pango-attributes.h:25, from /usr/include/pango-1.0/pango/pango.h:25, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/pango-1.0/pango/pango-font.h:169:38: warning: comma at end of enumerator list [-Wpedantic] 169 | PANGO_FONT_MASK_VARIATIONS = 1 << 7, | ^ In file included from /usr/include/pango-1.0/pango/pango.h:25, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/pango-1.0/pango/pango-attributes.h:203:28: warning: comma at end of enumerator list [-Wpedantic] 203 | PANGO_ATTR_OVERLINE_COLOR, /* PangoAttrColor */ | ^ In file included from /usr/include/pango-1.0/pango/pango-engine.h:28, from /usr/include/pango-1.0/pango/pango.h:31, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/pango-1.0/pango/pango-glyph.h:215:39: warning: comma at end of enumerator list [-Wpedantic] 215 | PANGO_SHAPE_ROUND_POSITIONS = 1 << 0, | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../include/assign_button.h:5, from io.c:7: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from ../include/assign_button.h:5, from io.c:7: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ../include/assign_button.h:5, from io.c:7: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ io.c: In function ‘print_axis’: io.c:26:9: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] 26 | g_print("key: %s\n", XKeysymToString(XKeycodeToKeysym(dpy, abutton->phys_button.keyboard_keycode,0))); | ^~~~~~~ In file included from io.c:6: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ io.c: In function ‘print_button’: io.c:35:9: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] 35 | g_print("key: %s\n", XKeysymToString(XKeycodeToKeysym(dpy, abutton->phys_button.keyboard_keycode,0))); | ^~~~~~~ In file included from io.c:6: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ io.c: In function ‘save_keys’: io.c:67:16: warning: ordered comparison of pointer with integer zero [-Wpedantic] 67 | if (fp < 0) { | ^ io.c:68:17: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 68 | error("Failed to to open file"); | ^~~~~ | perror io.c:72:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 72 | list_t* it; | ^~~~~~ io.c: In function ‘load_keys’: io.c:141:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 141 | int nbr_buttons = SDL_JoystickNumButtons(js); | ^~~ io.c:155:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 155 | int nbr_axis = SDL_JoystickNumAxes(js); | ^~~ io.c:184:24: warning: ordered comparison of pointer with integer zero [-Wpedantic] 184 | if (fp < 0) { | ^ io.c:197:49: warning: format ‘%i’ expects argument of type ‘int *’, but argument 4 has type ‘Uint8 *’ {aka ‘unsigned char *’} [-Wformat=] 197 | fscanf(fp, "%s %i %s %i %s %i %s %i %s %i", | ~^ | | | int * | %hhi 198 | str, &abutton->phys_button.button.event.type, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Uint8 * {aka unsigned char *} io.c:197:55: warning: format ‘%i’ expects argument of type ‘int *’, but argument 6 has type ‘Uint8 *’ {aka ‘unsigned char *’} [-Wformat=] 197 | fscanf(fp, "%s %i %s %i %s %i %s %i %s %i", | ~^ | | | int * | %hhi 198 | str, &abutton->phys_button.button.event.type, 199 | str, &abutton->phys_button.button.event.which, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Uint8 * {aka unsigned char *} io.c:197:61: warning: format ‘%i’ expects argument of type ‘int *’, but argument 8 has type ‘Uint8 *’ {aka ‘unsigned char *’} [-Wformat=] 197 | fscanf(fp, "%s %i %s %i %s %i %s %i %s %i", | ~^ | | | int * | %hhi ...... 200 | str, &abutton->phys_button.button.event.button, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Uint8 * {aka unsigned char *} io.c:197:67: warning: format ‘%i’ expects argument of type ‘int *’, but argument 10 has type ‘Uint8 *’ {aka ‘unsigned char *’} [-Wformat=] 197 | fscanf(fp, "%s %i %s %i %s %i %s %i %s %i", | ~^ | | | int * | %hhi ...... 201 | str, &abutton->phys_button.button.event.state, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Uint8 * {aka unsigned char *} io.c:205:49: warning: format ‘%i’ expects argument of type ‘int *’, but argument 4 has type ‘Uint8 *’ {aka ‘unsigned char *’} [-Wformat=] 205 | fscanf(fp, "%s %i %s %i %s %i %s %i %s %i %s %i", | ~^ | | | int * | %hhi 206 | str, &abutton->phys_button.axis.event.type, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Uint8 * {aka unsigned char *} io.c:205:55: warning: format ‘%i’ expects argument of type ‘int *’, but argument 6 has type ‘Uint8 *’ {aka ‘unsigned char *’} [-Wformat=] 205 | fscanf(fp, "%s %i %s %i %s %i %s %i %s %i %s %i", | ~^ | | | int * | %hhi 206 | str, &abutton->phys_button.axis.event.type, 207 | str, &abutton->phys_button.axis.event.which, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Uint8 * {aka unsigned char *} io.c:205:61: warning: format ‘%i’ expects argument of type ‘int *’, but argument 8 has type ‘Uint8 *’ {aka ‘unsigned char *’} [-Wformat=] 205 | fscanf(fp, "%s %i %s %i %s %i %s %i %s %i %s %i", | ~^ | | | int * | %hhi ...... 208 | str, &abutton->phys_button.axis.event.axis, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Uint8 * {aka unsigned char *} io.c:205:67: warning: format ‘%i’ expects argument of type ‘int *’, but argument 10 has type ‘Sint16 *’ {aka ‘short int *’} [-Wformat=] 205 | fscanf(fp, "%s %i %s %i %s %i %s %i %s %i %s %i", | ~^ | | | int * | %hi ...... 209 | str, &abutton->phys_button.axis.event.value, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | Sint16 * {aka short int *} io.c:205:73: warning: format ‘%i’ expects argument of type ‘int *’, but argument 12 has type ‘unsigned int *’ [-Wformat=] 205 | fscanf(fp, "%s %i %s %i %s %i %s %i %s %i %s %i", | ~^ | | | int * | %i ...... 210 | str, &abutton->phys_button.axis.limit, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int * if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT js_axis.o -MD -MP -MF ".deps/js_axis.Tpo" -c -o js_axis.o js_axis.c; \ then mv -f ".deps/js_axis.Tpo" ".deps/js_axis.Po"; else rm -f ".deps/js_axis.Tpo"; exit 1; fi js_axis.c:2: warning: ISO C forbids an empty translation unit [-Wpedantic] if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT js_button.o -MD -MP -MF ".deps/js_button.Tpo" -c -o js_button.o js_button.c; \ then mv -f ".deps/js_button.Tpo" ".deps/js_button.Po"; else rm -f ".deps/js_button.Tpo"; exit 1; fi js_button.c:2: warning: ISO C forbids an empty translation unit [-Wpedantic] if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT list.o -MD -MP -MF ".deps/list.Tpo" -c -o list.o list.c; \ then mv -f ".deps/list.Tpo" ".deps/list.Po"; else rm -f ".deps/list.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/glib/gtypes.h: In function ‘_GLIB_CHECKED_ADD_U64’: /usr/include/glib-2.0/glib/gtypes.h:463:41: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 463 | G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64)); | ^~~~ /usr/include/glib-2.0/glib/gmacros.h:826:104: note: in definition of macro ‘G_STATIC_ASSERT’ 826 | #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED | ^~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/glib/gtypes.h:464:58: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 464 | return !__builtin_uaddll_overflow(a, b, (unsigned long long *) dest); } | ^~~~ /usr/include/glib-2.0/glib/gtypes.h: In function ‘_GLIB_CHECKED_MUL_U64’: /usr/include/glib-2.0/glib/gtypes.h:466:58: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 466 | return !__builtin_umulll_overflow(a, b, (unsigned long long *) dest); } | ^~~~ In file included from /usr/include/glib-2.0/glib.h:62, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/glib/gmessages.h: At top level: /usr/include/glib-2.0/glib/gmessages.h:137:29: warning: comma at end of enumerator list [-Wpedantic] 137 | G_LOG_WRITER_UNHANDLED = 0, | ^ /usr/include/glib-2.0/glib/gmessages.h:334:17: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 334 | #define g_error(...) G_STMT_START { \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:340:19: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 340 | #define g_message(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:343:20: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 343 | #define g_critical(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:346:19: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 346 | #define g_warning(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:349:16: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 349 | #define g_info(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:352:17: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 352 | #define g_debug(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:481:24: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 481 | #define g_warning_once(...) \ | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/glib/gstrfuncs.h:332:40: warning: comma at end of enumerator list [-Wpedantic] 332 | G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS, | ^ In file included from /usr/include/glib-2.0/glib.h:95, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/glib/guri.h:90:74: warning: comma at end of enumerator list [-Wpedantic] 90 | G_URI_FLAGS_SCHEME_NORMALIZE GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = 1 << 8, | ^ /usr/include/glib-2.0/glib/guri.h:211:34: warning: comma at end of enumerator list [-Wpedantic] 211 | G_URI_HIDE_FRAGMENT = 1 << 4, | ^ /usr/include/glib-2.0/glib/guri.h:261:41: warning: comma at end of enumerator list [-Wpedantic] 261 | G_URI_PARAMS_PARSE_RELAXED = 1 << 2, | ^ /usr/include/glib-2.0/glib/guri.h:336:27: warning: comma at end of enumerator list [-Wpedantic] 336 | G_URI_ERROR_BAD_FRAGMENT, | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:28, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/gobject/gsignal.h:148:46: warning: comma at end of enumerator list [-Wpedantic] 148 | G_SIGNAL_ACCUMULATOR_FIRST_RUN = 1 << 17, | ^ In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/gobject/gobject.h: In function ‘g_assert_finalize_object’: /usr/include/glib-2.0/glib/gmacros.h:847:39: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] 847 | #define G_STRFUNC ((const char*) (__FUNCTION__)) | ^~~~~~~~~~~~ /usr/include/glib-2.0/glib/gtestutils.h:185:103: note: in expansion of macro ‘G_STRFUNC’ 185 | g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ | ^~~~~~~~~ /usr/include/glib-2.0/gobject/gobject.h:799:3: note: in expansion of macro ‘g_assert_true’ 799 | g_assert_true (G_IS_OBJECT (weak_pointer)); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:847:39: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] 847 | #define G_STRFUNC ((const char*) (__FUNCTION__)) | ^~~~~~~~~~~~ /usr/include/glib-2.0/glib/gtestutils.h:207:103: note: in expansion of macro ‘G_STRFUNC’ 207 | g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ | ^~~~~~~~~ /usr/include/glib-2.0/gobject/gobject.h:802:3: note: in expansion of macro ‘g_assert_null’ 802 | g_assert_null (weak_pointer); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/gio/gioenums.h: At top level: /usr/include/glib-2.0/gio/gioenums.h:601:52: warning: comma at end of enumerator list [-Wpedantic] 601 | G_ASK_PASSWORD_TCRYPT = (1 << 5), | ^ In file included from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/gio/gioenums.h:1453:34: warning: comma at end of enumerator list [-Wpedantic] 1453 | G_CREDENTIALS_TYPE_APPLE_XUCRED, | ^ /usr/include/glib-2.0/gio/gioenums.h:1859:40: warning: comma at end of enumerator list [-Wpedantic] 1859 | G_TLS_PROTOCOL_VERSION_DTLS_1_2 = 202, | ^ In file included from /usr/include/glib-2.0/gio/giomodule.h:29, from /usr/include/glib-2.0/gio/gio.h:98, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/gmodule.h:85:30: warning: comma at end of enumerator list [-Wpedantic] 85 | G_MODULE_ERROR_CHECK_FAILED, | ^ In file included from /usr/include/glib-2.0/gio/gio.h:130, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/gio/gresolver.h:60:50: warning: comma at end of enumerator list [-Wpedantic] 60 | G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY = 1 << 1, | ^ In file included from /usr/include/pango-1.0/pango/pango-attributes.h:25, from /usr/include/pango-1.0/pango/pango.h:25, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/pango-1.0/pango/pango-font.h:169:38: warning: comma at end of enumerator list [-Wpedantic] 169 | PANGO_FONT_MASK_VARIATIONS = 1 << 7, | ^ In file included from /usr/include/pango-1.0/pango/pango.h:25, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/pango-1.0/pango/pango-attributes.h:203:28: warning: comma at end of enumerator list [-Wpedantic] 203 | PANGO_ATTR_OVERLINE_COLOR, /* PangoAttrColor */ | ^ In file included from /usr/include/pango-1.0/pango/pango-engine.h:28, from /usr/include/pango-1.0/pango/pango.h:31, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/pango-1.0/pango/pango-glyph.h:215:39: warning: comma at end of enumerator list [-Wpedantic] 215 | PANGO_SHAPE_ROUND_POSITIONS = 1 << 0, | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.c:1: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from main.c:1: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ main.c: In function ‘handle_event’: main.c:37:22: warning: unused variable ‘colormap’ [-Wunused-variable] 37 | GdkColormap* colormap; | ^~~~~~~~ main.c: In function ‘joystick_button_check’: main.c:118:25: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 118 | error("Failed to read from device"); | ^~~~~ | perror main.c: In function ‘main’: main.c:171:9: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations] 171 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here 265 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ main.c:229:43: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] 229 | pthread_create(&sdl_thread, NULL, (void*)joystick_button_check, NULL); | ^ main.c:229:43: warning: ISO C forbids passing argument 3 of ‘pthread_create’ between function pointer and ‘void *’ [-Wpedantic] 229 | pthread_create(&sdl_thread, NULL, (void*)joystick_button_check, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/deprecated/gthread.h:124, from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from main.c:1: /usr/include/pthread.h:202:36: note: expected ‘void * (*)(void *)’ but argument is of type ‘void *’ 202 | void *(*__start_routine) (void *), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ if gcc -DHAVE_CONFIG_H -I. -I. -I../include -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -MT sdl_misc.o -MD -MP -MF ".deps/sdl_misc.Tpo" -c -o sdl_misc.o sdl_misc.c; \ then mv -f ".deps/sdl_misc.Tpo" ".deps/sdl_misc.Po"; else rm -f ".deps/sdl_misc.Tpo"; exit 1; fi In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/glib/gtypes.h: In function ‘_GLIB_CHECKED_ADD_U64’: /usr/include/glib-2.0/glib/gtypes.h:463:41: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 463 | G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64)); | ^~~~ /usr/include/glib-2.0/glib/gmacros.h:826:104: note: in definition of macro ‘G_STATIC_ASSERT’ 826 | #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED | ^~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/glib/gtypes.h:464:58: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 464 | return !__builtin_uaddll_overflow(a, b, (unsigned long long *) dest); } | ^~~~ /usr/include/glib-2.0/glib/gtypes.h: In function ‘_GLIB_CHECKED_MUL_U64’: /usr/include/glib-2.0/glib/gtypes.h:466:58: warning: ISO C90 does not support ‘long long’ [-Wlong-long] 466 | return !__builtin_umulll_overflow(a, b, (unsigned long long *) dest); } | ^~~~ In file included from /usr/include/glib-2.0/glib.h:62, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/glib/gmessages.h: At top level: /usr/include/glib-2.0/glib/gmessages.h:137:29: warning: comma at end of enumerator list [-Wpedantic] 137 | G_LOG_WRITER_UNHANDLED = 0, | ^ /usr/include/glib-2.0/glib/gmessages.h:334:17: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 334 | #define g_error(...) G_STMT_START { \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:340:19: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 340 | #define g_message(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:343:20: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 343 | #define g_critical(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:346:19: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 346 | #define g_warning(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:349:16: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 349 | #define g_info(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:352:17: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 352 | #define g_debug(...) g_log (G_LOG_DOMAIN, \ | ^~~ /usr/include/glib-2.0/glib/gmessages.h:481:24: warning: anonymous variadic macros were introduced in C99 [-Wvariadic-macros] 481 | #define g_warning_once(...) \ | ^~~ In file included from /usr/include/glib-2.0/glib.h:82, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/glib/gstrfuncs.h:332:40: warning: comma at end of enumerator list [-Wpedantic] 332 | G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS, | ^ In file included from /usr/include/glib-2.0/glib.h:95, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/glib/guri.h:90:74: warning: comma at end of enumerator list [-Wpedantic] 90 | G_URI_FLAGS_SCHEME_NORMALIZE GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = 1 << 8, | ^ /usr/include/glib-2.0/glib/guri.h:211:34: warning: comma at end of enumerator list [-Wpedantic] 211 | G_URI_HIDE_FRAGMENT = 1 << 4, | ^ /usr/include/glib-2.0/glib/guri.h:261:41: warning: comma at end of enumerator list [-Wpedantic] 261 | G_URI_PARAMS_PARSE_RELAXED = 1 << 2, | ^ /usr/include/glib-2.0/glib/guri.h:336:27: warning: comma at end of enumerator list [-Wpedantic] 336 | G_URI_ERROR_BAD_FRAGMENT, | ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:28, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/gobject/gsignal.h:148:46: warning: comma at end of enumerator list [-Wpedantic] 148 | G_SIGNAL_ACCUMULATOR_FIRST_RUN = 1 << 17, | ^ In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/gobject/gobject.h: In function ‘g_assert_finalize_object’: /usr/include/glib-2.0/glib/gmacros.h:847:39: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] 847 | #define G_STRFUNC ((const char*) (__FUNCTION__)) | ^~~~~~~~~~~~ /usr/include/glib-2.0/glib/gtestutils.h:185:103: note: in expansion of macro ‘G_STRFUNC’ 185 | g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ | ^~~~~~~~~ /usr/include/glib-2.0/gobject/gobject.h:799:3: note: in expansion of macro ‘g_assert_true’ 799 | g_assert_true (G_IS_OBJECT (weak_pointer)); | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:847:39: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic] 847 | #define G_STRFUNC ((const char*) (__FUNCTION__)) | ^~~~~~~~~~~~ /usr/include/glib-2.0/glib/gtestutils.h:207:103: note: in expansion of macro ‘G_STRFUNC’ 207 | g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \ | ^~~~~~~~~ /usr/include/glib-2.0/gobject/gobject.h:802:3: note: in expansion of macro ‘g_assert_null’ 802 | g_assert_null (weak_pointer); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/gio/gioenums.h: At top level: /usr/include/glib-2.0/gio/gioenums.h:601:52: warning: comma at end of enumerator list [-Wpedantic] 601 | G_ASK_PASSWORD_TCRYPT = (1 << 5), | ^ In file included from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/gio/gioenums.h:1453:34: warning: comma at end of enumerator list [-Wpedantic] 1453 | G_CREDENTIALS_TYPE_APPLE_XUCRED, | ^ /usr/include/glib-2.0/gio/gioenums.h:1859:40: warning: comma at end of enumerator list [-Wpedantic] 1859 | G_TLS_PROTOCOL_VERSION_DTLS_1_2 = 202, | ^ In file included from /usr/include/glib-2.0/gio/giomodule.h:29, from /usr/include/glib-2.0/gio/gio.h:98, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/gmodule.h:85:30: warning: comma at end of enumerator list [-Wpedantic] 85 | G_MODULE_ERROR_CHECK_FAILED, | ^ In file included from /usr/include/glib-2.0/gio/gio.h:130, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/gio/gresolver.h:60:50: warning: comma at end of enumerator list [-Wpedantic] 60 | G_RESOLVER_NAME_LOOKUP_FLAGS_IPV6_ONLY = 1 << 1, | ^ In file included from /usr/include/pango-1.0/pango/pango-attributes.h:25, from /usr/include/pango-1.0/pango/pango.h:25, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/pango-1.0/pango/pango-font.h:169:38: warning: comma at end of enumerator list [-Wpedantic] 169 | PANGO_FONT_MASK_VARIATIONS = 1 << 7, | ^ In file included from /usr/include/pango-1.0/pango/pango.h:25, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/pango-1.0/pango/pango-attributes.h:203:28: warning: comma at end of enumerator list [-Wpedantic] 203 | PANGO_ATTR_OVERLINE_COLOR, /* PangoAttrColor */ | ^ In file included from /usr/include/pango-1.0/pango/pango-engine.h:28, from /usr/include/pango-1.0/pango/pango.h:31, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/pango-1.0/pango/pango-glyph.h:215:39: warning: comma at end of enumerator list [-Wpedantic] 215 | PANGO_SHAPE_ROUND_POSITIONS = 1 << 0, | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from sdl_misc.c:1: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from sdl_misc.c:1: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from sdl_misc.c:1: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ sdl_misc.c: In function ‘init_sdl’: sdl_misc.c:20:17: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] 20 | error("Failed to init sdl with joystick"); | ^~~~~ | perror sdl_misc.c: In function ‘button_keypress_callback’: sdl_misc.c:51:9: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] 51 | gtk_label_set_text(abuttonlabel->label, XKeysymToString(XKeycodeToKeysym(dpy, abutton->phys_button.keyboard_keycode,0))); | ^~~~~~~~~~~~~~~~~~ In file included from sdl_misc.c:3: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ sdl_misc.c: In function ‘button_axis_callback’: sdl_misc.c:97:9: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations] 97 | label_keycode = gtk_label_new(XKeysymToString(XKeycodeToKeysym(dpy, abuttonlabel->abutton->phys_button.keyboard_keycode,0))); | ^~~~~~~~~~~~~ In file included from sdl_misc.c:3: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ sdl_misc.c: In function ‘create_buttons’: sdl_misc.c:148:25: warning: variable ‘nbr_buttons’ set but not used [-Wunused-but-set-variable] 148 | int nbr_buttons; | ^~~~~~~~~~~ sdl_misc.c: In function ‘create_axis’: sdl_misc.c:183:25: warning: variable ‘nbr_axis’ set but not used [-Wunused-but-set-variable] 183 | int nbr_axis; | ^~~~~~~~ sdl_misc.c:203:48: warning: ‘ (neg)’ directive writing 6 bytes into a region of size between 5 and 14 [-Wformat-overflow=] 203 | sprintf(label, "Axis %i (neg)", i); | ^~~~~~ sdl_misc.c:203:25: note: ‘sprintf’ output between 13 and 22 bytes into a destination of size 20 203 | sprintf(label, "Axis %i (neg)", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sdl_misc.c:216:48: warning: ‘ (pos)’ directive writing 6 bytes into a region of size between 5 and 14 [-Wformat-overflow=] 216 | sprintf(label, "Axis %i (pos)", i); | ^~~~~~ sdl_misc.c:216:25: note: ‘sprintf’ output between 13 and 22 bytes into a destination of size 20 216 | sprintf(label, "Axis %i (pos)", i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o rejoystick assign_button.o backend.o button_axis.o error.o io.o js_axis.o js_button.o list.o main.o sdl_misc.o -lXtst -lX11 -lgthread-2.0 -pthread -lglib-2.0 -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lharfbuzz -lfontconfig -lfreetype -lglib-2.0 mkdir .libs gcc -O2 -march=i586 -mtune=i686 -std=iso9899:1990 -Wall -pedantic -I../include -O2 -s -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o rejoystick assign_button.o backend.o button_axis.o error.o io.o js_axis.o js_button.o list.o main.o sdl_misc.o -pthread -Wl,-rpath -Wl,/usr/lib -lXtst -lX11 -lgthread-2.0 -L/usr/lib -lSDL -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lharfbuzz -lfontconfig -lfreetype -lglib-2.0 make[2]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/src' make[1]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/src' Making all in include make[1]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/include' make all-am make[2]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/include' make[2]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/include' make[1]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/include' make[1]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1' make INSTALL_PROGRAM="/bin/sh /usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/install-sh -c -s" \ install_sh_PROGRAM="/bin/sh /usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ `test -z 'strip' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='strip'"` install make[1]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1' Making install in src make[2]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/src' make[3]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/src' make[4]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/src' test -z "/usr/bin" || mkdir -p -- "/usr/src/slapt-src-i486/games/rejoystick/package-rejoystick/usr/bin" STRIPPROG='strip' /bin/sh ../libtool --mode=install /bin/sh /usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/install-sh -c -s 'rejoystick' '/usr/src/slapt-src-i486/games/rejoystick/package-rejoystick/usr/bin/rejoystick' /bin/sh /usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/install-sh -c -s rejoystick /usr/src/slapt-src-i486/games/rejoystick/package-rejoystick/usr/bin/rejoystick make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/src' make[3]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/src' make[2]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/src' Making install in include make[2]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/include' make[3]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/include' make[2]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1/include' make[2]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1' make[3]: Entering directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1' make[2]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1' make[1]: Leaving directory '/usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1' Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1-i586-4salix15.0.txz ./ install/ install/slack-desc usr/ usr/bin/ usr/bin/rejoystick usr/doc/ usr/doc/rejoystick-0.8.1/ usr/doc/rejoystick-0.8.1/COPYING usr/doc/rejoystick-0.8.1/README usr/doc/rejoystick-0.8.1/rejoystick.SlackBuild usr/man/ usr/man/man1/ usr/man/man1/rejoystick.1.gz Slackware package /usr/src/slapt-src-i486/games/rejoystick/rejoystick-0.8.1-i586-4salix15.0.txz created. Installing package rejoystick-0.8.1-i586-4salix15.0... | rejoystick (translates joystick movement/buttons to keystrokes) | | Rejoystick is a program that maps movement and button presses on | your gamepad/joypad/joystick to keypresses on a keyboard when you | are running X. Since it uses SDL to communicate with the gamepad | device, it can work on every platform that provides SDL and an X | environment. (Though it is yet to be tested on Cygwin e.g.) | | | | | |