D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/chbg-2.0.1-31.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rW9zGA sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.U769Mt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build + rm -rf chbg-2.0.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/chbg-2.0.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd chbg-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (chbg-2.0.1-colormap.patch):' Patch #0 (chbg-2.0.1-colormap.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .composite --fuzz=0 patching file src/absimg_gdkpixbuf.c patching file src/chbg.c patching file src/gimpgradient.c patching file src/gui_tools.c patching file src/shaderpv.c patching file src/thumb.c + echo 'Patch #1 (chbg-2.0.1-cflags.patch):' Patch #1 (chbg-2.0.1-cflags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cflags --fuzz=0 patching file configure.in patching file src/Makefile.am + echo 'Patch #2 (chbg-2.0.1-libpng1.5.patch):' Patch #2 (chbg-2.0.1-libpng1.5.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .libpng --fuzz=0 patching file src/absimg.c + echo 'Patch #3 (chbg-2.0.1-link.patch):' Patch #3 (chbg-2.0.1-link.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .link --fuzz=0 patching file configure.in + echo 'Patch #4 (chbg-2.0.1-langs.patch):' Patch #4 (chbg-2.0.1-langs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .langs --fuzz=0 patching file po/Makefile patching file po/Makefile.am patching file po/Makefile.in + tar -xf /home/pterjan/rpmbuild/SOURCES/chbg-2.0.1-po.tar.bz2 tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.user.xdg.origin.url' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.user.xdg.origin.url' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.T5blVV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chbg-2.0.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:782: AM_INIT_AUTOMAKE is expanded from... configure.in:6: the top level configure.in:48: warning: The macro 'AC_STDC_HEADERS' is obsolete. configure.in:48: You should run autoupdate. ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.in:48: the top level configure.in:48: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:48: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.in:48: the top level configure.in:121: warning: AC_OUTPUT should be used without arguments. configure.in:121: You should run autoupdate. configure.in:121: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:6: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:40: installing './compile' src/Makefile.am:21: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am: installing './depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-intl-includes=/usr/share/gettext/intl checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtk+-2.0 atk x11... yes checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether make sets $(MAKE)... (cached) yes checking for msgfmt... msgfmt checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking how to run the C preprocessor... gcc -E 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 whether byte ordering is bigendian... no checking for working POSIX fnmatch... yes checking for usleep... yes checking for setenv... yes checking for random... yes checking for mkstemp... yes checking for libintl.h... yes checking for gettext in -lc... yes checking for inflate in -lz... yes checking for png_write_info in -lpng... yes checking for floor in -lm... yes "-DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"$(prefix)/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"$(sysconfdir)/chbgrc\""" checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile config.status: executing depfiles commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 Making all in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o fnmatch.o fnmatch.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o gprop.o gprop.c gprop.c: In function 'gprop_parse': gprop.c:26:8: warning: old-style function definition [-Wold-style-definition] 26 | gprop *gprop_parse(str) | ^~~~~~~~~~~ gprop.c:69:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 69 | gp->value = (void *)atoi(p); | ^ gprop.c:72:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 72 | gp->value = (void *)(!strcmp(p, "true")); | ^ gprop.c: In function 'gprop_dump': gprop.c:79:7: warning: old-style function definition [-Wold-style-definition] 79 | char *gprop_dump(gp) | ^~~~~~~~~~ gprop.c:93:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 93 | gp->name, (int)gp->value); | ^ gprop.c: In function 'gprop_add': gprop.c:104:6: warning: old-style function definition [-Wold-style-definition] 104 | void gprop_add(gp) | ^~~~~~~~~ gprop.c: In function 'gprop_find': gprop.c:111:12: warning: old-style function definition [-Wold-style-definition] 111 | static int gprop_find(gp, name) | ^~~~~~~~~~ gprop.c: In function 'gprop_remove': gprop.c:118:6: warning: old-style function definition [-Wold-style-definition] 118 | void gprop_remove(name) | ^~~~~~~~~~~~ gprop.c: In function 'gprop_set_str': gprop.c:129:6: warning: old-style function definition [-Wold-style-definition] 129 | void gprop_set_str(name, value) | ^~~~~~~~~~~~~ gprop.c: In function 'gprop_set_int': gprop.c:158:6: warning: old-style function definition [-Wold-style-definition] 158 | void gprop_set_int(name, value) | ^~~~~~~~~~~~~ gprop.c:172:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 172 | gp->value = (void *)value; | ^ gprop.c:180:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 180 | gp->value = (void *)value; | ^ gprop.c: In function 'gprop_set_bool': gprop.c:186:6: warning: old-style function definition [-Wold-style-definition] 186 | void gprop_set_bool(name, value) | ^~~~~~~~~~~~~~ gprop.c:200:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 200 | gp->value = (void *)value; | ^ gprop.c:208:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 208 | gp->value = (void *)value; | ^ gprop.c: In function 'gprop_get_str': gprop.c:214:5: warning: old-style function definition [-Wold-style-definition] 214 | int gprop_get_str(name, valp) | ^~~~~~~~~~~~~ gprop.c: In function 'gprop_get_int': gprop.c:233:5: warning: old-style function definition [-Wold-style-definition] 233 | int gprop_get_int(name, valp) | ^~~~~~~~~~~~~ gprop.c:246:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 246 | *valp = (int)gp->value; | ^ gprop.c: In function 'gprop_get_bool': gprop.c:252:5: warning: old-style function definition [-Wold-style-definition] 252 | int gprop_get_bool(name, valp) | ^~~~~~~~~~~~~~ gprop.c:265:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 265 | *valp = (int)gp->value; | ^ gprop.c: In function 'gprop_save': gprop.c:271:6: warning: old-style function definition [-Wold-style-definition] 271 | void gprop_save(f) | ^~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o xsssupport.o xsssupport.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o esetroot.o esetroot.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from config.h:14, from esetroot.c:12: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from esetroot.c:9: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from config.h:15: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ esetroot.c: In function 'gnomecc_make_root_pixmap': esetroot.c:39:15: warning: old-style function definition [-Wold-style-definition] 39 | static Pixmap gnomecc_make_root_pixmap (width, height) | ^~~~~~~~~~~~~~~~~~~~~~~~ esetroot.c: In function 'gnomecc_set_root_pixmap': esetroot.c:67:13: warning: old-style function definition [-Wold-style-definition] 67 | static void gnomecc_set_root_pixmap (dpy, win, pixmap) | ^~~~~~~~~~~~~~~~~~~~~~~ esetroot.c:86:39: warning: comparison between pointer and integer 86 | if (result == Success && type == XA_PIXMAP && | ^~ esetroot.c: In function 'esetroot_pixmap_property': esetroot.c:119:6: warning: old-style function definition [-Wold-style-definition] 119 | void esetroot_pixmap_property(root_window, p, w, h, prop) | ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o e.o e.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from config.h:14, from e.c:15: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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/gdk/gdkprivate.h:30, from /usr/include/gtk-2.0/gdk/gdkx.h:30, from e.c:10: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from config.h:15: /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:34, from /usr/include/glib-2.0/glib.h:32, from e.c:9: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ e.c: In function 'find_named_tl_window': e.c:30:43: warning: pointer targets in passing argument 6 of 'XQueryTree' differ in signedness [-Wpointer-sign] 30 | &root , &parent , &chld , &num); | ^~~~ | | | int * In file included from /usr/include/gtk-2.0/gdk/gdkx.h:32: /usr/include/X11/Xlib.h:3033:5: note: expected 'unsigned int *' but argument is of type 'int *' 3033 | unsigned int* /* nchildren_return */ | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: e.c: In function 'get_string_atom': e.c:69:33: warning: pointer targets in passing argument 1 of 'g_strdup_inline' differ in signedness [-Wpointer-sign] 69 | return g_strdup(data); | ^~~~ | | | unsigned char * /usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro 'g_strdup' 324 | #define g_strdup(x) g_strdup_inline (x) | ^ /usr/include/glib-2.0/glib/gstrfuncs.h:309:30: note: expected 'const char *' but argument is of type 'unsigned char *' 309 | g_strdup_inline (const char *str) | ~~~~~~~~~~~~^~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o chwin.o chwin.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from config.h:14, from chwin.c:9: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from config.h:13: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from config.h:15: /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:34, from /usr/include/glib-2.0/glib.h:32, from config.h:12: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ chwin.c: In function 'find_win_at': chwin.c:19:15: warning: old-style function definition [-Wold-style-definition] 19 | static Window find_win_at(dpy, w, x, y) | ^~~~~~~~~~~ chwin.c: In function 'get_click_window': chwin.c:50:15: warning: old-style function definition [-Wold-style-definition] 50 | static Window get_click_window(dpy) | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o absimg.o absimg.c absimg.c: In function 'absimg_rgb_new': absimg.c:16:15: warning: old-style function definition [-Wold-style-definition] 16 | absimg_rgb_t *absimg_rgb_new(w, h) | ^~~~~~~~~~~~~~ absimg.c: In function 'absimg_to_rgb': absimg.c:35:15: warning: old-style function definition [-Wold-style-definition] 35 | absimg_rgb_t *absimg_to_rgb(img) | ^~~~~~~~~~~~~ absimg.c: In function 'absimg_rgb_fill': absimg.c:51:6: warning: old-style function definition [-Wold-style-definition] 51 | void absimg_rgb_fill(rgb, r, g, b) | ^~~~~~~~~~~~~~~ absimg.c: In function 'absimg_rgb_savePNG': absimg.c:71:5: warning: old-style function definition [-Wold-style-definition] 71 | int absimg_rgb_savePNG(rgb, name) | ^~~~~~~~~~~~~~~~~~ absimg.c: In function 'absimg_rgb_tile': absimg.c:135:6: warning: old-style function definition [-Wold-style-definition] 135 | void absimg_rgb_tile(rgb, img, w, h) | ^~~~~~~~~~~~~~~ absimg.c: In function 'absimg_rgb_grayfy': absimg.c:176:6: warning: old-style function definition [-Wold-style-definition] 176 | void absimg_rgb_grayfy(rgb) | ^~~~~~~~~~~~~~~~~ absimg.c: In function 'absimg_rgb_dup': absimg.c:191:15: warning: old-style function definition [-Wold-style-definition] 191 | absimg_rgb_t *absimg_rgb_dup(rgb) | ^~~~~~~~~~~~~~ absimg.c:200:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 200 | rv->alpha = g_memdup(rgb->alpha, rgb->width * rgb->height); | ^~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from /usr/include/glib-2.0/gobject/gbinding.h:30, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from absimg.h:12, from absimg.c:14: /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o recurse.o recurse.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from config.h:14, from recurse.c:24: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from config.h:13: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from config.h:15: /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:34, from /usr/include/glib-2.0/glib.h:32, from recurse.c:16: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ recurse.c: In function 'lowerstr': recurse.c:27:14: warning: old-style function definition [-Wold-style-definition] 27 | static char *lowerstr(s) | ^~~~~~~~ recurse.c: In function 'check_pattern': recurse.c:37:12: warning: old-style function definition [-Wold-style-definition] 37 | static int check_pattern(patterns, str) | ^~~~~~~~~~~~~ recurse.c: In function 'recurse_dir': recurse.c:67:6: warning: old-style function definition [-Wold-style-definition] 67 | void recurse_dir(rlist, num_pics, patterns, minsize, getname_func, newentry_func, free_func) | ^~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o gtkmultirow.o gtkmultirow.c 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/gtkbox.h:35, from gtkmultirow.h:25, from gtkmultirow.c:20: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from gtkmultirow.h:24: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o absimg_gdkpixbuf.o absimg_gdkpixbuf.c absimg_gdkpixbuf.c: In function 'absimg_load': absimg_gdkpixbuf.c:18:17: warning: old-style function definition [-Wold-style-definition] 18 | absimg_image_t *absimg_load(filename) | ^~~~~~~~~~~ absimg_gdkpixbuf.c: In function 'absimg_flip_horizontal': absimg_gdkpixbuf.c:38:6: warning: old-style function definition [-Wold-style-definition] 38 | void absimg_flip_horizontal(image) | ^~~~~~~~~~~~~~~~~~~~~~ absimg_gdkpixbuf.c: In function 'absimg_flip_vertical': absimg_gdkpixbuf.c:67:6: warning: old-style function definition [-Wold-style-definition] 67 | void absimg_flip_vertical(image) | ^~~~~~~~~~~~~~~~~~~~ absimg_gdkpixbuf.c:70:13: warning: variable 'w' set but not used [-Wunused-but-set-variable] 70 | int w,h; | ^ absimg_gdkpixbuf.c: In function 'absimg_render': absimg_gdkpixbuf.c:94:12: warning: old-style function definition [-Wold-style-definition] 94 | GdkPixmap *absimg_render(image, width, height) | ^~~~~~~~~~~~~ absimg_gdkpixbuf.c:118:17: warning: 'gdk_pixbuf_ref' is deprecated: Use 'g_object_ref' instead [-Wdeprecated-declarations] 118 | gdk_pixbuf_ref(image->image); | ^~~~~~~~~~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33, from absimg.h:12, from absimg_gdkpixbuf.c:9: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:166:12: note: declared here 166 | GdkPixbuf *gdk_pixbuf_ref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~ absimg_gdkpixbuf.c:127:9: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 127 | gdk_pixbuf_unref(temp); | ^~~~~~~~~~~~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:168:12: note: declared here 168 | void gdk_pixbuf_unref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~~~ absimg_gdkpixbuf.c: In function 'absimg_destroy': absimg_gdkpixbuf.c:134:6: warning: old-style function definition [-Wold-style-definition] 134 | void absimg_destroy(image) | ^~~~~~~~~~~~~~ absimg_gdkpixbuf.c:137:9: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 137 | gdk_pixbuf_unref(image->image); | ^~~~~~~~~~~~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:168:12: note: declared here 168 | void gdk_pixbuf_unref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~~~ absimg_gdkpixbuf.c: In function 'absimg_destroy_pixmap': absimg_gdkpixbuf.c:142:6: warning: old-style function definition [-Wold-style-definition] 142 | void absimg_destroy_pixmap(pixmap) | ^~~~~~~~~~~~~~~~~~~~~ absimg_gdkpixbuf.c: In function 'absimg_have_alpha': absimg_gdkpixbuf.c:148:5: warning: old-style function definition [-Wold-style-definition] 148 | int absimg_have_alpha(image) | ^~~~~~~~~~~~~~~~~ absimg_gdkpixbuf.c: In function 'absimg_render_alpha_to_pixmap': absimg_gdkpixbuf.c:154:6: warning: old-style function definition [-Wold-style-definition] 154 | void absimg_render_alpha_to_pixmap(pixmap, image, width, height) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ absimg_gdkpixbuf.c:176:17: warning: 'gdk_pixbuf_ref' is deprecated: Use 'g_object_ref' instead [-Wdeprecated-declarations] 176 | gdk_pixbuf_ref(image->image); | ^~~~~~~~~~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:166:12: note: declared here 166 | GdkPixbuf *gdk_pixbuf_ref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~ absimg_gdkpixbuf.c:190:9: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 190 | gdk_pixbuf_unref(temp); | ^~~~~~~~~~~~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:168:12: note: declared here 168 | void gdk_pixbuf_unref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~~~ absimg_gdkpixbuf.c: In function 'absimg_render_to_rgb': absimg_gdkpixbuf.c:193:6: warning: old-style function definition [-Wold-style-definition] 193 | void absimg_render_to_rgb(rgb, image, width, height, xpos, ypos) | ^~~~~~~~~~~~~~~~~~~~ absimg_gdkpixbuf.c:218:17: warning: 'gdk_pixbuf_ref' is deprecated: Use 'g_object_ref' instead [-Wdeprecated-declarations] 218 | gdk_pixbuf_ref(image->image); | ^~~~~~~~~~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:166:12: note: declared here 166 | GdkPixbuf *gdk_pixbuf_ref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~ absimg_gdkpixbuf.c:256:9: warning: 'gdk_pixbuf_unref' is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 256 | gdk_pixbuf_unref(temp); | ^~~~~~~~~~~~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:168:12: note: declared here 168 | void gdk_pixbuf_unref (GdkPixbuf *pixbuf); | ^~~~~~~~~~~~~~~~ absimg_gdkpixbuf.c: In function 'absimg_scale': absimg_gdkpixbuf.c:259:17: warning: old-style function definition [-Wold-style-definition] 259 | absimg_image_t *absimg_scale(img, width, height) | ^~~~~~~~~~~~ absimg_gdkpixbuf.c: In function 'absimg_from_pixmap': absimg_gdkpixbuf.c:280:17: warning: old-style function definition [-Wold-style-definition] 280 | absimg_image_t *absimg_from_pixmap(pixmap) | ^~~~~~~~~~~~~~~~~~ absimg_gdkpixbuf.c:287:37: warning: pointer targets in passing argument 2 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 287 | gdk_window_get_size(pixmap, &w, &h); | ^~ | | | guint * {aka unsigned int *} In file included from /usr/include/gtk-2.0/gdk/gdk.h:39: /usr/include/gtk-2.0/gdk/gdkdrawable.h:260:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 260 | gint *width, | ~~~~~~~~~~~~~~~~^~~~~ absimg_gdkpixbuf.c:287:41: warning: pointer targets in passing argument 3 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 287 | gdk_window_get_size(pixmap, &w, &h); | ^~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:261:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 261 | gint *height); | ~~~~~~~~~~~~~~~~^~~~~~ absimg_gdkpixbuf.c: In function 'absimg_to_rgba': absimg_gdkpixbuf.c:304:15: warning: old-style function definition [-Wold-style-definition] 304 | absimg_rgb_t *absimg_to_rgba(img) | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o gtkmultirowsel.o gtkmultirowsel.c 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/gtkbox.h:35, from gtkmultirow.h:25, from gtkmultirowsel.h:24, from gtkmultirowsel.c:20: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from gtkmultirowsel.h:23: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ gtkmultirowsel.c: In function 'gtk_multirowsel_scroll': gtkmultirowsel.c:250:13: warning: old-style function definition [-Wold-style-definition] 250 | static void gtk_multirowsel_scroll (mrs, event) | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o shaderpv.o shaderpv.c 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 shaderpv.c:13: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ shaderpv.c: In function 'rinfo_dup': shaderpv.c:47:18: warning: old-style function definition [-Wold-style-definition] 47 | randshader_info *rinfo_dup(rinfo) | ^~~~~~~~~ shaderpv.c:52:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 52 | rv = g_memdup(rinfo, sizeof(randshader_info)); | ^~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ shaderpv.c: In function 'rinfo_free': shaderpv.c:60:6: warning: old-style function definition [-Wold-style-definition] 60 | void rinfo_free(rinfo) | ^~~~~~~~~~ shaderpv.c: In function 'ShaderView': shaderpv.c:67:13: warning: old-style function definition [-Wold-style-definition] 67 | static void ShaderView(info) | ^~~~~~~~~~ shaderpv.c:87:56: warning: pointer targets in passing argument 2 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 87 | gdk_window_get_size(info->pv->window , &w, &h); | ^~ | | | guint * {aka unsigned int *} In file included from /usr/include/gtk-2.0/gdk/gdk.h:39: /usr/include/gtk-2.0/gdk/gdkdrawable.h:260:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 260 | gint *width, | ~~~~~~~~~~~~~~~~^~~~~ shaderpv.c:87:60: warning: pointer targets in passing argument 3 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 87 | gdk_window_get_size(info->pv->window , &w, &h); | ^~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:261:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 261 | gint *height); | ~~~~~~~~~~~~~~~~^~~~~~ shaderpv.c:78:28: warning: unused variable 'pixmap' [-Wunused-variable] 78 | GtkWidget *pixmap; | ^~~~~~ shaderpv.c: In function 'ShaderViewKEvents': shaderpv.c:117:13: warning: old-style function definition [-Wold-style-definition] 117 | static gint ShaderViewKEvents(widget , event, info) | ^~~~~~~~~~~~~~~~~ shaderpv.c: In function 'ShaderViewDlg': shaderpv.c:158:13: warning: old-style function definition [-Wold-style-definition] 158 | static void ShaderViewDlg(w, info) | ^~~~~~~~~~~~~ shaderpv.c:193:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 193 | g_memdup(rinfo, sizeof(randshader_info)), | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ shaderpv.c: In function 'ShaderSetWalp': shaderpv.c:203:13: warning: old-style function definition [-Wold-style-definition] 203 | static void ShaderSetWalp(w, info) | ^~~~~~~~~~~~~ shaderpv.c:228:51: warning: pointer targets in passing argument 2 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 228 | gdk_window_get_size(root_window , &w, &h); | ^~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:260:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 260 | gint *width, | ~~~~~~~~~~~~~~~~^~~~~ shaderpv.c:228:55: warning: pointer targets in passing argument 3 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 228 | gdk_window_get_size(root_window , &w, &h); | ^~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:261:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 261 | gint *height); | ~~~~~~~~~~~~~~~~^~~~~~ shaderpv.c: In function 'ShaderSaveOK': shaderpv.c:257:13: warning: old-style function definition [-Wold-style-definition] 257 | static void ShaderSaveOK(w, info) | ^~~~~~~~~~~~ shaderpv.c:272:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 272 | name = gtk_file_selection_get_filename(GTK_FILE_SELECTION(info->savefs)); | ^ shaderpv.c: In function 'ShaderSave': shaderpv.c:299:13: warning: old-style function definition [-Wold-style-definition] 299 | static void ShaderSave(w, info) | ^~~~~~~~~~ shaderpv.c:387:17: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 387 | g_memdup(rinfo, sizeof(randshader_info)), | ^~~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ shaderpv.c: In function 'ShaderOpen': shaderpv.c:395:13: warning: old-style function definition [-Wold-style-definition] 395 | static void ShaderOpen(w, info) | ^~~~~~~~~~ shaderpv.c:430:57: warning: pointer targets in passing argument 2 of 'gprop_get_int' differ in signedness [-Wpointer-sign] 430 | if (!gprop_get_int("shader_open_width", &w)) | ^~ | | | guint * {aka unsigned int *} In file included from shaderpv.c:18: gprop.h:32:34: note: expected 'int *' but argument is of type 'guint *' {aka 'unsigned int *'} 32 | extern int gprop_get_int(char *, int *); | ^~~~~ shaderpv.c:432:58: warning: pointer targets in passing argument 2 of 'gprop_get_int' differ in signedness [-Wpointer-sign] 432 | if (!gprop_get_int("shader_open_height", &h)) | ^~ | | | guint * {aka unsigned int *} gprop.h:32:34: note: expected 'int *' but argument is of type 'guint *' {aka 'unsigned int *'} 32 | extern int gprop_get_int(char *, int *); | ^~~~~ shaderpv.c: In function 'ShadersPreviewTabBEvent': shaderpv.c:478:12: warning: old-style function definition [-Wold-style-definition] 478 | static int ShadersPreviewTabBEvent(widget, event, info) | ^~~~~~~~~~~~~~~~~~~~~~~ shaderpv.c: In function 'ShadersPreviewBEvent': shaderpv.c:508:12: warning: old-style function definition [-Wold-style-definition] 508 | static int ShadersPreviewBEvent(widget, event, info) | ^~~~~~~~~~~~~~~~~~~~ shaderpv.c: In function 'ShadersPreviewGen': shaderpv.c:530:13: warning: old-style function definition [-Wold-style-definition] 530 | static void ShadersPreviewGen(w, info) | ^~~~~~~~~~~~~~~~~ shaderpv.c:534:20: warning: unused variable 'pixmap' [-Wunused-variable] 534 | GtkWidget *pixmap, *box; | ^~~~~~ shaderpv.c: In function 'ShadersWinClose': shaderpv.c:650:13: warning: old-style function definition [-Wold-style-definition] 650 | static void ShadersWinClose(w, info) | ^~~~~~~~~~~~~~~ shaderpv.c: In function 'ShaderMenuOpenBuild': shaderpv.c:660:13: warning: old-style function definition [-Wold-style-definition] 660 | static void ShaderMenuOpenBuild(smenu, info) | ^~~~~~~~~~~~~~~~~~~ shaderpv.c: In function 'ShaderNewPage': shaderpv.c:701:13: warning: old-style function definition [-Wold-style-definition] 701 | static void ShaderNewPage(w, info) | ^~~~~~~~~~~~~ shaderpv.c:705:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 705 | info->first_sh = (int)gtk_object_get_user_data(GTK_OBJECT(w)); | ^ shaderpv.c: In function 'ShaderPrevPage': shaderpv.c:709:13: warning: old-style function definition [-Wold-style-definition] 709 | static void ShaderPrevPage(w, info) | ^~~~~~~~~~~~~~ shaderpv.c: In function 'ShaderNextPage': shaderpv.c:720:13: warning: old-style function definition [-Wold-style-definition] 720 | static void ShaderNextPage(w, info) | ^~~~~~~~~~~~~~ shaderpv.c: In function 'ShadersPreview': shaderpv.c:732:6: warning: old-style function definition [-Wold-style-definition] 732 | void ShadersPreview(w, data) | ^~~~~~~~~~~~~~ shaderpv.c:735:1: error: number of arguments doesn't match prototype 735 | { | ^ In file included from shaderpv.c:16: config.h:253:13: error: prototype declaration 253 | extern void ShadersPreview(); | ^~~~~~~~~~~~~~ shaderpv.c:800:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 800 | gtk_object_set_user_data(GTK_OBJECT(mi), (gpointer)n); | ^ shaderpv.c: In function 'ShaderOpen': shaderpv.c:468:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 468 | system(pom); | ^~~~~~~~~~~ make[1]: *** [Makefile:472: shaderpv.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o thumb.o thumb.c 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 thumb.c:16: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ thumb.c: In function 'ThumbInfoInit': thumb.c:76:13: warning: old-style function definition [-Wold-style-definition] 76 | static void ThumbInfoInit(info) | ^~~~~~~~~~~~~ thumb.c: In function 'ThumbViewFullImg': thumb.c:116:13: warning: old-style function definition [-Wold-style-definition] 116 | static void ThumbViewFullImg(info, fname) | ^~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewFullSlide': thumb.c:142:12: warning: old-style function definition [-Wold-style-definition] 142 | static int ThumbViewFullSlide(info) | ^~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewFullEvents': thumb.c:161:13: warning: old-style function definition [-Wold-style-definition] 161 | static gint ThumbViewFullEvents(event, info) | ^~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewFull': thumb.c:284:13: warning: old-style function definition [-Wold-style-definition] 284 | static void ThumbViewFull(w, info, ppe) | ^~~~~~~~~~~~~ thumb.c: In function 'ThumbViewSetSize': thumb.c:310:13: warning: old-style function definition [-Wold-style-definition] 310 | static void ThumbViewSetSize(info, sadd) | ^~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewImg': thumb.c:395:13: warning: old-style function definition [-Wold-style-definition] 395 | static void ThumbViewImg(info, fname) | ^~~~~~~~~~~~ thumb.c: In function 'ThumbViewSlide': thumb.c:424:12: warning: old-style function definition [-Wold-style-definition] 424 | static int ThumbViewSlide(info) | ^~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_Close': thumb.c:444:13: warning: old-style function definition [-Wold-style-definition] 444 | static void ThumbViewME_Close(widget, info) | ^~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_ToggleSlide': thumb.c:451:13: warning: old-style function definition [-Wold-style-definition] 451 | static void ThumbViewME_ToggleSlide(widget, info) | ^~~~~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_SizePlus10': thumb.c:472:13: warning: old-style function definition [-Wold-style-definition] 472 | static void ThumbViewME_SizePlus10(widget, info) | ^~~~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_SizeMinus10': thumb.c:479:13: warning: old-style function definition [-Wold-style-definition] 479 | static void ThumbViewME_SizeMinus10(widget, info) | ^~~~~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_SizeHalf': thumb.c:486:13: warning: old-style function definition [-Wold-style-definition] 486 | static void ThumbViewME_SizeHalf(widget, info) | ^~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_SizeDouble': thumb.c:493:13: warning: old-style function definition [-Wold-style-definition] 493 | static void ThumbViewME_SizeDouble(widget, info) | ^~~~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_SizeOrig': thumb.c:500:13: warning: old-style function definition [-Wold-style-definition] 500 | static void ThumbViewME_SizeOrig(widget, info) | ^~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_FlipVert': thumb.c:509:13: warning: old-style function definition [-Wold-style-definition] 509 | static void ThumbViewME_FlipVert(widget, info) | ^~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_FlipHoriz': thumb.c:517:13: warning: old-style function definition [-Wold-style-definition] 517 | static void ThumbViewME_FlipHoriz(widget, info) | ^~~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_ImgNext': thumb.c:525:13: warning: old-style function definition [-Wold-style-definition] 525 | static void ThumbViewME_ImgNext(widget, info) | ^~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_ImgPrev': thumb.c:557:13: warning: old-style function definition [-Wold-style-definition] 557 | static void ThumbViewME_ImgPrev(widget, info) | ^~~~~~~~~~~~~~~~~~~ thumb.c: In function '_ThumbOpen': thumb.c:589:13: warning: old-style function definition [-Wold-style-definition] 589 | static void _ThumbOpen(cmd, fn) | ^~~~~~~~~~ thumb.c: In function 'ThumbOpen': thumb.c:608:13: warning: old-style function definition [-Wold-style-definition] 608 | static void ThumbOpen(cmd, fn) | ^~~~~~~~~ thumb.c: In function 'ThumbOpenMulti': thumb.c:621:13: warning: old-style function definition [-Wold-style-definition] 621 | static void ThumbOpenMulti(cmd, list) | ^~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_Open': thumb.c:646:13: warning: old-style function definition [-Wold-style-definition] 646 | static void ThumbViewME_Open(widget, info) | ^~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewSetWalp': thumb.c:659:13: warning: old-style function definition [-Wold-style-definition] 659 | static void ThumbViewSetWalp(info, pe, image, type) | ^~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME_SetWalp': thumb.c:686:13: warning: old-style function definition [-Wold-style-definition] 686 | static void ThumbViewME_SetWalp(w, info) | ^~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewScroll': thumb.c:701:13: warning: old-style function definition [-Wold-style-definition] 701 | static void ThumbViewScroll(info, x, y) | ^~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewEvents': thumb.c:747:13: warning: old-style function definition [-Wold-style-definition] 747 | static gint ThumbViewEvents(widget , event, info) | ^~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewDestroy': thumb.c:877:13: warning: old-style function definition [-Wold-style-definition] 877 | static void ThumbViewDestroy(w, info) | ^~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewMenuOpenBuild': thumb.c:897:13: warning: old-style function definition [-Wold-style-definition] 897 | static void ThumbViewMenuOpenBuild(smenu, info) | ^~~~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewMenu': thumb.c:938:13: warning: old-style function definition [-Wold-style-definition] 938 | static void ThumbViewMenu(info) | ^~~~~~~~~~~~~ thumb.c: In function 'ThumbView': thumb.c:1143:13: warning: old-style function definition [-Wold-style-definition] 1143 | static void ThumbView(w, info, ppe) | ^~~~~~~~~ thumb.c:1178:51: warning: pointer targets in passing argument 2 of 'gprop_get_int' differ in signedness [-Wpointer-sign] 1178 | gprop_get_int("view_window_type", &info->view_type); | ^~~~~~~~~~~~~~~~ | | | guint * {aka unsigned int *} In file included from thumb.c:21: gprop.h:32:34: note: expected 'int *' but argument is of type 'guint *' {aka 'unsigned int *'} 32 | extern int gprop_get_int(char *, int *); | ^~~~~ thumb.c:1179:49: warning: pointer targets in passing argument 2 of 'gprop_get_int' differ in signedness [-Wpointer-sign] 1179 | gprop_get_int("view_drag_type", &info->drag_type); | ^~~~~~~~~~~~~~~~ | | | guint * {aka unsigned int *} gprop.h:32:34: note: expected 'int *' but argument is of type 'guint *' {aka 'unsigned int *'} 32 | extern int gprop_get_int(char *, int *); | ^~~~~ thumb.c: In function 'ThumbTabBEvents': thumb.c:1211:13: warning: old-style function definition [-Wold-style-definition] 1211 | static gint ThumbTabBEvents(widget, event, info) | ^~~~~~~~~~~~~~~ thumb.c: In function 'ThumbBEvents': thumb.c:1247:13: warning: old-style function definition [-Wold-style-definition] 1247 | static gint ThumbBEvents(widget, event, info) | ^~~~~~~~~~~~ thumb.c: In function 'ThumbsDo': thumb.c:1272:13: warning: old-style function definition [-Wold-style-definition] 1272 | static void ThumbsDo(w, info) | ^~~~~~~~ thumb.c:1373:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1373 | "pic_width", (gpointer)img->rgb_width); | ^ thumb.c:1375:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1375 | "pic_height", (gpointer)img->rgb_height); | ^ thumb.c: In function 'ThumbsListFree': thumb.c:1423:13: warning: old-style function definition [-Wold-style-definition] 1423 | static void ThumbsListFree(info) | ^~~~~~~~~~~~~~ thumb.c: In function 'ThumbsListInit': thumb.c:1452:13: warning: old-style function definition [-Wold-style-definition] 1452 | static void ThumbsListInit(info) | ^~~~~~~~~~~~~~ thumb.c: In function 'ThumbsDoRefresh': thumb.c:1482:13: warning: old-style function definition [-Wold-style-definition] 1482 | static void ThumbsDoRefresh(w, info) | ^~~~~~~~~~~~~~~ thumb.c: In function 'ThumbWinClose': thumb.c:1505:13: warning: old-style function definition [-Wold-style-definition] 1505 | static void ThumbWinClose(w, info) | ^~~~~~~~~~~~~ thumb.c: In function 'ThumbViewME': thumb.c:1524:13: warning: old-style function definition [-Wold-style-definition] 1524 | static void ThumbViewME(w, info) | ^~~~~~~~~~~ thumb.c: In function 'ThumbViewFullME': thumb.c:1534:13: warning: old-style function definition [-Wold-style-definition] 1534 | static void ThumbViewFullME(w, info) | ^~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewWalpME': thumb.c:1545:13: warning: old-style function definition [-Wold-style-definition] 1545 | static void ThumbViewWalpME(w, info) | ^~~~~~~~~~~~~~~ thumb.c: In function 'ThumbME_Open': thumb.c:1567:13: warning: old-style function definition [-Wold-style-definition] 1567 | static void ThumbME_Open(widget, info) | ^~~~~~~~~~~~ thumb.c: In function 'ThumbNoRemovePic': thumb.c:1591:13: warning: old-style function definition [-Wold-style-definition] 1591 | static void ThumbNoRemovePic(widget, info) | ^~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbRemovePic': thumb.c:1603:13: warning: old-style function definition [-Wold-style-definition] 1603 | static void ThumbRemovePic(widget, info) | ^~~~~~~~~~~~~~ thumb.c: In function 'ThumbME_Remove': thumb.c:1656:13: warning: old-style function definition [-Wold-style-definition] 1656 | static void ThumbME_Remove(widget, info) | ^~~~~~~~~~~~~~ thumb.c:1666:47: warning: pointer targets in passing argument 2 of 'gprop_get_bool' differ in signedness [-Wpointer-sign] 1666 | if (!gprop_get_bool("confirm_remove", &confirmrm)) | ^~~~~~~~~~ | | | guint * {aka unsigned int *} gprop.h:33:35: note: expected 'int *' but argument is of type 'guint *' {aka 'unsigned int *'} 33 | extern int gprop_get_bool(char *, int *); | ^~~~~ thumb.c: In function 'ThumbRenameSetNext': thumb.c:1752:13: warning: old-style function definition [-Wold-style-definition] 1752 | static void ThumbRenameSetNext(widget, info) | ^~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbRename': thumb.c:1811:13: warning: old-style function definition [-Wold-style-definition] 1811 | static void ThumbRename(widget, info) | ^~~~~~~~~~~ thumb.c:1831:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1831 | p = gtk_entry_get_text(GTK_ENTRY(new)); | ^ thumb.c:1832:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1832 | p1 = gtk_entry_get_text(GTK_ENTRY(orig)); | ^ thumb.c:1852:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1852 | w = (int) gtk_object_get_data(GTK_OBJECT(sw), "pic_width"); | ^ thumb.c:1853:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1853 | h = (int) gtk_object_get_data(GTK_OBJECT(sw), "pic_height"); | ^ thumb.c:1854:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1854 | size = (int) gtk_object_get_data(GTK_OBJECT(sw), "pic_size"); | ^ thumb.c: In function 'ThumbME_Rename': thumb.c:1896:13: warning: old-style function definition [-Wold-style-definition] 1896 | static void ThumbME_Rename(widget, info) | ^~~~~~~~~~~~~~ thumb.c: In function 'ThumbME_Unselect': thumb.c:1995:13: warning: old-style function definition [-Wold-style-definition] 1995 | static void ThumbME_Unselect(widget, info) | ^~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbME_SelectAll': thumb.c:2002:13: warning: old-style function definition [-Wold-style-definition] 2002 | static void ThumbME_SelectAll(widget, info) | ^~~~~~~~~~~~~~~~~ thumb.c: In function 'Thumb_get_selected_images': thumb.c:2009:16: warning: old-style function definition [-Wold-style-definition] 2009 | static GSList *Thumb_get_selected_images(info) | ^~~~~~~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'Thumb_ext_scale_image_dlg': thumb.c:2027:13: warning: old-style function definition [-Wold-style-definition] 2027 | static void Thumb_ext_scale_image_dlg(w, info) | ^~~~~~~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'Thumb_ext_convert_image_dlg': thumb.c:2041:13: warning: old-style function definition [-Wold-style-definition] 2041 | static void Thumb_ext_convert_image_dlg(w, info) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbMenuOpenBuild': thumb.c:2055:13: warning: old-style function definition [-Wold-style-definition] 2055 | static void ThumbMenuOpenBuild(smenu, info) | ^~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbMenu': thumb.c:2096:13: warning: old-style function definition [-Wold-style-definition] 2096 | static void ThumbMenu(info) | ^~~~~~~~~ thumb.c: In function 'ThumbPreview': thumb.c:2290:6: warning: old-style function definition [-Wold-style-definition] 2290 | void ThumbPreview(w, data) | ^~~~~~~~~~~~ thumb.c:2293:1: error: number of arguments doesn't match prototype 2293 | { | ^ In file included from thumb.c:18: config.h:246:13: error: prototype declaration 246 | extern void ThumbPreview(); | ^~~~~~~~~~~~ thumb.c: In function 'ThumbsDoPage': thumb.c:2370:13: warning: old-style function definition [-Wold-style-definition] 2370 | static void ThumbsDoPage(info) | ^~~~~~~~~~~~ thumb.c: In function 'ThumbsDoNextPage': thumb.c:2416:13: warning: old-style function definition [-Wold-style-definition] 2416 | static void ThumbsDoNextPage(w, info) | ^~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbsDoPrevPage': thumb.c:2424:13: warning: old-style function definition [-Wold-style-definition] 2424 | static void ThumbsDoPrevPage(w, info) | ^~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbsDoSetPage': thumb.c:2433:13: warning: old-style function definition [-Wold-style-definition] 2433 | static void ThumbsDoSetPage(w, info) | ^~~~~~~~~~~~~~~ thumb.c:2437:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2437 | info->curr = (int) gtk_object_get_user_data(GTK_OBJECT(w)); | ^ thumb.c: In function 'ThumbsDoFirstPage': thumb.c:2442:13: warning: old-style function definition [-Wold-style-definition] 2442 | static void ThumbsDoFirstPage(w, info) | ^~~~~~~~~~~~~~~~~ thumb.c:2471:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2471 | gtk_object_set_user_data(GTK_OBJECT(mi), (gpointer)i); | ^ thumb.c: In function 'ThumbPreviewPerPage': thumb.c:2484:6: warning: old-style function definition [-Wold-style-definition] 2484 | void ThumbPreviewPerPage(w, data) | ^~~~~~~~~~~~~~~~~~~ thumb.c:2487:1: error: number of arguments doesn't match prototype 2487 | { | ^ config.h:247:13: error: prototype declaration 247 | extern void ThumbPreviewPerPage(); | ^~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbsDoDir': thumb.c:2585:13: warning: old-style function definition [-Wold-style-definition] 2585 | static void ThumbsDoDir(info, dir) | ^~~~~~~~~~~ thumb.c: In function 'ThumbsDoSetDir': thumb.c:2626:13: warning: old-style function definition [-Wold-style-definition] 2626 | static void ThumbsDoSetDir(w, info) | ^~~~~~~~~~~~~~ thumb.c: In function 'ThumbsDoFirstDir': thumb.c:2635:13: warning: old-style function definition [-Wold-style-definition] 2635 | static void ThumbsDoFirstDir(w, info) | ^~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbPreviewPerDir': thumb.c:2690:6: warning: old-style function definition [-Wold-style-definition] 2690 | void ThumbPreviewPerDir(w, data) | ^~~~~~~~~~~~~~~~~~ thumb.c:2693:1: error: number of arguments doesn't match prototype 2693 | { | ^ config.h:248:13: error: prototype declaration 248 | extern void ThumbPreviewPerDir(); | ^~~~~~~~~~~~~~~~~~ thumb.c: In function 'picture_find_by_name': thumb.c:2771:12: warning: old-style function definition [-Wold-style-definition] 2771 | static int picture_find_by_name(pe, name) | ^~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewSA': thumb.c:2778:6: warning: old-style function definition [-Wold-style-definition] 2778 | void ThumbViewSA(filename) | ^~~~~~~~~~~ thumb.c: In function 'ThumbViewFullSA': thumb.c:2803:6: warning: old-style function definition [-Wold-style-definition] 2803 | void ThumbViewFullSA(filename) | ^~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewSinglePictureListInit': thumb.c:2828:13: warning: old-style function definition [-Wold-style-definition] 2828 | static void ThumbViewSinglePictureListInit(info, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ thumb.c: In function 'ThumbViewPictureList': thumb.c:2850:6: warning: old-style function definition [-Wold-style-definition] 2850 | void ThumbViewPictureList(filename, list) | ^~~~~~~~~~~~~~~~~~~~ thumb.c: In function '_ThumbOpen': thumb.c:603:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 603 | system(c); | ^~~~~~~~~ make[1]: *** [Makefile:472: thumb.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o gaccel.o gaccel.c 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 gaccel.c:9: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gaccel.c: In function 'gaccel_new': gaccel.c:19:10: warning: old-style function definition [-Wold-style-definition] 19 | gaccel *gaccel_new(name, sigid) | ^~~~~~~~~~ gaccel.c: In function 'gaccel_parse_str': gaccel.c:37:10: warning: old-style function definition [-Wold-style-definition] 37 | gaccel *gaccel_parse_str(str) | ^~~~~~~~~~~~~~~~ gaccel.c: In function 'gaccel_to_str': gaccel.c:79:9: warning: old-style function definition [-Wold-style-definition] 79 | guchar *gaccel_to_str(gaccelp) | ^~~~~~~~~~~~~ gaccel.c: In function 'gaccel_widget_destroy': gaccel.c:95:13: warning: old-style function definition [-Wold-style-definition] 95 | static void gaccel_widget_destroy(widget, gaccelp) | ^~~~~~~~~~~~~~~~~~~~~ gaccel.c: In function 'gaccel_widget_add_accel': gaccel.c:102:13: warning: old-style function definition [-Wold-style-definition] 102 | static void gaccel_widget_add_accel(widget, sigid, agroup, akey, amod, aflag, gaccelp) | ^~~~~~~~~~~~~~~~~~~~~~~ gaccel.c: In function 'gaccel_widget_remove_accel': gaccel.c:119:13: warning: old-style function definition [-Wold-style-definition] 119 | static void gaccel_widget_remove_accel(widget, agroup, akey, amod, gaccelp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gaccel.c: In function 'gaccel_bind_widget': gaccel.c:135:6: warning: old-style function definition [-Wold-style-definition] 135 | void gaccel_bind_widget(name, sigid , widget, accel_group, parent) | ^~~~~~~~~~~~~~~~~~ gaccel.c: In function 'gaccel_find_by_name': gaccel.c:190:9: warning: old-style function definition [-Wold-style-definition] 190 | gaccel *gaccel_find_by_name(name) | ^~~~~~~~~~~~~~~~~~~ gaccel.c: In function 'gaccel_add': gaccel.c:205:6: warning: old-style function definition [-Wold-style-definition] 205 | void gaccel_add(gaccelp) | ^~~~~~~~~~ gaccel.c: In function 'gaccel_window_activate': gaccel.c:211:6: warning: old-style function definition [-Wold-style-definition] 211 | void gaccel_window_activate(accelp , widget) | ^~~~~~~~~~~~~~~~~~~~~~ gaccel.c: In function 'gaccel_save_keys': gaccel.c:218:6: warning: old-style function definition [-Wold-style-definition] 218 | void gaccel_save_keys(f) | ^~~~~~~~~~~~~~~~ gaccel.c: At top level: gaccel.c:119:13: warning: 'gaccel_widget_remove_accel' defined but not used [-Wunused-function] 119 | static void gaccel_widget_remove_accel(widget, agroup, akey, amod, gaccelp) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gaccel.c:102:13: warning: 'gaccel_widget_add_accel' defined but not used [-Wunused-function] 102 | static void gaccel_widget_add_accel(widget, sigid, agroup, akey, amod, aflag, gaccelp) | ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o setup.o setup.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from config.h:14, from setup.c:9: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from config.h:13: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from config.h:15: /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:34, from /usr/include/glib-2.0/glib.h:32, from config.h:12: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ setup.c: In function 'set_title': setup.c:208:33: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 208 | g_basename(cfg.scenario)); | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:50: /usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here 207 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ setup.c:209:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 209 | else | ^~~~ setup.c:212:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 212 | toplevel_window = gtk_window_new(GTK_WINDOW_TOPLEVEL); | ^~~~~~~~~~~~~~~ setup.c: In function 'get_banner_propcfg': setup.c:216:13: warning: old-style function definition [-Wold-style-definition] 216 | static void get_banner_propcfg(prop, propinfo) | ^~~~~~~~~~~~~~~~~~ setup.c:232:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 232 | (gint)gtk_object_get_user_data(GTK_OBJECT( | ^ setup.c: In function 'get_propcfg': setup.c:236:13: warning: old-style function definition [-Wold-style-definition] 236 | static void get_propcfg(prop, propinfo) | ^~~~~~~~~~~ setup.c:270:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 270 | (guint)(GTK_CLIST(propinfo->efect)->selection)) | ^ setup.c:269:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 269 | (guint) gtk_clist_get_row_data(GTK_CLIST(propinfo->efect), | ^ setup.c:274:97: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 274 | (guint) gtk_clist_get_row_data(GTK_CLIST(propinfo->shader), (guint)(GTK_CLIST(propinfo->shader)->selection)) | ^ setup.c:274:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 274 | (guint) gtk_clist_get_row_data(GTK_CLIST(propinfo->shader), (guint)(GTK_CLIST(propinfo->shader)->selection)) | ^ setup.c:281:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 281 | (guint)(GTK_CLIST(propinfo->grad)->selection->data) : 0; | ^ setup.c:284:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 284 | ((gint)gtk_object_get_user_data(GTK_OBJECT( | ^ setup.c:293:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 293 | ((gint)gtk_object_get_user_data(GTK_OBJECT( | ^ setup.c:308:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 308 | row = (guint) | ^ setup.c:332:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 332 | p = gtk_entry_get_text( | ^ setup.c:357:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 357 | row = (guint) | ^ setup.c:392:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 392 | p = gtk_entry_get_text( | ^ setup.c: In function 'get_cfg': setup.c:433:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 433 | (gint) gtk_object_get_user_data( | ^ setup.c:467:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 467 | p = gtk_entry_get_text(GTK_ENTRY(outfile)); | ^ setup.c:483:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 483 | p = gtk_entry_get_text(GTK_ENTRY(patternw)); | ^ setup.c: In function 'find_clist_row': setup.c:518:12: warning: old-style function definition [-Wold-style-definition] 518 | static int find_clist_row(clist, text) | ^~~~~~~~~~~~~~ setup.c: In function 'set_banner_propcfg': setup.c:538:13: warning: old-style function definition [-Wold-style-definition] 538 | static void set_banner_propcfg(prop, propinfo) | ^~~~~~~~~~~~~~~~~~ setup.c: In function 'set_propcfg': setup.c:566:13: warning: old-style function definition [-Wold-style-definition] 566 | static void set_propcfg(prop, propinfo) | ^~~~~~~~~~~ setup.c: In function 'set_cfg': setup.c:811:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 811 | !g_slist_find(cfg.d_effects, (gpointer) i)); | ^ setup.c:819:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 819 | !g_slist_find(cfg.d_shaders, (gpointer) i)); | ^ setup.c: In function 'lastscn_add': setup.c:889:13: warning: old-style function definition [-Wold-style-definition] 889 | static void lastscn_add(scn) | ^~~~~~~~~~~ setup.c: In function 'lastscn_load': setup.c:904:13: warning: old-style function definition [-Wold-style-definition] 904 | static void lastscn_load(w, fn) | ^~~~~~~~~~~~ setup.c: In function 'lastscn_update_menu': setup.c:954:25: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 954 | g_basename((char *)sptr->data)); | ^~~~~~~~~~ /usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here 207 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ setup.c: In function 'set_dir': setup.c:969:13: warning: old-style function definition [-Wold-style-definition] 969 | static void set_dir(object, func_data) | ^~~~~~~ setup.c: In function 'SelectAll': setup.c:980:13: warning: old-style function definition [-Wold-style-definition] 980 | static void SelectAll(object, func_data) | ^~~~~~~~~ setup.c: In function 'Quit': setup.c:988:13: warning: old-style function definition [-Wold-style-definition] 988 | static void Quit(object, func_data) | ^~~~ setup.c: In function 'QuitReal': setup.c:999:13: warning: old-style function definition [-Wold-style-definition] 999 | static void QuitReal(object, func_data) | ^~~~~~~~ setup.c: In function 'KillWin': setup.c:1009:6: warning: old-style function definition [-Wold-style-definition] 1009 | void KillWin(object, func_data) | ^~~~~~~ setup.c:1012:1: error: number of arguments doesn't match prototype 1012 | { | ^ config.h:258:13: error: prototype declaration 258 | extern void KillWin(); | ^~~~~~~ setup.c: In function 'KillAll': setup.c:1016:6: warning: old-style function definition [-Wold-style-definition] 1016 | void KillAll(object, func_data) | ^~~~~~~ setup.c:1019:1: error: number of arguments doesn't match prototype 1019 | { | ^ config.h:257:13: error: prototype declaration 257 | extern void KillAll(); | ^~~~~~~ setup.c: In function 'SwitchMode': setup.c:1025:13: warning: old-style function definition [-Wold-style-definition] 1025 | static void SwitchMode(object, propinfo) | ^~~~~~~~~~ setup.c: In function 'LoadIt': setup.c:1038:13: warning: old-style function definition [-Wold-style-definition] 1038 | static void LoadIt(object, func_data) | ^~~~~~ setup.c:1042:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1042 | char *fn = gtk_file_selection_get_filename(GTK_FILE_SELECTION(func_data)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setup.c: In function 'LoadScn': setup.c:1081:13: warning: old-style function definition [-Wold-style-definition] 1081 | static void LoadScn(object, func_data) | ^~~~~~~ setup.c: In function 'SaveIt': setup.c:1124:13: warning: old-style function definition [-Wold-style-definition] 1124 | static void SaveIt(object, func_data) | ^~~~~~ setup.c:1128:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1128 | char *fn = gtk_file_selection_get_filename(GTK_FILE_SELECTION(func_data)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setup.c: In function 'SaveScn': setup.c:1151:13: warning: old-style function definition [-Wold-style-definition] 1151 | static void SaveScn(object, func_data) | ^~~~~~~ setup.c: In function 'Run': setup.c:1191:13: warning: old-style function definition [-Wold-style-definition] 1191 | static void Run(object, func_data) | ^~~ setup.c: In function 'RunTerm': setup.c:1222:13: warning: old-style function definition [-Wold-style-definition] 1222 | static void RunTerm(object, func_data) | ^~~~~~~ setup.c: In function 'ApplyChanges': setup.c:1243:13: warning: old-style function definition [-Wold-style-definition] 1243 | static void ApplyChanges(object, func_data) | ^~~~~~~~~~~~ setup.c: In function 'ResetConfig': setup.c:1256:13: warning: old-style function definition [-Wold-style-definition] 1256 | static void ResetConfig(object, func_data) | ^~~~~~~~~~~ setup.c: In function 'Stop': setup.c:1267:13: warning: old-style function definition [-Wold-style-definition] 1267 | static void Stop(object, func_data) | ^~~~ setup.c: In function 'About': setup.c:1277:13: warning: old-style function definition [-Wold-style-definition] 1277 | static void About(object, func_data) | ^~~~~ setup.c: In function 'listed': setup.c:1344:14: warning: old-style function definition [-Wold-style-definition] 1344 | static guint listed(clist, str) | ^~~~~~ setup.c: In function 'AppendIt': setup.c:1364:13: warning: old-style function definition [-Wold-style-definition] 1364 | static void AppendIt(object, func_data) | ^~~~~~~~ setup.c: In function 'AppendDlg': setup.c:1401:13: warning: old-style function definition [-Wold-style-definition] 1401 | static void AppendDlg(object, func_data) | ^~~~~~~~~ setup.c: In function 'PreviewDlg': setup.c:1439:13: warning: old-style function definition [-Wold-style-definition] 1439 | static void PreviewDlg(object, func_data) | ^~~~~~~~~~ setup.c: In function 'PreviewFullDlg': setup.c:1455:13: warning: old-style function definition [-Wold-style-definition] 1455 | static void PreviewFullDlg(object, func_data) | ^~~~~~~~~~~~~~ setup.c: In function 'ResetProp': setup.c:1476:13: warning: old-style function definition [-Wold-style-definition] 1476 | static void ResetProp(object, func_data) | ^~~~~~~~~ setup.c: In function 'SelCh': setup.c:1483:13: warning: old-style function definition [-Wold-style-definition] 1483 | static void SelCh(object, func_data) | ^~~~~ setup.c: In function 'KillProp': setup.c:1509:13: warning: old-style function definition [-Wold-style-definition] 1509 | static void KillProp(object, func_data) | ^~~~~~~~ setup.c: In function 'ClearProp': setup.c:1518:13: warning: old-style function definition [-Wold-style-definition] 1518 | static void ClearProp(object, func_data) | ^~~~~~~~~ setup.c: In function 'SetProp': setup.c:1541:13: warning: old-style function definition [-Wold-style-definition] 1541 | static void SetProp(row, type) | ^~~~~~~ setup.c: In function 'ApplyAllProp': setup.c:1566:13: warning: old-style function definition [-Wold-style-definition] 1566 | static void ApplyAllProp(object, func_data) | ^~~~~~~~~~~~ setup.c:1574:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1574 | SetProp((int)ptr->data, ((prop_t *)func_data)->type); | ^ setup.c: In function 'ApplyProp': setup.c:1582:13: warning: old-style function definition [-Wold-style-definition] 1582 | static void ApplyProp(object, func_data) | ^~~~~~~~~ setup.c: In function 'PropDlg': setup.c:1595:13: warning: old-style function definition [-Wold-style-definition] 1595 | static void PropDlg(object, func_data) | ^~~~~~~ setup.c:1668:9: error: too many arguments to function 'build_propt'; expected 0, have 1 1668 | build_propt(&pic_propinfo); | ^~~~~~~~~~~ ~~~~~~~~~~~~~ setup.c:185:13: note: declared here 185 | static void build_propt(); | ^~~~~~~~~~~ setup.c: In function 'ToggleTooltips': setup.c:1719:13: warning: old-style function definition [-Wold-style-definition] 1719 | static void ToggleTooltips(w, data) | ^~~~~~~~~~~~~~ setup.c: In function 'ToolLaunch': setup.c:1729:13: warning: old-style function definition [-Wold-style-definition] 1729 | static void ToolLaunch(w, data) | ^~~~~~~~~~ setup.c: In function 'build_menu': setup.c:1740:13: warning: old-style function definition [-Wold-style-definition] 1740 | static void build_menu(parent) | ^~~~~~~~~~ setup.c: In function 'Delete': setup.c:1976:13: warning: old-style function definition [-Wold-style-definition] 1976 | static void Delete(object, func_data) | ^~~~~~ setup.c: In function 'UnSelect': setup.c:1992:13: warning: old-style function definition [-Wold-style-definition] 1992 | static void UnSelect(object, func_data) | ^~~~~~~~ setup.c: In function 'PopupMenu': setup.c:1999:13: warning: old-style function definition [-Wold-style-definition] 1999 | static gint PopupMenu(widget, event, menu) | ^~~~~~~~~ setup.c: In function 'window_drop_str': setup.c:2023:13: warning: old-style function definition [-Wold-style-definition] 2023 | static void window_drop_str(widget, context, x, y, seldata, info, time, data) | ^~~~~~~~~~~~~~~ setup.c: In function 'ToggleBool': setup.c:2059:13: warning: old-style function definition [-Wold-style-definition] 2059 | static void ToggleBool(w, fdata) | ^~~~~~~~~~ setup.c: In function 'build_picture_list': setup.c:2067:13: warning: old-style function definition [-Wold-style-definition] 2067 | static void build_picture_list(notebook) | ^~~~~~~~~~~~~~~~~~ setup.c:2072:29: warning: unused variable 'cell' [-Wunused-variable] 2072 | GtkWidget *column, *cell; | ^~~~ setup.c:2072:20: warning: unused variable 'column' [-Wunused-variable] 2072 | GtkWidget *column, *cell; | ^~~~~~ setup.c: In function 'toolbar_button': setup.c:2278:20: warning: old-style function definition [-Wold-style-definition] 2278 | static GtkWidget * toolbar_button(parent, label, help, pmap_data, cb, cb_data) | ^~~~~~~~~~~~~~ setup.c: In function 'build_toolbar': setup.c:2304:13: warning: old-style function definition [-Wold-style-definition] 2304 | static void build_toolbar(col) | ^~~~~~~~~~~~~ setup.c:2307:32: warning: variable 'button' set but not used [-Wunused-but-set-variable] 2307 | GtkWidget *tb, *hbox, *button; | ^~~~~~ setup.c: In function 'set_color_label': setup.c:2360:13: warning: old-style function definition [-Wold-style-definition] 2360 | static void set_color_label(w, color, fdata) | ^~~~~~~~~~~~~~~ setup.c:2365:46: error: too many arguments to function 'cfg_get_color_str'; expected 0, have 2 2365 | gtk_label_set_text(GTK_LABEL(fdata), cfg_get_color_str(color, NULL)); | ^~~~~~~~~~~~~~~~~ ~~~~~ setup.c:190:14: note: declared here 190 | extern char *cfg_get_color_str(); | ^~~~~~~~~~~~~~~~~ setup.c: In function 'ClrSetSensitive': setup.c:2368:13: warning: old-style function definition [-Wold-style-definition] 2368 | static void ClrSetSensitive(w, row, col, event, propinfo) | ^~~~~~~~~~~~~~~ setup.c: In function 'AppendTiles': setup.c:2412:13: warning: old-style function definition [-Wold-style-definition] 2412 | static void AppendTiles(object, func_data) | ^~~~~~~~~~~ setup.c: In function 'AppendTileDlg': setup.c:2450:13: warning: old-style function definition [-Wold-style-definition] 2450 | static void AppendTileDlg(object, func_data) | ^~~~~~~~~~~~~ setup.c: In function 'ClearTiles': setup.c:2489:13: warning: old-style function definition [-Wold-style-definition] 2489 | static void ClearTiles(object, func_data) | ^~~~~~~~~~ setup.c: In function 'DeleteTile': setup.c:2503:13: warning: old-style function definition [-Wold-style-definition] 2503 | static void DeleteTile(object, func_data) | ^~~~~~~~~~ setup.c:2509:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2509 | int row = (guint) | ^ setup.c: In function 'AppendBanners': setup.c:2554:13: warning: old-style function definition [-Wold-style-definition] 2554 | static void AppendBanners(object, func_data) | ^~~~~~~~~~~~~ setup.c: In function 'AppendBannersDlg': setup.c:2593:13: warning: old-style function definition [-Wold-style-definition] 2593 | static void AppendBannersDlg(object, func_data) | ^~~~~~~~~~~~~~~~ setup.c: In function 'ClearBanners': setup.c:2632:13: warning: old-style function definition [-Wold-style-definition] 2632 | static void ClearBanners(object, func_data) | ^~~~~~~~~~~~ setup.c: In function 'DeleteBanner': setup.c:2646:13: warning: old-style function definition [-Wold-style-definition] 2646 | static void DeleteBanner(object, func_data) | ^~~~~~~~~~~~ setup.c:2652:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2652 | int row = (guint) | ^ setup.c: In function 'build_banner_props': setup.c:2670:13: warning: old-style function definition [-Wold-style-definition] 2670 | static void build_banner_props(box, propinfo) | ^~~~~~~~~~~~~~~~~~ setup.c:2746:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2746 | gtk_object_set_user_data(GTK_OBJECT(mi), (gpointer)i); | ^ setup.c: In function 'ApplyBannerProp': setup.c:2760:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2760 | row = (int)GTK_CLIST(main_propinfo.banners)->selection->data; | ^ setup.c: In function 'ClearBannerProp': setup.c:2789:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2789 | row = (int)GTK_CLIST(main_propinfo.banners)->selection->data; | ^ setup.c: In function 'SelBanner': setup.c:2806:13: warning: old-style function definition [-Wold-style-definition] 2806 | static void SelBanner(w, row, col) | ^~~~~~~~~ setup.c: In function 'BannerView': setup.c:2896:13: warning: old-style function definition [-Wold-style-definition] 2896 | static void BannerView(w, list) | ^~~~~~~~~~ setup.c:2903:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2903 | row = (int)(GTK_CLIST(list)->selection->data); | ^ setup.c: In function 'build_propt': setup.c:2916:13: warning: old-style function definition [-Wold-style-definition] 2916 | static void build_propt(propinfo) | ^~~~~~~~~~~ setup.c:3111:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3111 | row, (gpointer)i); | ^ setup.c:3151:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3151 | row, (gpointer)i); | ^ setup.c: In function 'choose_window': setup.c:3547:13: warning: old-style function definition [-Wold-style-definition] 3547 | static void choose_window(w, entry) | ^~~~~~~~~~~~~ setup.c: In function 'build_mode': setup.c:3559:13: warning: old-style function definition [-Wold-style-definition] 3559 | static void build_mode(notebook) | ^~~~~~~~~~ setup.c: In function 'build_setup': setup.c:3721:13: warning: old-style function definition [-Wold-style-definition] 3721 | static void build_setup(notebook) | ^~~~~~~~~~~ setup.c:3813:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3813 | (gpointer)speed_table[i].speed); | ^ setup.c: In function 'ListSet': setup.c:3839:13: warning: old-style function definition [-Wold-style-definition] 3839 | static void ListSet(w, v) | ^~~~~~~ setup.c: In function 'ListSelAll': setup.c:3853:13: warning: old-style function definition [-Wold-style-definition] 3853 | static void ListSelAll(w, list) | ^~~~~~~~~~ setup.c: In function 'ListUnselAll': setup.c:3860:13: warning: old-style function definition [-Wold-style-definition] 3860 | static void ListUnselAll(w, list) | ^~~~~~~~~~~~ setup.c: In function 'build_effects': setup.c:3867:6: warning: old-style function definition [-Wold-style-definition] 3867 | void build_effects(notebook) | ^~~~~~~~~~~~~ setup.c:3916:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3916 | gtk_object_set_user_data(GTK_OBJECT(li), (gpointer)i); | ^ setup.c:3970:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3970 | gtk_object_set_user_data(GTK_OBJECT(li), (gpointer)i); | ^ setup.c: In function 'build_prop': setup.c:3984:13: warning: old-style function definition [-Wold-style-definition] 3984 | static void build_prop(notebook) | ^~~~~~~~~~ setup.c:3992:9: error: too many arguments to function 'build_propt'; expected 0, have 1 3992 | build_propt(&main_propinfo); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~ setup.c:2916:13: note: declared here 2916 | static void build_propt(propinfo) | ^~~~~~~~~~~ setup.c: In function 'build_statusbar': setup.c:3995:13: warning: old-style function definition [-Wold-style-definition] 3995 | static void build_statusbar(notebook) | ^~~~~~~~~~~~~~~ setup.c: In function 'status_clear': setup.c:4113:12: warning: old-style function definition [-Wold-style-definition] 4113 | static int status_clear(ptid) | ^~~~~~~~~~~~ setup.c: In function 'chbg_status_what': setup.c:4126:6: warning: old-style function definition [-Wold-style-definition] 4126 | void chbg_status_what(str, timeout) | ^~~~~~~~~~~~~~~~ setup.c: In function 'chbg_status_set': setup.c:4153:6: warning: old-style function definition [-Wold-style-definition] 4153 | void chbg_status_set(image, prop) | ^~~~~~~~~~~~~~~ setup.c: In function 'chbg_status_progress': setup.c:4215:6: warning: old-style function definition [-Wold-style-definition] 4215 | void chbg_status_progress(n, from) | ^~~~~~~~~~~~~~~~~~~~ setup.c: In function 'run_setup': setup.c:4226:6: warning: old-style function definition [-Wold-style-definition] 4226 | void run_setup(argc, argv) | ^~~~~~~~~ setup.c:4232:18: warning: pointer targets in passing argument 1 of 'gtk_init' differ in signedness [-Wpointer-sign] 4232 | gtk_init(argc, argv); | ^~~~ | | | guint * {aka unsigned int *} In file included from /usr/include/gtk-2.0/gtk/gtk.h:121, from setup.c:15: /usr/include/gtk-2.0/gtk/gtkmain.h:94:44: note: expected 'int *' but argument is of type 'guint *' {aka 'unsigned int *'} 94 | void gtk_init (int *argc, | ~~~~~~~~^~~~ make[1]: *** [Makefile:472: setup.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o gui_tools.o gui_tools.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from config.h:14, from gui_tools.c:9: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from config.h:13: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from config.h:15: /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:34, from /usr/include/glib-2.0/glib.h:32, from config.h:12: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gui_tools.c: In function 'SetFileEntry': gui_tools.c:26:13: warning: old-style function definition [-Wold-style-definition] 26 | static void SetFileEntry(object, info) | ^~~~~~~~~~~~ gui_tools.c:32:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | p = gtk_file_selection_get_filename(GTK_FILE_SELECTION(info->fs)); | ^ gui_tools.c: In function 'DestroyW': gui_tools.c:39:13: warning: old-style function definition [-Wold-style-definition] 39 | static void DestroyW(object , func_data) | ^~~~~~~~ gui_tools.c: In function 'GetFile': gui_tools.c:46:13: warning: old-style function definition [-Wold-style-definition] 46 | static void GetFile(object, info) | ^~~~~~~ gui_tools.c:63:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 63 | p = gtk_entry_get_text(GTK_ENTRY(info->entry)); | ^ gui_tools.c: In function 'path_entry_info_destroy': gui_tools.c:81:13: warning: old-style function definition [-Wold-style-definition] 81 | static void path_entry_info_destroy(w, info) | ^~~~~~~~~~~~~~~~~~~~~~~ gui_tools.c: In function 'path_entry_info_hide': gui_tools.c:95:13: warning: old-style function definition [-Wold-style-definition] 95 | static void path_entry_info_hide(w, info) | ^~~~~~~~~~~~~~~~~~~~ gui_tools.c: In function 'guitl_tab_add_path_entry': gui_tools.c:103:13: warning: old-style function definition [-Wold-style-definition] 103 | GtkWidget * guitl_tab_add_path_entry(table, label, col, row, dir) | ^~~~~~~~~~~~~~~~~~~~~~~~ gui_tools.c: In function 'guitl_pixmap_button': gui_tools.c:154:12: warning: old-style function definition [-Wold-style-definition] 154 | GtkWidget *guitl_pixmap_button(pm, label) | ^~~~~~~~~~~~~~~~~~~ gui_tools.c: In function 'menu_kill': gui_tools.c:197:13: warning: old-style function definition [-Wold-style-definition] 197 | static void menu_kill(w, menu) | ^~~~~~~~~ gui_tools.c: In function 'guitl_menu_attach': gui_tools.c:204:6: warning: old-style function definition [-Wold-style-definition] 204 | void guitl_menu_attach(menu, parent) | ^~~~~~~~~~~~~~~~~ gui_tools.c: In function 'guitl_menu_parent': gui_tools.c:213:12: warning: old-style function definition [-Wold-style-definition] 213 | GtkWidget *guitl_menu_parent(menu) | ^~~~~~~~~~~~~~~~~ gui_tools.c: In function 'guitl_tab_add_numentry': gui_tools.c:219:13: warning: old-style function definition [-Wold-style-definition] 219 | GtkWidget * guitl_tab_add_numentry(table, flabel, blabel, col, row, nten, | ^~~~~~~~~~~~~~~~~~~~~~ gui_tools.c: In function 'guitl_tab_add_entry': gui_tools.c:269:13: warning: old-style function definition [-Wold-style-definition] 269 | GtkWidget * guitl_tab_add_entry(table, label, col, row, passw) | ^~~~~~~~~~~~~~~~~~~ gui_tools.c: In function 'guitl_picsel_SelectAll': gui_tools.c:294:13: warning: old-style function definition [-Wold-style-definition] 294 | static void guitl_picsel_SelectAll(object, func_data) | ^~~~~~~~~~~~~~~~~~~~~~ gui_tools.c: In function 'guitl_picsel_Preview': gui_tools.c:302:13: warning: old-style function definition [-Wold-style-definition] 302 | static void guitl_picsel_Preview(object, picsel) | ^~~~~~~~~~~~~~~~~~~~ gui_tools.c:319:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 319 | p = gtk_file_selection_get_filename(GTK_FILE_SELECTION(picsel->filesel)); | ^ gui_tools.c: In function 'guitl_picsel_SwitchPic': gui_tools.c:381:13: warning: old-style function definition [-Wold-style-definition] 381 | static void guitl_picsel_SwitchPic(object, row, col, event, picsel) | ^~~~~~~~~~~~~~~~~~~~~~ gui_tools.c: In function 'guitl_picsel_Destroy': gui_tools.c:392:13: warning: old-style function definition [-Wold-style-definition] 392 | static void guitl_picsel_Destroy(w, picsel) | ^~~~~~~~~~~~~~~~~~~~ gui_tools.c: In function 'guitl_picsel_new': gui_tools.c:399:6: warning: old-style function definition [-Wold-style-definition] 399 | void guitl_picsel_new(picsel, title) | ^~~~~~~~~~~~~~~~ gui_tools.c:403:20: warning: unused variable 'pbox' [-Wunused-variable] 403 | GtkWidget *pbox; | ^~~~ gui_tools.c: At top level: gui_tools.c:381:13: warning: 'guitl_picsel_SwitchPic' defined but not used [-Wunused-function] 381 | static void guitl_picsel_SwitchPic(object, row, col, event, picsel) | ^~~~~~~~~~~~~~~~~~~~~~ gui_tools.c:294:13: warning: 'guitl_picsel_SelectAll' defined but not used [-Wunused-function] 294 | static void guitl_picsel_SelectAll(object, func_data) | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o gtkclrbutton.o gtkclrbutton.c 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/gtkbutton.h:35, from gtkclrbutton.h:24, from gtkclrbutton.c:21: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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/gtkwidget.h:34: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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 gtkclrbutton.c:22: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gtkclrbutton.c:189:13: warning: 'gtk_color_button_preview_resize' defined but not used [-Wunused-function] 189 | static void gtk_color_button_preview_resize (GtkWidget *w, GtkAllocation *allocation, GtkColorButton *cbutton) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o banner.o banner.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from config.h:14, from banner.c:13: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from config.h:13: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from config.h:15: /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:34, from /usr/include/glib-2.0/glib.h:32, from config.h:12: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ banner.c: In function 'banner_find': banner.c:16:18: warning: old-style function definition [-Wold-style-definition] 16 | static banner_t *banner_find(name) | ^~~~~~~~~~~ banner.c: In function 'banner_effect_pixel': banner.c:43:13: warning: old-style function definition [-Wold-style-definition] 43 | static void banner_effect_pixel(bg, fg, rx, ry, ix, iy, effect) | ^~~~~~~~~~~~~~~~~~~ banner.c: In function 'banner_effect': banner.c:162:6: warning: old-style function definition [-Wold-style-definition] 162 | void banner_effect(bg, fg, x, y, effect) | ^~~~~~~~~~~~~ banner.c: In function 'banner_bumpmap_row': banner.c:192:13: warning: old-style function definition [-Wold-style-definition] 192 | static void banner_bumpmap_row(bg, alpha, inbm, width, row1, row2, row3, emboss) | ^~~~~~~~~~~~~~~~~~ banner.c: In function 'banner_bumpmap': banner.c:281:6: warning: old-style function definition [-Wold-style-definition] 281 | void banner_bumpmap(bg, fg, x, y, emboss) | ^~~~~~~~~~~~~~ banner.c: In function 'banner_render_to_rgb': banner.c:326:6: warning: old-style function definition [-Wold-style-definition] 326 | void banner_render_to_rgb(rgb, banner_name) | ^~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o gtkselbox.o gtkselbox.c 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/gtkframe.h:35, from gtkselbox.h:24, from gtkselbox.c:20: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from gtkselbox.h:23: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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 gtkselbox.c:21: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gtkselbox.c: In function 'gtk_selbox_realize': gtkselbox.c:350:14: warning: variable 'border_width' set but not used [-Wunused-but-set-variable] 350 | gint border_width; | ^~~~~~~~~~~~ gtkselbox.c: In function 'gtk_selbox_destroy': gtkselbox.c:427:20: warning: variable 'selbox' set but not used [-Wunused-but-set-variable] 427 | GtkSelBox *selbox; | ^~~~~~ gtkselbox.c: At top level: gtkselbox.c:50:17: warning: 'gtk_selbox_draw' declared 'static' but never defined [-Wunused-function] 50 | static void gtk_selbox_draw (GtkWidget *widget, | ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o settings.o settings.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from config.h:14, from settings.c:9: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from config.h:13: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from config.h:15: /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:34, from /usr/include/glib-2.0/glib.h:32, from config.h:12: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ settings.c: In function 'SetingsApply': settings.c:32:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 32 | cmd = gtk_entry_get_text(GTK_ENTRY(extop_cmd[i])); | ^ settings.c:39:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 39 | label = gtk_entry_get_text(GTK_ENTRY(extop_label[i])); | ^ settings.c: In function 'SettingsScrollTypeSens': settings.c:65:13: warning: old-style function definition [-Wold-style-definition] 65 | static void SettingsScrollTypeSens(w, frame) | ^~~~~~~~~~~~~~~~~~~~~~ settings.c: In function 'SetingsBuildMain': settings.c:72:13: warning: old-style function definition [-Wold-style-definition] 72 | static void SetingsBuildMain(notebook) | ^~~~~~~~~~~~~~~~ settings.c: In function 'SetingsBuildExtern': settings.c:235:13: warning: old-style function definition [-Wold-style-definition] 235 | static void SetingsBuildExtern(notebook) | ^~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o gimpgradient.o gimpgradient.c 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 gimpgradient.c:34: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gimpgradient.c: In function 'grad_render': gimpgradient.c:381:12: warning: old-style function definition [-Wold-style-definition] 381 | GdkPixmap *grad_render(grad, h) | ^~~~~~~~~~~ gimpgradient.c: In function 'grad_load_gradient': gimpgradient.c:325:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 325 | fgets(line, 1024, file); | ^~~~~~~~~~~~~~~~~~~~~~~ gimpgradient.c:336:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 336 | fgets(line, 1024, file); | ^~~~~~~~~~~~~~~~~~~~~~~ gimpgradient.c:357:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | fgets(line, 1024, file); | ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o shader.o shader.c 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/gtkmain.h:36, from shader.c:9: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, 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/gtkmain.h:35: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from config.h:15, from shader.c:15: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ shader.c: In function 'shader_shade_pixmap': shader.c:766:6: warning: old-style function definition [-Wold-style-definition] 766 | void shader_shade_pixmap(prop, pixmap, gc , w ,h, progr, rinfo, rgbbuf) | ^~~~~~~~~~~~~~~~~~~ shader.c:897:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 897 | if (((int)ptr->data) < shader_get_cnt()) | ^ shader.c:907:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 907 | if (!g_slist_find(cfg.d_shaders, (gpointer)i)) | ^ shader.c:943:17: error: too many arguments to function 'shader_noop'; expected 0, have 12 943 | shader_noop(pixmap, gc, progr, pinfo, gimpgrad, lnbuf, w, h, 0, 0, rgbbuf, tile); | ^~~~~~~~~~~ ~~~~~~ shader.c:27:13: note: declared here 27 | static void shader_noop(); | ^~~~~~~~~~~ shader.c: In function 'shader_noop': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1042:1: note: in expansion of macro 'SHADER' 1042 | SHADER(noop) | ^~~~~~ shader.c: In function 'shader_2': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1047:1: note: in expansion of macro 'SHADER' 1047 | SHADER(2) | ^~~~~~ shader.c: In function 'shader_3': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1053:1: note: in expansion of macro 'SHADER' 1053 | SHADER(3) | ^~~~~~ shader.c: In function 'shader_4': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1059:1: note: in expansion of macro 'SHADER' 1059 | SHADER(4) | ^~~~~~ shader.c: In function 'shader_5': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1065:1: note: in expansion of macro 'SHADER' 1065 | SHADER(5) | ^~~~~~ shader.c: In function 'shader_6': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1071:1: note: in expansion of macro 'SHADER' 1071 | SHADER(6) | ^~~~~~ shader.c: In function 'shader_7': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1075:1: note: in expansion of macro 'SHADER' 1075 | SHADER(7) | ^~~~~~ shader.c: In function 'shader_8': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1081:1: note: in expansion of macro 'SHADER' 1081 | SHADER(8) | ^~~~~~ shader.c: In function 'shader_9': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1087:1: note: in expansion of macro 'SHADER' 1087 | SHADER(9) | ^~~~~~ shader.c: In function 'shader_10': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1093:1: note: in expansion of macro 'SHADER' 1093 | SHADER(10) | ^~~~~~ shader.c: In function 'shader_11': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1099:1: note: in expansion of macro 'SHADER' 1099 | SHADER(11) | ^~~~~~ shader.c: In function 'shader_12': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1103:1: note: in expansion of macro 'SHADER' 1103 | SHADER(12) | ^~~~~~ shader.c: In function 'shader_13': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1107:1: note: in expansion of macro 'SHADER' 1107 | SHADER(13) | ^~~~~~ shader.c: In function 'shader_14': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1111:1: note: in expansion of macro 'SHADER' 1111 | SHADER(14) | ^~~~~~ shader.c: In function 'shader_15': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1115:1: note: in expansion of macro 'SHADER' 1115 | SHADER(15) | ^~~~~~ shader.c: In function 'shader_16': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1119:1: note: in expansion of macro 'SHADER' 1119 | SHADER(16) | ^~~~~~ shader.c: In function 'shader_17': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1123:1: note: in expansion of macro 'SHADER' 1123 | SHADER(17) | ^~~~~~ shader.c: In function 'shader_18': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1127:1: note: in expansion of macro 'SHADER' 1127 | SHADER(18) | ^~~~~~ shader.c: In function 'shader_19': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1133:1: note: in expansion of macro 'SHADER' 1133 | SHADER(19) | ^~~~~~ shader.c: In function 'shader_20': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1139:1: note: in expansion of macro 'SHADER' 1139 | SHADER(20) | ^~~~~~ shader.c: In function 'shader_21': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1145:1: note: in expansion of macro 'SHADER' 1145 | SHADER(21) | ^~~~~~ shader.c: In function 'shader_22': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1152:1: note: in expansion of macro 'SHADER' 1152 | SHADER(22) | ^~~~~~ shader.c: In function 'shader_23': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1158:1: note: in expansion of macro 'SHADER' 1158 | SHADER(23) | ^~~~~~ shader.c: In function 'shader_24': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1164:1: note: in expansion of macro 'SHADER' 1164 | SHADER(24) | ^~~~~~ shader.c: In function 'shader_25': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1170:1: note: in expansion of macro 'SHADER' 1170 | SHADER(25) | ^~~~~~ shader.c: In function 'shader_26': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1176:1: note: in expansion of macro 'SHADER' 1176 | SHADER(26) | ^~~~~~ shader.c: In function 'shader_27': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1182:1: note: in expansion of macro 'SHADER' 1182 | SHADER(27) | ^~~~~~ shader.c: In function 'shader_28': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1186:1: note: in expansion of macro 'SHADER' 1186 | SHADER(28) | ^~~~~~ shader.c: In function 'shader_29': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1190:1: note: in expansion of macro 'SHADER' 1190 | SHADER(29) | ^~~~~~ shader.c: In function 'shader_30': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1196:1: note: in expansion of macro 'SHADER' 1196 | SHADER(30) | ^~~~~~ shader.c: In function 'shader_31': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1202:1: note: in expansion of macro 'SHADER' 1202 | SHADER(31) | ^~~~~~ shader.c: In function 'shader_32': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1208:1: note: in expansion of macro 'SHADER' 1208 | SHADER(32) | ^~~~~~ shader.c: In function 'shader_33': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1214:1: note: in expansion of macro 'SHADER' 1214 | SHADER(33) | ^~~~~~ shader.c: In function 'shader_34': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1221:1: note: in expansion of macro 'SHADER' 1221 | SHADER(34) | ^~~~~~ shader.c: In function 'shader_35': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1232:1: note: in expansion of macro 'SHADER' 1232 | SHADER(35) | ^~~~~~ shader.c: In function 'shader_36': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1241:1: note: in expansion of macro 'SHADER' 1241 | SHADER(36) | ^~~~~~ shader.c: In function 'shader_37': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1250:1: note: in expansion of macro 'SHADER' 1250 | SHADER(37) | ^~~~~~ shader.c: In function 'shader_38': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1259:1: note: in expansion of macro 'SHADER' 1259 | SHADER(38) | ^~~~~~ shader.c: In function 'shader_39': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1268:1: note: in expansion of macro 'SHADER' 1268 | SHADER(39) | ^~~~~~ shader.c: In function 'shader_40': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1276:1: note: in expansion of macro 'SHADER' 1276 | SHADER(40) | ^~~~~~ shader.c: In function 'shader_41': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1284:1: note: in expansion of macro 'SHADER' 1284 | SHADER(41) | ^~~~~~ shader.c: In function 'shader_42': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1292:1: note: in expansion of macro 'SHADER' 1292 | SHADER(42) | ^~~~~~ shader.c: In function 'shader_43': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1300:1: note: in expansion of macro 'SHADER' 1300 | SHADER(43) | ^~~~~~ shader.c: In function 'shader_44': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1308:1: note: in expansion of macro 'SHADER' 1308 | SHADER(44) | ^~~~~~ shader.c: In function 'shader_45': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1316:1: note: in expansion of macro 'SHADER' 1316 | SHADER(45) | ^~~~~~ shader.c: In function 'shader_46': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1325:1: note: in expansion of macro 'SHADER' 1325 | SHADER(46) | ^~~~~~ shader.c: In function 'shader_47': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1334:1: note: in expansion of macro 'SHADER' 1334 | SHADER(47) | ^~~~~~ shader.c: In function 'shader_48': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1345:1: note: in expansion of macro 'SHADER' 1345 | SHADER(48) | ^~~~~~ shader.c: In function 'shader_49': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1356:1: note: in expansion of macro 'SHADER' 1356 | SHADER(49) | ^~~~~~ shader.c: In function 'shader_50': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1364:1: note: in expansion of macro 'SHADER' 1364 | SHADER(50) | ^~~~~~ shader.c: In function 'shader_51': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1372:1: note: in expansion of macro 'SHADER' 1372 | SHADER(51) | ^~~~~~ shader.c: In function 'shader_52': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1379:1: note: in expansion of macro 'SHADER' 1379 | SHADER(52) | ^~~~~~ shader.c: In function 'shader_53': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1386:1: note: in expansion of macro 'SHADER' 1386 | SHADER(53) | ^~~~~~ shader.c: In function 'shader_54': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1393:1: note: in expansion of macro 'SHADER' 1393 | SHADER(54) | ^~~~~~ shader.c: In function 'shader_55': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1400:1: note: in expansion of macro 'SHADER' 1400 | SHADER(55) | ^~~~~~ shader.c: In function 'shader_56': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1408:1: note: in expansion of macro 'SHADER' 1408 | SHADER(56) | ^~~~~~ shader.c: In function 'shader_57': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1416:1: note: in expansion of macro 'SHADER' 1416 | SHADER(57) | ^~~~~~ shader.c: In function 'shader_58': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1424:1: note: in expansion of macro 'SHADER' 1424 | SHADER(58) | ^~~~~~ shader.c: In function 'shader_59': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1432:1: note: in expansion of macro 'SHADER' 1432 | SHADER(59) | ^~~~~~ shader.c: In function 'shader_60': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1443:1: note: in expansion of macro 'SHADER' 1443 | SHADER(60) | ^~~~~~ shader.c: In function 'shader_61': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1454:1: note: in expansion of macro 'SHADER' 1454 | SHADER(61) | ^~~~~~ shader.c: In function 'shader_62': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1465:1: note: in expansion of macro 'SHADER' 1465 | SHADER(62) | ^~~~~~ shader.c: In function 'shader_63': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1473:1: note: in expansion of macro 'SHADER' 1473 | SHADER(63) | ^~~~~~ shader.c: In function 'shader_64': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1479:1: note: in expansion of macro 'SHADER' 1479 | SHADER(64) | ^~~~~~ shader.c: In function 'shader_65': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1483:1: note: in expansion of macro 'SHADER' 1483 | SHADER(65) | ^~~~~~ shader.c: In function 'shader_66': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1493:1: note: in expansion of macro 'SHADER' 1493 | SHADER(66) | ^~~~~~ shader.c: In function 'shader_67': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1501:1: note: in expansion of macro 'SHADER' 1501 | SHADER(67) | ^~~~~~ shader.c: In function 'shader_68': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1509:1: note: in expansion of macro 'SHADER' 1509 | SHADER(68) | ^~~~~~ shader.c: In function 'shader_69': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1517:1: note: in expansion of macro 'SHADER' 1517 | SHADER(69) | ^~~~~~ shader.c: In function 'shader_70': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1525:1: note: in expansion of macro 'SHADER' 1525 | SHADER(70) | ^~~~~~ shader.c: In function 'shader_71': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1533:1: note: in expansion of macro 'SHADER' 1533 | SHADER(71) | ^~~~~~ shader.c: In function 'shader_72': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1539:1: note: in expansion of macro 'SHADER' 1539 | SHADER(72) | ^~~~~~ shader.c: In function 'shader_73': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1550:1: note: in expansion of macro 'SHADER' 1550 | SHADER(73) | ^~~~~~ shader.c: In function 'shader_74': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1562:1: note: in expansion of macro 'SHADER' 1562 | SHADER(74) | ^~~~~~ shader.c: In function 'shader_75': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1574:1: note: in expansion of macro 'SHADER' 1574 | SHADER(75) | ^~~~~~ shader.c: In function 'shader_76': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1597:1: note: in expansion of macro 'SHADER' 1597 | SHADER(76) | ^~~~~~ shader.c: In function 'shader_77': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1608:1: note: in expansion of macro 'SHADER' 1608 | SHADER(77) | ^~~~~~ shader.c: In function 'shader_78': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1617:1: note: in expansion of macro 'SHADER' 1617 | SHADER(78) | ^~~~~~ shader.c: In function 'shader_79': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1626:1: note: in expansion of macro 'SHADER' 1626 | SHADER(79) | ^~~~~~ shader.c: In function 'shader_80': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1639:1: note: in expansion of macro 'SHADER' 1639 | SHADER(80) | ^~~~~~ shader.c: In function 'shader_81': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1650:1: note: in expansion of macro 'SHADER' 1650 | SHADER(81) | ^~~~~~ shader.c: In function 'shader_82': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1660:1: note: in expansion of macro 'SHADER' 1660 | SHADER(82) | ^~~~~~ shader.c: In function 'shader_182': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1673:1: note: in expansion of macro 'SHADER' 1673 | SHADER(182) | ^~~~~~ shader.c: In function 'shader_183': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1683:1: note: in expansion of macro 'SHADER' 1683 | SHADER(183) | ^~~~~~ shader.c: In function 'shader_83': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1697:1: note: in expansion of macro 'SHADER' 1697 | SHADER(83) | ^~~~~~ shader.c: In function 'shader_84': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1705:1: note: in expansion of macro 'SHADER' 1705 | SHADER(84) | ^~~~~~ shader.c: In function 'shader_85': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1713:1: note: in expansion of macro 'SHADER' 1713 | SHADER(85) | ^~~~~~ shader.c: In function 'shader_86': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1719:1: note: in expansion of macro 'SHADER' 1719 | SHADER(86) | ^~~~~~ shader.c: In function 'shader_87': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1725:1: note: in expansion of macro 'SHADER' 1725 | SHADER(87) | ^~~~~~ shader.c: In function 'shader_88': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1738:1: note: in expansion of macro 'SHADER' 1738 | SHADER(88) | ^~~~~~ shader.c: In function 'shader_89': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1749:1: note: in expansion of macro 'SHADER' 1749 | SHADER(89) | ^~~~~~ shader.c: In function 'shader_90': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1855:1: note: in expansion of macro 'SHADER' 1855 | SHADER(90) | ^~~~~~ shader.c: In function 'shader_91': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1869:1: note: in expansion of macro 'SHADER' 1869 | SHADER(91) | ^~~~~~ shader.c: In function 'shader_92': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1883:1: note: in expansion of macro 'SHADER' 1883 | SHADER(92) | ^~~~~~ shader.c: In function 'shader_93': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1897:1: note: in expansion of macro 'SHADER' 1897 | SHADER(93) | ^~~~~~ shader.c: In function 'shader_94': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1911:1: note: in expansion of macro 'SHADER' 1911 | SHADER(94) | ^~~~~~ shader.c: In function 'shader_95': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1925:1: note: in expansion of macro 'SHADER' 1925 | SHADER(95) | ^~~~~~ shader.c: In function 'shader_96': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1939:1: note: in expansion of macro 'SHADER' 1939 | SHADER(96) | ^~~~~~ shader.c: In function 'shader_97': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1953:1: note: in expansion of macro 'SHADER' 1953 | SHADER(97) | ^~~~~~ shader.c: In function 'shader_98': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1967:1: note: in expansion of macro 'SHADER' 1967 | SHADER(98) | ^~~~~~ shader.c: In function 'shader_99': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1981:1: note: in expansion of macro 'SHADER' 1981 | SHADER(99) | ^~~~~~ shader.c: In function 'shader_100': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:1996:1: note: in expansion of macro 'SHADER' 1996 | SHADER(100) | ^~~~~~ shader.c: In function 'shader_101': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2010:1: note: in expansion of macro 'SHADER' 2010 | SHADER(101) | ^~~~~~ shader.c: In function 'shader_102': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2024:1: note: in expansion of macro 'SHADER' 2024 | SHADER(102) | ^~~~~~ shader.c: In function 'shader_103': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2038:1: note: in expansion of macro 'SHADER' 2038 | SHADER(103) | ^~~~~~ shader.c: In function 'shader_104': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2052:1: note: in expansion of macro 'SHADER' 2052 | SHADER(104) | ^~~~~~ shader.c: In function 'shader_105': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2066:1: note: in expansion of macro 'SHADER' 2066 | SHADER(105) | ^~~~~~ shader.c: In function 'shader_106': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2080:1: note: in expansion of macro 'SHADER' 2080 | SHADER(106) | ^~~~~~ shader.c: In function 'shader_107': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2094:1: note: in expansion of macro 'SHADER' 2094 | SHADER(107) | ^~~~~~ shader.c: In function 'shader_108': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2108:1: note: in expansion of macro 'SHADER' 2108 | SHADER(108) | ^~~~~~ shader.c: In function 'shader_109': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2122:1: note: in expansion of macro 'SHADER' 2122 | SHADER(109) | ^~~~~~ shader.c: In function 'shader_110': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2136:1: note: in expansion of macro 'SHADER' 2136 | SHADER(110) | ^~~~~~ shader.c: In function 'shader_111': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2150:1: note: in expansion of macro 'SHADER' 2150 | SHADER(111) | ^~~~~~ shader.c: In function 'shader_112': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2164:1: note: in expansion of macro 'SHADER' 2164 | SHADER(112) | ^~~~~~ shader.c: In function 'shader_113': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2178:1: note: in expansion of macro 'SHADER' 2178 | SHADER(113) | ^~~~~~ shader.c: In function 'shader_114': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2192:1: note: in expansion of macro 'SHADER' 2192 | SHADER(114) | ^~~~~~ shader.c: In function 'shader_115': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2216:1: note: in expansion of macro 'SHADER' 2216 | SHADER(115) | ^~~~~~ shader.c: In function 'shader_116': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2230:1: note: in expansion of macro 'SHADER' 2230 | SHADER(116) | ^~~~~~ shader.c: In function 'shader_117': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2244:1: note: in expansion of macro 'SHADER' 2244 | SHADER(117) | ^~~~~~ shader.c: In function 'shader_118': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2258:1: note: in expansion of macro 'SHADER' 2258 | SHADER(118) | ^~~~~~ shader.c: In function 'shader_119': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2272:1: note: in expansion of macro 'SHADER' 2272 | SHADER(119) | ^~~~~~ shader.c: In function 'shader_120': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2286:1: note: in expansion of macro 'SHADER' 2286 | SHADER(120) | ^~~~~~ shader.c: In function 'shader_121': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2300:1: note: in expansion of macro 'SHADER' 2300 | SHADER(121) | ^~~~~~ shader.c: In function 'shader_122': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2314:1: note: in expansion of macro 'SHADER' 2314 | SHADER(122) | ^~~~~~ shader.c: In function 'shader_123': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2328:1: note: in expansion of macro 'SHADER' 2328 | SHADER(123) | ^~~~~~ shader.c: In function 'shader_124': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2342:1: note: in expansion of macro 'SHADER' 2342 | SHADER(124) | ^~~~~~ shader.c: In function 'shader_125': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2356:1: note: in expansion of macro 'SHADER' 2356 | SHADER(125) | ^~~~~~ shader.c: In function 'shader_126': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2370:1: note: in expansion of macro 'SHADER' 2370 | SHADER(126) | ^~~~~~ shader.c: In function 'shader_127': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2385:1: note: in expansion of macro 'SHADER' 2385 | SHADER(127) | ^~~~~~ shader.c: In function 'shader_128': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2399:1: note: in expansion of macro 'SHADER' 2399 | SHADER(128) | ^~~~~~ shader.c: In function 'shader_129': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2422:1: note: in expansion of macro 'SHADER' 2422 | SHADER(129) | ^~~~~~ shader.c: In function 'shader_130': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2466:1: note: in expansion of macro 'SHADER' 2466 | SHADER(130) | ^~~~~~ shader.c: In function 'shader_131': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2494:1: note: in expansion of macro 'SHADER' 2494 | SHADER(131) | ^~~~~~ shader.c: In function 'shader_132': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2511:1: note: in expansion of macro 'SHADER' 2511 | SHADER(132) | ^~~~~~ shader.c: In function 'shader_133': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2528:1: note: in expansion of macro 'SHADER' 2528 | SHADER(133) | ^~~~~~ shader.c: In function 'shader_134': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2545:1: note: in expansion of macro 'SHADER' 2545 | SHADER(134) | ^~~~~~ shader.c: In function 'shader_135': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2564:1: note: in expansion of macro 'SHADER' 2564 | SHADER(135) | ^~~~~~ shader.c: In function 'shader_136': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2583:1: note: in expansion of macro 'SHADER' 2583 | SHADER(136) | ^~~~~~ shader.c: In function 'shader_137': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2600:1: note: in expansion of macro 'SHADER' 2600 | SHADER(137) | ^~~~~~ shader.c: In function 'shader_138': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2619:1: note: in expansion of macro 'SHADER' 2619 | SHADER(138) | ^~~~~~ shader.c: In function 'shader_139': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2636:1: note: in expansion of macro 'SHADER' 2636 | SHADER(139) | ^~~~~~ shader.c: In function 'shader_140': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2653:1: note: in expansion of macro 'SHADER' 2653 | SHADER(140) | ^~~~~~ shader.c: In function 'shader_141': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2670:1: note: in expansion of macro 'SHADER' 2670 | SHADER(141) | ^~~~~~ shader.c: In function 'shader_142': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2689:1: note: in expansion of macro 'SHADER' 2689 | SHADER(142) | ^~~~~~ shader.c: In function 'shader_143': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2706:1: note: in expansion of macro 'SHADER' 2706 | SHADER(143) | ^~~~~~ shader.c: In function 'shader_144': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2723:1: note: in expansion of macro 'SHADER' 2723 | SHADER(144) | ^~~~~~ shader.c: In function 'shader_145': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2730:1: note: in expansion of macro 'SHADER' 2730 | SHADER(145) | ^~~~~~ shader.c:2470:32: warning: variable 'plasma' set but not used [-Wunused-but-set-variable] 2470 | struct {int x; int y;} plasma[PNUM]; \ | ^~~~~~ shader.c:1024:9: note: in expansion of macro 'SHADER_VAR' 1024 | SHADER_VAR \ | ^~~~~~~~~~ shader.c:2730:1: note: in expansion of macro 'SHADER' 2730 | SHADER(145) | ^~~~~~ shader.c: In function 'shader_146': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2747:1: note: in expansion of macro 'SHADER' 2747 | SHADER(146) | ^~~~~~ shader.c: In function 'shader_147': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2764:1: note: in expansion of macro 'SHADER' 2764 | SHADER(147) | ^~~~~~ shader.c: In function 'shader_148': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2781:1: note: in expansion of macro 'SHADER' 2781 | SHADER(148) | ^~~~~~ shader.c: In function 'shader_149': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2796:1: note: in expansion of macro 'SHADER' 2796 | SHADER(149) | ^~~~~~ shader.c: In function 'shader_150': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2811:1: note: in expansion of macro 'SHADER' 2811 | SHADER(150) | ^~~~~~ shader.c: In function 'shader_151': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2826:1: note: in expansion of macro 'SHADER' 2826 | SHADER(151) | ^~~~~~ shader.c: In function 'shader_152': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2845:1: note: in expansion of macro 'SHADER' 2845 | SHADER(152) | ^~~~~~ shader.c: In function 'shader_153': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2860:1: note: in expansion of macro 'SHADER' 2860 | SHADER(153) | ^~~~~~ shader.c: In function 'shader_154': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2877:1: note: in expansion of macro 'SHADER' 2877 | SHADER(154) | ^~~~~~ shader.c: In function 'shader_155': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2885:1: note: in expansion of macro 'SHADER' 2885 | SHADER(155) | ^~~~~~ shader.c: In function 'shader_156': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2892:1: note: in expansion of macro 'SHADER' 2892 | SHADER(156) | ^~~~~~ shader.c: In function 'shader_157': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2899:1: note: in expansion of macro 'SHADER' 2899 | SHADER(157) | ^~~~~~ shader.c: In function 'shader_158': shader.c:1006:13: warning: old-style function definition [-Wold-style-definition] 1006 | static void shader_##name(pixmap, gc, progr, rinfo, gimpgrad, lnbuf, w, h, par1, par2, rgbbuf, tile) \ | ^~~~~~~ shader.c:2906:1: note: in expansion of macro 'SHADER' 2906 | SHADER(158) | ^~~~~~ make[1]: *** [Makefile:472: shader.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o operations.o operations.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from config.h:14, from operations.c:9: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from config.h:13: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from config.h:15: /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:34, from /usr/include/glib-2.0/glib.h:32, from config.h:12: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ operations.c: In function 'ext_dlg_kill': operations.c:46:13: warning: old-style function definition [-Wold-style-definition] 46 | static void ext_dlg_kill(w, ext_dlg) | ^~~~~~~~~~~~ operations.c: In function 'ext_dlg_action': operations.c:63:13: warning: old-style function definition [-Wold-style-definition] 63 | static void ext_dlg_action(w, ext_dlg) | ^~~~~~~~~~~~~~ operations.c:82:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 82 | dir = gtk_entry_get_text(GTK_ENTRY(ext_dlg->src_dir)); | ^ operations.c:83:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | pattern = gtk_entry_get_text(GTK_ENTRY(ext_dlg->src_pattern)); | ^ operations.c: In function 'ext_source_dlg': operations.c:138:13: warning: old-style function definition [-Wold-style-definition] 138 | static void ext_source_dlg(box, ext_dlg) | ^~~~~~~~~~~~~~ operations.c: In function 'ext_do_dlg': operations.c:206:6: warning: old-style function definition [-Wold-style-definition] 206 | void ext_do_dlg(ext_dlg, title, frame_label, button_label) | ^~~~~~~~~~ operations.c: In function 'ext_dlg_action_start': operations.c:256:13: warning: old-style function definition [-Wold-style-definition] 256 | static void ext_dlg_action_start(ext_dlg) | ^~~~~~~~~~~~~~~~~~~~ operations.c: In function 'ext_scale_image_scale_do': operations.c:280:13: warning: old-style function definition [-Wold-style-definition] 280 | static void ext_scale_image_scale_do(imagename, dir, width, height, additional) | ^~~~~~~~~~~~~~~~~~~~~~~~ operations.c: In function 'ext_scale_image_dlg_scale': operations.c:305:13: warning: old-style function definition [-Wold-style-definition] 305 | static void ext_scale_image_dlg_scale(widget, ext_scale_dlg) | ^~~~~~~~~~~~~~~~~~~~~~~~~ operations.c:321:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 321 | dir = gtk_entry_get_text(GTK_ENTRY(ext_scale_dlg->dir)); | ^ operations.c:328:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 328 | p = gtk_entry_get_text(GTK_ENTRY(ext_scale_dlg->size)); | ^ operations.c:335:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 335 | additional = gtk_entry_get_text(GTK_ENTRY(ext_scale_dlg->add)); | ^ operations.c: In function 'ext_scale_image_dlg': operations.c:395:6: warning: old-style function definition [-Wold-style-definition] 395 | void ext_scale_image_dlg(source, thumb_selection) | ^~~~~~~~~~~~~~~~~~~ operations.c: In function 'ext_convert_adjust_format': operations.c:504:14: warning: old-style function definition [-Wold-style-definition] 504 | static char *ext_convert_adjust_format(line) | ^~~~~~~~~~~~~~~~~~~~~~~~~ operations.c: In function 'ext_convert_image_convert_do': operations.c:588:13: warning: old-style function definition [-Wold-style-definition] 588 | static void ext_convert_image_convert_do(imagename, dir, format, additional) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ operations.c: In function 'ext_convert_image_dlg_convert': operations.c:627:13: warning: old-style function definition [-Wold-style-definition] 627 | static void ext_convert_image_dlg_convert(widget, ext_convert_dlg) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ operations.c:641:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 641 | dir = gtk_entry_get_text(GTK_ENTRY(ext_convert_dlg->dir)); | ^ operations.c:648:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 648 | additional = gtk_entry_get_text(GTK_ENTRY(ext_convert_dlg->add)); | ^ operations.c:650:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 650 | format = gtk_entry_get_text(GTK_ENTRY(ext_convert_dlg->format)); | ^ operations.c: In function 'ext_convert_image_dlg': operations.c:689:6: warning: old-style function definition [-Wold-style-definition] 689 | void ext_convert_image_dlg(source, thumb_selection) | ^~~~~~~~~~~~~~~~~~~~~ operations.c: In function 'ext_scale_image_scale_do': operations.c:300:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 300 | system(p); | ^~~~~~~~~ operations.c: In function 'ext_convert_image_convert_do': operations.c:622:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 622 | system(p); | ^~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o config.o config.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from config.h:14, from config.c:9: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from config.h:13: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from config.h:15: /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:34, from /usr/include/glib-2.0/glib.h:32, from config.h:12: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ config.c: In function 'get_1qstr': config.c:44:7: warning: old-style function definition [-Wold-style-definition] 44 | char *get_1qstr(str) | ^~~~~~~~~ config.c: In function '_atoi': config.c:80:6: warning: old-style function definition [-Wold-style-definition] 80 | gint _atoi(str) | ^~~~~ config.c: In function '_atof': config.c:93:8: warning: old-style function definition [-Wold-style-definition] 93 | gfloat _atof(str) | ^~~~~ config.c: In function 'parse_interval': config.c:106:12: warning: old-style function definition [-Wold-style-definition] 106 | static int parse_interval(str, start, end) | ^~~~~~~~~~~~~~ config.c: In function 'simplify_path': config.c:139:7: warning: old-style function definition [-Wold-style-definition] 139 | char *simplify_path(inpath) | ^~~~~~~~~~~~~ config.c: In function 'makealldirs': config.c:198:5: warning: old-style function definition [-Wold-style-definition] 198 | int makealldirs(path) | ^~~~~~~~~~~ config.c: In function 'check_program': config.c:231:5: warning: old-style function definition [-Wold-style-definition] 231 | int check_program(prog) | ^~~~~~~~~~~~~ config.c:237:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 237 | p = g_getenv("PATH"); | ^ config.c: In function 'append_nr_to_list': config.c:257:9: warning: old-style function definition [-Wold-style-definition] 257 | GSList *append_nr_to_list(lst, str) | ^~~~~~~~~~~~~~~~~ config.c:276:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 276 | if (ilen && !g_slist_find(lst, (gpointer)i)) | ^ config.c:277:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 277 | lst = g_slist_append(lst, (gpointer)i); | ^ config.c: In function 'prop_dup': config.c:285:9: warning: old-style function definition [-Wold-style-definition] 285 | prop_t *prop_dup(prop) | ^~~~~~~~ config.c:290:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 290 | rv = g_memdup(prop, sizeof(prop_t)); | ^~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gstrfuncs.h:338:23: note: declared here 338 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ config.c: In function 'prop_copy': config.c:301:9: warning: old-style function definition [-Wold-style-definition] 301 | prop_t *prop_copy(prop, sprop) | ^~~~~~~~~ config.c: In function 'prop_free': config.c:318:6: warning: old-style function definition [-Wold-style-definition] 318 | void prop_free(prop) | ^~~~~~~~~ config.c: In function 'picentry_get_name': config.c:326:7: warning: old-style function definition [-Wold-style-definition] 326 | char *picentry_get_name(pe) | ^~~~~~~~~~~~~~~~~ config.c: In function 'picentry_clone': config.c:332:13: warning: old-style function definition [-Wold-style-definition] 332 | picentry_t *picentry_clone(name, pe) | ^~~~~~~~~~~~~~ config.c: In function 'picentry_new': config.c:349:13: warning: old-style function definition [-Wold-style-definition] 349 | picentry_t *picentry_new(name) | ^~~~~~~~~~~~ config.c: In function 'picentry_dup': config.c:362:13: warning: old-style function definition [-Wold-style-definition] 362 | picentry_t *picentry_dup(pe) | ^~~~~~~~~~~~ config.c: In function 'picentry_free': config.c:379:6: warning: old-style function definition [-Wold-style-definition] 379 | void picentry_free(pe) | ^~~~~~~~~~~~~ config.c: In function 'banner_prop_dup': config.c:388:16: warning: old-style function definition [-Wold-style-definition] 388 | banner_prop_t *banner_prop_dup(bp) | ^~~~~~~~~~~~~~~ config.c: In function 'banner_prop_free': config.c:409:6: warning: old-style function definition [-Wold-style-definition] 409 | void banner_prop_free(bp) | ^~~~~~~~~~~~~~~~ config.c: In function 'banner_get_name': config.c:415:7: warning: old-style function definition [-Wold-style-definition] 415 | char *banner_get_name(bn) | ^~~~~~~~~~~~~~~ config.c: In function 'banner_clone': config.c:421:11: warning: old-style function definition [-Wold-style-definition] 421 | banner_t *banner_clone(name, pe) | ^~~~~~~~~~~~ config.c: In function 'banner_new': config.c:438:11: warning: old-style function definition [-Wold-style-definition] 438 | banner_t *banner_new(name) | ^~~~~~~~~~ config.c: In function 'banner_free': config.c:451:6: warning: old-style function definition [-Wold-style-definition] 451 | void banner_free(bn) | ^~~~~~~~~~~ config.c: In function 'cfg_usage': config.c:460:6: warning: old-style function definition [-Wold-style-definition] 460 | void cfg_usage(prg) | ^~~~~~~~~ config.c: In function 'cfg_usage_long': config.c:468:6: warning: old-style function definition [-Wold-style-definition] 468 | void cfg_usage_long(prg) | ^~~~~~~~~~~~~~ config.c: In function 'cfg_get_mode': config.c:661:23: warning: old-style function definition [-Wold-style-definition] 661 | static rendering_type cfg_get_mode(str) | ^~~~~~~~~~~~ config.c: In function 'cfg_get_thumb_type': config.c:691:19: warning: old-style function definition [-Wold-style-definition] 691 | static thumb_type cfg_get_thumb_type(str) | ^~~~~~~~~~~~~~~~~~ config.c: In function 'cfg_get_mode_str': config.c:707:15: warning: old-style function definition [-Wold-style-definition] 707 | static gchar* cfg_get_mode_str(type) | ^~~~~~~~~~~~~~~~ config.c: In function 'cfg_find_banner_mode': config.c:744:5: warning: old-style function definition [-Wold-style-definition] 744 | int cfg_find_banner_mode(str) | ^~~~~~~~~~~~~~~~~~~~ config.c: In function 'cfg_find_option': config.c:761:11: warning: old-style function definition [-Wold-style-definition] 761 | option_t *cfg_find_option(param) | ^~~~~~~~~~~~~~~ config.c: In function 'cfg_cmdln': config.c:782:6: warning: old-style function definition [-Wold-style-definition] 782 | gint cfg_cmdln(argc, argv) | ^~~~~~~~~ config.c: In function 'cfg_find_scn_option': config.c:1203:11: warning: old-style function definition [-Wold-style-definition] 1203 | option_t *cfg_find_scn_option(param) | ^~~~~~~~~~~~~~~~~~~ config.c: In function 'cfg_parse_bool': config.c:1220:12: warning: old-style function definition [-Wold-style-definition] 1220 | static int cfg_parse_bool(param) | ^~~~~~~~~~~~~~ config.c: In function 'cfg_parse_position': config.c:1226:15: warning: old-style function definition [-Wold-style-definition] 1226 | static gfloat cfg_parse_position(param) | ^~~~~~~~~~~~~~~~~~ config.c: In function 'cfg_scenario': config.c:1245:5: warning: old-style function definition [-Wold-style-definition] 1245 | int cfg_scenario(scenario) | ^~~~~~~~~~~~ config.c: In function 'cfg_get_color_str': config.c:1635:9: warning: old-style function definition [-Wold-style-definition] 1635 | guchar *cfg_get_color_str(color, buf) | ^~~~~~~~~~~~~~~~~ config.c:1657:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1657 | strcpy(buf, str); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-mageia-linux/15/include/limits.h:210, from /usr/lib/gcc/x86_64-mageia-linux/15/include/syslimits.h:9, from /usr/lib/gcc/x86_64-mageia-linux/15/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:34: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ config.c:1658:24: warning: pointer targets in returning 'char *' from a function with return type 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 1658 | return buf; | ^~~ config.c: In function 'cfg_save_scenario': config.c:1664:5: warning: old-style function definition [-Wold-style-definition] 1664 | int cfg_save_scenario(scenario) | ^~~~~~~~~~~~~~~~~ config.c:1752:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1752 | fprintf(f, "DisabledEffects: %d", (int)ptr->data); | ^ config.c:1756:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1756 | fprintf(f, ",%d", (int)ptr->data); | ^ config.c:1765:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1765 | fprintf(f, "DisabledShaders: %d", (int)ptr->data); | ^ config.c:1769:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1769 | fprintf(f, ",%d", (int)ptr->data); | ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' gcc -DPACKAGE_NAME=\"chbg\" -DPACKAGE_TARNAME=\"chbg\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"chbg\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"chbg\" -DVERSION=\"2.0.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_FNMATCH=1 -I. -DHAVE_ENLIGHTENMENT_SUPPORT -DHAVE_XSS_SUPPORT -DHAVE_ESETROOT_SUPPORT -DHAVE_MKSTEMP -DHAVE_RANDOM -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/share/gettext/intl -Wall -DGETTEXT_NLS -DNLS_DIR="\"/usr/share/locale\"" -DDEFAULT_SYS_CHBG_RC="\"/etc/chbgrc\"" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types -Wno-int-conversion -c -o chbg.o chbg.c 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 chbg.c:12: /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:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from chbg.c:9: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ 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: /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:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ chbg.c: In function 'Switch': chbg.c:92:12: warning: old-style function definition [-Wold-style-definition] 92 | static int Switch(data) | ^~~~~~ chbg.c: In function 'chbg_screensaver_event_func': chbg.c:104:13: warning: old-style function definition [-Wold-style-definition] 104 | static void chbg_screensaver_event_func(event, win) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ chbg.c: In function 'win_event_func': chbg.c:133:13: warning: old-style function definition [-Wold-style-definition] 133 | static void win_event_func(event) | ^~~~~~~~~~~~~~ chbg.c: In function 'chbg_init_full_win': chbg.c:204:12: warning: old-style function definition [-Wold-style-definition] 204 | GdkWindow *chbg_init_full_win(old_win, _event_func, data) | ^~~~~~~~~~~~~~~~~~ chbg.c:218:50: warning: pointer targets in passing argument 2 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 218 | gdk_window_get_size(root_window, &rw, &rh); | ^~~ | | | guint * {aka unsigned int *} In file included from /usr/include/gtk-2.0/gdk/gdk.h:39: /usr/include/gtk-2.0/gdk/gdkdrawable.h:260:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 260 | gint *width, | ~~~~~~~~~~~~~~~~^~~~~ chbg.c:218:55: warning: pointer targets in passing argument 3 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 218 | gdk_window_get_size(root_window, &rw, &rh); | ^~~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:261:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 261 | gint *height); | ~~~~~~~~~~~~~~~~^~~~~~ chbg.c: In function 'chbg_clear_window': chbg.c:254:6: warning: old-style function definition [-Wold-style-definition] 254 | void chbg_clear_window(window, type) | ^~~~~~~~~~~~~~~~~ chbg.c: In function 'set_root_fake_nautilus': chbg.c:706:13: warning: old-style function definition [-Wold-style-definition] 706 | static void set_root_fake_nautilus(rb) | ^~~~~~~~~~~~~~~~~~~~~~ chbg.c:720:9: warning: missing sentinel in function call [-Wformat=] 720 | bak = g_strconcat(bg, ".bak"); | ^~~ chbg.c: In function 'set_blank_screen_real': chbg.c:737:13: warning: old-style function definition [-Wold-style-definition] 737 | static void set_blank_screen_real(prop, rb, w, h) | ^~~~~~~~~~~~~~~~~~~~~ chbg.c:760:50: warning: pointer targets in passing argument 2 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 760 | gdk_window_get_size(root_window, &rw, &rh); | ^~~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:260:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 260 | gint *width, | ~~~~~~~~~~~~~~~~^~~~~ chbg.c:760:55: warning: pointer targets in passing argument 3 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 760 | gdk_window_get_size(root_window, &rw, &rh); | ^~~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:261:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 261 | gint *height); | ~~~~~~~~~~~~~~~~^~~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:763:9: note: in expansion of macro 'SET_BGCOL' 763 | SET_BGCOL(NULL); | ^~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-mageia-linux/15/include/limits.h:210, from /usr/lib/gcc/x86_64-mageia-linux/15/include/syslimits.h:9, from /usr/lib/gcc/x86_64-mageia-linux/15/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:34: /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:763:9: note: in expansion of macro 'SET_BGCOL' 763 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull_if_nonzero' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:53:21: warning: the address of 'color' will always evaluate as 'true' [-Waddress] 53 | if (!clr)\ | ^ chbg.c:772:17: note: in expansion of macro 'SET_BGCOL' 772 | SET_BGCOL(&color); | ^~~~~~~~~ chbg.c: In function 'set_blank_screen': chbg.c:838:13: warning: old-style function definition [-Wold-style-definition] 838 | static void set_blank_screen(prop) | ^~~~~~~~~~~~~~~~ chbg.c: In function 'set_root_bg_real': chbg.c:844:5: warning: old-style function definition [-Wold-style-definition] 844 | int set_root_bg_real(root_window, image, prop, rb, w, h, isroot) | ^~~~~~~~~~~~~~~~ chbg.c:863:51: warning: pointer targets in passing argument 2 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 863 | gdk_window_get_size(*root_window, &rw, &rh); | ^~~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:260:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 260 | gint *width, | ~~~~~~~~~~~~~~~~^~~~~ chbg.c:863:56: warning: pointer targets in passing argument 3 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 863 | gdk_window_get_size(*root_window, &rw, &rh); | ^~~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:261:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 261 | gint *height); | ~~~~~~~~~~~~~~~~^~~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:910:25: note: in expansion of macro 'SET_BGCOL' 910 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:910:25: note: in expansion of macro 'SET_BGCOL' 910 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull_if_nonzero' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:988:33: note: in expansion of macro 'SET_BGCOL' 988 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:988:33: note: in expansion of macro 'SET_BGCOL' 988 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull_if_nonzero' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:1042:33: note: in expansion of macro 'SET_BGCOL' 1042 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:1042:33: note: in expansion of macro 'SET_BGCOL' 1042 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull_if_nonzero' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:1083:25: note: in expansion of macro 'SET_BGCOL' 1083 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:1083:25: note: in expansion of macro 'SET_BGCOL' 1083 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull_if_nonzero' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:1136:25: note: in expansion of macro 'SET_BGCOL' 1136 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:1136:25: note: in expansion of macro 'SET_BGCOL' 1136 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull_if_nonzero' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:1163:45: warning: pointer targets in passing argument 2 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 1163 | gdk_window_get_size(pixmap, &w, &h); | ^~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:260:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 260 | gint *width, | ~~~~~~~~~~~~~~~~^~~~~ chbg.c:1163:49: warning: pointer targets in passing argument 3 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 1163 | gdk_window_get_size(pixmap, &w, &h); | ^~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:261:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 261 | gint *height); | ~~~~~~~~~~~~~~~~^~~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:1182:17: note: in expansion of macro 'SET_BGCOL' 1182 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c:60:25: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 60 | memcpy(clr, &prop->background, sizeof(GdkColor));\ | ^~~~~~ chbg.c:1182:17: note: in expansion of macro 'SET_BGCOL' 1182 | SET_BGCOL(NULL); | ^~~~~~~~~ /usr/include/bits/string_fortified.h:26:1: note: in a call to function 'memcpy' declared 'nonnull_if_nonzero' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ chbg.c: In function 'set_root_bg_load': chbg.c:1224:12: warning: old-style function definition [-Wold-style-definition] 1224 | static int set_root_bg_load(root_window, imgname, prop) | ^~~~~~~~~~~~~~~~ chbg.c:1256:50: warning: pointer targets in passing argument 2 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 1256 | gdk_window_get_size(root_window, &rw, &rh); | ^~~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:260:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 260 | gint *width, | ~~~~~~~~~~~~~~~~^~~~~ chbg.c:1256:55: warning: pointer targets in passing argument 3 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 1256 | gdk_window_get_size(root_window, &rw, &rh); | ^~~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:261:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 261 | gint *height); | ~~~~~~~~~~~~~~~~^~~~~~ chbg.c:1230:25: warning: variable 'type' set but not used [-Wunused-but-set-variable] 1230 | rendering_type type,stype; | ^~~~ chbg.c: In function 'set_root_to_file': chbg.c:1282:12: warning: old-style function definition [-Wold-style-definition] 1282 | static int set_root_to_file(imgname, prop, filename, w, h) | ^~~~~~~~~~~~~~~~ chbg.c: In function 'set_root_ebg': chbg.c:1322:12: warning: old-style function definition [-Wold-style-definition] 1322 | static int set_root_ebg(imgname, prop) | ^~~~~~~~~~~~ chbg.c:53:21: warning: the address of 'color' will always evaluate as 'true' [-Waddress] 53 | if (!clr)\ | ^ chbg.c:1331:9: note: in expansion of macro 'SET_BGCOL' 1331 | SET_BGCOL((&color)); | ^~~~~~~~~ chbg.c:1398:64: warning: pointer targets in passing argument 2 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 1398 | gdk_window_get_size(GDK_ROOT_PARENT(), &rw, &rh); | ^~~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:260:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 260 | gint *width, | ~~~~~~~~~~~~~~~~^~~~~ chbg.c:1398:69: warning: pointer targets in passing argument 3 of 'gdk_drawable_get_size' differ in signedness [-Wpointer-sign] 1398 | gdk_window_get_size(GDK_ROOT_PARENT(), &rw, &rh); | ^~~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdkdrawable.h:261:60: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 261 | gint *height); | ~~~~~~~~~~~~~~~~^~~~~~ chbg.c: In function 'chbg_prop_get_effect': chbg.c:1463:14: warning: old-style function definition [-Wold-style-definition] 1463 | static guint chbg_prop_get_effect(prop) | ^~~~~~~~~~~~~~~~~~~~ chbg.c:1475:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1475 | if (((int) ptr->data) < CHBG_EFECTS) | ^ chbg.c:1485:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1485 | if (!g_slist_find(cfg.d_effects, (gpointer)i)) | ^ chbg.c: In function 'chbg_prop_get_shader': chbg.c:1498:14: warning: old-style function definition [-Wold-style-definition] 1498 | static guint chbg_prop_get_shader(prop) | ^~~~~~~~~~~~~~~~~~~~ chbg.c:1510:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1510 | if (((int)ptr->data) < shader_get_cnt()) | ^ chbg.c:1520:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1520 | if (!g_slist_find(cfg.d_shaders, (gpointer)i)) | ^ chbg.c: In function 'chbg_prop_get_gradient': chbg.c:1536:14: warning: old-style function definition [-Wold-style-definition] 1536 | static guint chbg_prop_get_gradient(prop) | ^~~~~~~~~~~~~~~~~~~~~~ chbg.c: In function 'chbg_prop_get_tile': chbg.c:1552:14: warning: old-style function definition [-Wold-style-definition] 1552 | static char *chbg_prop_get_tile(prop) | ^~~~~~~~~~~~~~~~~~ chbg.c: In function 'chbg_prop_get_banner': chbg.c:1576:14: warning: old-style function definition [-Wold-style-definition] 1576 | static char *chbg_prop_get_banner(prop) | ^~~~~~~~~~~~~~~~~~~~ chbg.c: In function 'chbg_prop_get_bg': chbg.c:1600:13: warning: old-style function definition [-Wold-style-definition] 1600 | static void chbg_prop_get_bg(prop, clr) | ^~~~~~~~~~~~~~~~ chbg.c: In function 'chbg_prop_get_bg2': chbg.c:1616:13: warning: old-style function definition [-Wold-style-definition] 1616 | static void chbg_prop_get_bg2(prop, clr) | ^~~~~~~~~~~~~~~~~ chbg.c: In function 'chbg_compose_prop': chbg.c:1632:13: warning: old-style function definition [-Wold-style-definition] 1632 | static void chbg_compose_prop(imgname, prop, cprop) | ^~~~~~~~~~~~~~~~~ chbg.c: In function 'chbg_prop_free': chbg.c:1664:13: warning: old-style function definition [-Wold-style-definition] 1664 | static void chbg_prop_free(prop) | ^~~~~~~~~~~~~~ chbg.c: In function 'set_root_bg': chbg.c:1671:5: warning: old-style function definition [-Wold-style-definition] 1671 | int set_root_bg(imgname, prop) | ^~~~~~~~~~~ chbg.c: In function 'is_option': chbg.c:1709:14: warning: old-style function definition [-Wold-style-definition] 1709 | static guint is_option(str, argc, argv) | ^~~~~~~~~ chbg.c: In function 'cmp_images': chbg.c:1723:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 1723 | return g_strcasecmp(g_basename(Image1->name), g_basename(Image2->name)); | ^~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ chbg.c:1723:9: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1723 | return g_strcasecmp(g_basename(Image1->name), g_basename(Image2->name)); | ^~~~~~ In file included from /usr/include/glib-2.0/glib.h:50: /usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here 207 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ chbg.c:1723:9: warning: 'g_basename' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1723 | return g_strcasecmp(g_basename(Image1->name), g_basename(Image2->name)); | ^~~~~~ /usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here 207 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ chbg.c: In function 'load_pictures': chbg.c:1730:32: warning: pointer targets in passing argument 2 of 'recurse_dir' differ in signedness [-Wpointer-sign] 1730 | recurse_dir(&cfg.pics, &cfg.num_pics, cfg.pattern, cfg.min_size, | ^~~~~~~~~~~~~ | | | guint * {aka unsigned int *} In file included from chbg.c:36: recurse.h:16:28: note: expected 'int *' but argument is of type 'guint *' {aka 'unsigned int *'} 16 | void recurse_dir(GList **, int *, GSList *, int, recurse_getname_func, recurse_newentry_func, recurse_free_func); | ^~~~~ chbg.c: In function 'pe_find_by_name': chbg.c:1774:12: warning: old-style function definition [-Wold-style-definition] 1774 | static int pe_find_by_name(pe, name) | ^~~~~~~~~~~~~~~ chbg.c: In function 'get_interval_s': chbg.c:1782:12: warning: old-style function definition [-Wold-style-definition] 1782 | static int get_interval_s(prop) | ^~~~~~~~~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9: chbg.c: In function 'chbg_cycle_blank': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_context_iteration" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:110:80: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 110 | #define g_main_iteration(may_block) g_main_context_iteration (NULL, may_block) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_context_iteration) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chbg.c:1819:41: note: in expansion of macro 'g_main_iteration' 1819 | g_main_iteration(TRUE); | ^~~~~~~~~~~~~~~~ chbg.c: In function 'chbg_rand_list': chbg.c:1829:15: warning: old-style function definition [-Wold-style-definition] 1829 | static GList *chbg_rand_list(list) | ^~~~~~~~~~~~~~ chbg.c: In function 'chbg_cycle_pictures': /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_context_iteration" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:110:80: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 110 | #define g_main_iteration(may_block) g_main_context_iteration (NULL, may_block) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_context_iteration) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chbg.c:1912:57: note: in expansion of macro 'g_main_iteration' 1912 | g_main_iteration(TRUE); | ^~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_context_iteration" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:110:80: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 110 | #define g_main_iteration(may_block) g_main_context_iteration (NULL, may_block) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_context_iteration) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chbg.c:1932:57: note: in expansion of macro 'g_main_iteration' 1932 | g_main_iteration(TRUE); | ^~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "g_main_context_iteration" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:40:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 40 | #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gmain.h:110:80: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_26_FOR' 110 | #define g_main_iteration(may_block) g_main_context_iteration (NULL, may_block) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_context_iteration) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chbg.c:1973:33: note: in expansion of macro 'g_main_iteration' 1973 | g_main_iteration(TRUE); | ^~~~~~~~~~~~~~~~ chbg.c: In function 'SignalUsr1_Handler': chbg.c:2133:6: warning: old-style function definition [-Wold-style-definition] 2133 | void SignalUsr1_Handler(p) | ^~~~~~~~~~~~~~~~~~ chbg.c: In function 'tile_get_name': chbg.c:2144:14: warning: old-style function definition [-Wold-style-definition] 2144 | static char *tile_get_name(name) | ^~~~~~~~~~~~~ chbg.c: In function 'main': chbg.c:2181:6: warning: old-style function definition [-Wold-style-definition] 2181 | gint main(argc, argv) | ^~~~ chbg.c:2194:18: warning: pointer targets in passing argument 1 of 'gdk_init' differ in signedness [-Wpointer-sign] 2194 | gdk_init(&argc, &argv); | ^~~~~ | | | guint * {aka unsigned int *} /usr/include/gtk-2.0/gdk/gdk.h:71:58: note: expected 'gint *' {aka 'int *'} but argument is of type 'guint *' {aka 'unsigned int *'} 71 | void gdk_init (gint *argc, | ~~~~~~~~~~~~~~~~^~~~ chbg.c:2204:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2204 | p = g_get_home_dir(); | ^ chbg.c:2260:9: warning: 'g_atexit' is deprecated [-Wdeprecated-declarations] 2260 | g_atexit(chbg_cleanup); | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/gthread.h:36, from /usr/include/glib-2.0/glib/gasyncqueue.h:34, from /usr/include/glib-2.0/glib.h:34: /usr/include/glib-2.0/glib/gutils.h:329:9: note: declared here 329 | void g_atexit (GVoidFunc func); | ^~~~~~~~ chbg.c:2293:34: warning: pointer targets in passing argument 1 of 'gtk_init' differ in signedness [-Wpointer-sign] 2293 | gtk_init(&argc, &argv); | ^~~~~ | | | guint * {aka unsigned int *} In file included from /usr/include/gtk-2.0/gtk/gtk.h:121: /usr/include/gtk-2.0/gtk/gtkmain.h:94:44: note: expected 'int *' but argument is of type 'guint *' {aka 'unsigned int *'} 94 | void gtk_init (int *argc, | ~~~~~~~~^~~~ chbg.c: In function 'set_root_ebg': chbg.c:1454:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1454 | system (command); | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/chbg-2.0.1-build/chbg-2.0.1/src' make: *** [Makefile:435: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.T5blVV (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.T5blVV (%build) I: [iurt_root_command] ERROR: chroot