<86>Nov 30 10:20:44 userdel[25144]: delete user 'rooter' <86>Nov 30 10:20:44 userdel[25144]: removed group 'rooter' owned by 'rooter' <86>Nov 30 10:20:44 userdel[25144]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 30 10:20:44 groupadd[25201]: group added to /etc/group: name=rooter, GID=549 <86>Nov 30 10:20:44 groupadd[25201]: group added to /etc/gshadow: name=rooter <86>Nov 30 10:20:44 groupadd[25201]: new group: name=rooter, GID=549 <86>Nov 30 10:20:44 useradd[25217]: new user: name=rooter, UID=549, GID=549, home=/root, shell=/bin/bash <86>Nov 30 10:20:44 userdel[25246]: delete user 'builder' <86>Nov 30 10:20:44 userdel[25246]: removed group 'builder' owned by 'builder' <86>Nov 30 10:20:44 userdel[25246]: removed shadow group 'builder' owned by 'builder' <86>Nov 30 10:20:44 groupadd[25266]: group added to /etc/group: name=builder, GID=550 <86>Nov 30 10:20:44 groupadd[25266]: group added to /etc/gshadow: name=builder <86>Nov 30 10:20:44 groupadd[25266]: new group: name=builder, GID=550 <86>Nov 30 10:20:44 useradd[25282]: new user: name=builder, UID=550, GID=550, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/lgeneral-1.2-alt5.2.src.rpm: The use of such a license name is ambiguous: GPL <13>Nov 30 10:20:51 rpmi: libglvnd-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 30 10:20:51 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598661 installed <13>Nov 30 10:20:51 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551973321 installed <13>Nov 30 10:20:51 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744475 installed <13>Nov 30 10:20:51 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Nov 30 10:20:51 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Nov 30 10:20:51 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Nov 30 10:20:51 rpmi: libOpenGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 30 10:20:51 rpmi: libGLES-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 30 10:20:51 rpmi: libnatspec-0.3.1-alt2 1445691580 installed <13>Nov 30 10:20:51 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890149 installed <13>Nov 30 10:20:51 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Nov 30 10:20:51 rpmi: libgsm-1.0.17-alt1 1523356165 installed <13>Nov 30 10:20:51 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333068 installed <13>Nov 30 10:20:51 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Nov 30 10:20:51 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Nov 30 10:20:51 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Nov 30 10:20:52 rpmi: libsystemd-1:243.4-alt1 sisyphus+241522.200.3.1 1574779014 installed <13>Nov 30 10:20:52 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Nov 30 10:20:52 rpmi: libasyncns-0.8-alt2.qa1 1365949820 installed <13>Nov 30 10:20:52 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Nov 30 10:20:52 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Nov 30 10:20:52 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Nov 30 10:20:52 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Nov 30 10:20:52 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Nov 30 10:20:52 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Nov 30 10:20:52 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Nov 30 10:20:52 rpmi: libpulseaudio-13.0-alt2 sisyphus+240493.100.1.1 1573226515 installed <13>Nov 30 10:20:52 rpmi: libmikmod-3.3.11.1-alt2 1502706814 installed <13>Nov 30 10:20:52 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Nov 30 10:20:52 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Nov 30 10:20:52 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Nov 30 10:20:52 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Nov 30 10:20:52 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Nov 30 10:20:54 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593801 installed <13>Nov 30 10:20:54 rpmi: libX11-devel-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Nov 30 10:20:54 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872805 installed <13>Nov 30 10:20:54 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Nov 30 10:20:54 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599774 installed <13>Nov 30 10:20:54 rpmi: libGLX-mesa-4:19.2.6-alt2 sisyphus+241659.200.1.1 1574755628 installed <13>Nov 30 10:20:54 rpmi: libGLX-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 30 10:20:54 rpmi: libGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 30 10:20:54 rpmi: libGLU-4:9.0.0-alt1 1347643784 installed <13>Nov 30 10:20:54 rpmi: libgbm-4:19.2.6-alt2 sisyphus+241659.200.1.1 1574755628 installed <13>Nov 30 10:20:54 rpmi: libEGL-mesa-4:19.2.6-alt2 sisyphus+241659.200.1.1 1574755628 installed <13>Nov 30 10:20:54 rpmi: libEGL-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 30 10:20:54 rpmi: libglvnd-devel-7:1.2.0-alt4 sisyphus+241659.100.1.1 1574755345 installed <13>Nov 30 10:20:54 rpmi: libGL-devel-4:19.2.6-alt2 sisyphus+241659.200.1.1 1574755628 installed <13>Nov 30 10:20:54 rpmi: libGLU-devel-4:9.0.0-alt1 1347643784 installed <13>Nov 30 10:20:54 rpmi: alsa-ucm-conf-1.2.1-alt1 sisyphus+240942.200.4.1 1574247473 installed <13>Nov 30 10:20:54 rpmi: alsa-topology-conf-1.2.1-alt1 sisyphus+240942.100.4.1 1574247451 installed <13>Nov 30 10:20:54 rpmi: libalsa-1:1.2.1.1-alt1 sisyphus+241493.100.1.1 1574412510 installed <13>Nov 30 10:20:54 rpmi: libSDL-1.2.14-alt8 sisyphus+232545.100.1.1 1560879163 installed <13>Nov 30 10:20:54 rpmi: libSDL-devel-1.2.14-alt8 sisyphus+232545.100.1.1 1560879163 installed <13>Nov 30 10:20:54 rpmi: libSDL_mixer-1.2.12-alt1 1421435874 installed <13>Nov 30 10:20:54 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435874 installed <13>Nov 30 10:20:54 rpmi: unzip-6.0-alt2.qa1 1366155324 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/lgeneral-1.2-alt5.2.nosrc.rpm Installing lgeneral-1.2-alt5.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.5118 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf lgeneral-1.2beta-13 + echo 'Source #0 (lgeneral-1.2beta-13.tar.gz):' Source #0 (lgeneral-1.2beta-13.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/lgeneral-1.2beta-13.tar.gz + /bin/tar -xf - + cd lgeneral-1.2beta-13 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (lgeneral.patch):' Patch #0 (lgeneral.patch): + /usr/bin/patch -p2 patching file tools/ltrextract/Makefile.in Hunk #1 succeeded at 289 (offset 17 lines). + echo 'Patch #1 (lgeneral.build.patch):' Patch #1 (lgeneral.build.patch): + /usr/bin/patch -p1 patching file src/unit_lib.h + echo 'Patch #2 (lgeneral-1.2-alt-gettext.patch):' Patch #2 (lgeneral-1.2-alt-gettext.patch): + /usr/bin/patch -p2 patching file intl/Makefile.in + echo 'Patch #3 (lgeneral-1.2-alt-link.patch):' Patch #3 (lgeneral-1.2-alt-link.patch): + /usr/bin/patch -p2 patching file tools/ltrextract/Makefile.am + echo 'Patch #4 (lgeneral-1.2-alt-gcc6.patch):' Patch #4 (lgeneral-1.2-alt-gcc6.patch): + /usr/bin/patch -p2 patching file src/engine.c patching file src/misc.h patching file util/hashtable_itr.h + touch config.rpath + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.5118 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd lgeneral-1.2beta-13 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.in: not using Gettext autoreconf-default: running: aclocal --force aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:37: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS /usr/share/aclocal/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... /usr/share/aclocal/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... /usr/share/aclocal/threadlib.m4:318: gl_THREADLIB is expanded from... /usr/share/aclocal/lock.m4:9: gl_LOCK is expanded from... /usr/share/aclocal/intl.m4:211: gt_INTL_SUBDIR_CORE is expanded from... /usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from... /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.in:37: the top level configure.in:37: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS /usr/share/aclocal/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... /usr/share/aclocal/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... /usr/share/aclocal/threadlib.m4:318: gl_THREADLIB is expanded from... /usr/share/aclocal/lock.m4:9: gl_LOCK is expanded from... /usr/share/aclocal/intl.m4:211: gt_INTL_SUBDIR_CORE is expanded from... /usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from... /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.in:37: the top level autoreconf-default: configure.in: tracing configure.in:37: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:37: the top level configure.in:37: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:37: the top level autoreconf-default: configure.in: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION autoreconf-default: configure.in: not using Libtool autoreconf-default: configure.in: not using Intltool autoreconf-default: configure.in: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force configure.in:37: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:37: the top level configure.in:37: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:37: the top level autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoheader-2.60: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.60: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader-2.60: WARNING: is deprecated and discouraged. autoheader-2.60: autoheader-2.60: WARNING: Using the third argument of `AC_DEFINE' and autoheader-2.60: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without autoheader-2.60: WARNING: `acconfig.h': autoheader-2.60: autoheader-2.60: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader-2.60: [Define if a function `main' is needed.]) autoheader-2.60: autoheader-2.60: WARNING: More sophisticated templates can also be produced, see the autoheader-2.60: WARNING: documentation. configure.in:37: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:37: the top level configure.in:37: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:37: the top level autoreconf-default: running: automake --add-missing --force-missing automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:37: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:37: the top level configure.in:37: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS aclocal.m4:3693: gl_THREADLIB_EARLY_BODY is expanded from... aclocal.m4:3686: gl_THREADLIB_EARLY is expanded from... aclocal.m4:3975: gl_THREADLIB is expanded from... aclocal.m4:2773: gl_LOCK is expanded from... aclocal.m4:1344: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:1158: AM_INTL_SUBDIR is expanded from... aclocal.m4:342: AM_GNU_GETTEXT is expanded from... configure.in:37: the top level configure.in:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:8: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation lgc-pg/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake-default: warning: autoconf input should be named 'configure.ac', not 'configure.in' lged/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') lged/Makefile.am:9: warning: source file '$(LGED_REINF_PATH)/misc.c' is in a subdirectory, lged/Makefile.am:9: but option 'subdir-objects' is disabled automake-default: warning: possible forward-incompatibility. automake-default: At least a source file is in a subdirectory, but the 'subdir-objects' automake-default: automake option hasn't been enabled. For now, the corresponding output automake-default: object file(s) will be placed in the top-level directory. However, automake-default: this behaviour will change in future Automake versions: they will automake-default: unconditionally cause object files to be placed in the same subdirectory automake-default: of the corresponding sources. automake-default: You are advised to start using 'subdir-objects' option throughout your automake-default: project, to avoid future incompatibilities. lged/Makefile.am:9: warning: source file '$(LGED_REINF_PATH)/parser.c' is in a subdirectory, lged/Makefile.am:9: but option 'subdir-objects' is disabled lged/Makefile.am:9: warning: source file '$(LGED_REINF_PATH)/list.c' is in a subdirectory, lged/Makefile.am:9: but option 'subdir-objects' is disabled src/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') tools/ltrextract/Makefile.am:9: warning: source file '$(LGENERAL_PATH)/parser.c' is in a subdirectory, tools/ltrextract/Makefile.am:9: but option 'subdir-objects' is disabled tools/ltrextract/Makefile.am:9: warning: source file '$(LGENERAL_PATH)/list.c' is in a subdirectory, tools/ltrextract/Makefile.am:9: but option 'subdir-objects' is disabled util/Makefile.am:12: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-rpath --with-libintl-prefix=/usr checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking target system type... i586-alt-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for i586-alt-linux-gcc... i586-alt-linux-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 we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for main in -lm... yes checking for strcasestr... yes checking if mkdir rejects permissions... no checking for a sed that does not truncate output... /bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether we are using the GNU C Library 2 or newer... yes checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking for inline... inline checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for stdint.h... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking whether integer division by zero raises SIGFPE... yes checking for inttypes.h... yes checking for unsigned long long int... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether imported symbols can be declared weak... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for multithread API to use... posix checking for pthread_rwlock_t... yes checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for uselocale... yes checking for argz_count... yes checking for argz_stringify... yes checking for argz_next... yes checking for __fsetlocking... yes checking for getlocalename_l... no checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking for bison... bison checking version of bison... 3.0.5, ok checking for long long int... yes checking for wchar_t... yes checking for wint_t... yes checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for symlink... yes checking for working fcntl.h... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for ptrdiff_t... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for asprintf... yes checking for fwprintf... yes checking for newlocale... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... yes checking for wcrtomb... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for msgconv... /usr/bin/msgconv checking whether xgettext needs --from-code... yes checking for catalogs to be installed... en de checking if executable's path can be determined at runtime... no executable's path determination strategy... generic checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.1.4... yes checking for main in -lSDL_mixer... yes "SDL_Mixer found" checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lgc-pg/Makefile config.status: creating lgc-pg/convdata/Makefile config.status: creating lged/Makefile config.status: creating src/Makefile config.status: creating src/nations/Makefile config.status: creating src/scenarios/Makefile config.status: creating src/units/Makefile config.status: creating src/sounds/Makefile config.status: creating src/music/Makefile config.status: creating src/terrain/Makefile config.status: creating src/maps/Makefile config.status: creating src/gfx/Makefile config.status: creating src/gfx/flags/Makefile config.status: creating src/gfx/terrain/Makefile config.status: creating src/gfx/units/Makefile config.status: creating src/ai_modules/Makefile config.status: creating src/campaigns/Makefile config.status: creating src/themes/Makefile config.status: creating src/themes/default/Makefile config.status: creating util/Makefile config.status: creating intl/Makefile config.status: WARNING: 'intl/Makefile.in' seems to ignore the --datarootdir setting config.status: creating po/Makefile config.status: creating po/lgeneral/Makefile.in config.status: creating po/pg/Makefile.in config.status: creating tools/Makefile config.status: creating tools/ltrextract/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/lgeneral/POTFILES config.status: creating po/lgeneral/Makefile config.status: executing po-lgeneral commands config.status: executing po-pg commands + make make: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' make all-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' Making all in intl make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/intl' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/intl' Making all in util make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/util' i586-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o localize.o localize.c i586-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o hashtable.o hashtable.c i586-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o hashtable_itr.o hashtable_itr.c i586-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o hashtable_utility.o hashtable_utility.c i586-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o paths.o paths.c i586-alt-linux-gcc -DHAVE_CONFIG_H -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\" -I. -I.. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o portability.o portability.c rm -f libutil.a ar cru libutil.a localize.o hashtable.o hashtable_itr.o hashtable_utility.o paths.o portability.o ranlib libutil.a make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/util' Making all in lgc-pg make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg' Making all in convdata make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg/convdata' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg/convdata' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lgc_pg-main.o `test -f 'main.c' || echo './'`main.c main.c: In function 'main': main.c:104:9: warning: variable 'tacicons_used' set but not used [-Wunused-but-set-variable] 104 | int tacicons_used; | ^~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lgc_pg-units.o `test -f 'units.c' || echo './'`units.c In file included from units.c:26: misc.h:58:12: warning: inline function 'timed_out' declared but never defined 58 | inline int timed_out( Delay *delay, int ms ); | ^~~~~~~~~ misc.h:55:13: warning: inline function 'reset_delay' declared but never defined 55 | inline void reset_delay( Delay *delay ); | ^~~~~~~~~~~ misc.h:52:13: warning: inline function 'set_delay' declared but never defined 52 | inline void set_delay( Delay *delay, int ms ); | ^~~~~~~~~ units.c: In function 'units_convert_database': units.c:421:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 421 | fread( &entry_count, 2, 1, source_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c: In function 'units_read_entry': units.c:225:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 225 | fread( entry->name, 1, 20, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:226:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 226 | fread( &entry->class, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:227:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 227 | fread( &entry->atk_soft, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:228:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 228 | fread( &entry->atk_hard, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:229:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 229 | fread( &entry->atk_air, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:230:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 230 | fread( &entry->atk_naval, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:231:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 231 | fread( &entry->def_ground, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:232:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 232 | fread( &entry->def_air, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:233:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 233 | fread( &entry->def_close, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:234:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 234 | fread( &entry->target_type,1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:235:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 235 | fread( &entry->aaf, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:236:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 236 | fread( dummy, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:237:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 237 | fread( &entry->init, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:238:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 238 | fread( &entry->range, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:239:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 239 | fread( &entry->spot, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:240:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 240 | fread( &entry->agf, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:241:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 241 | fread( &entry->move_type, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:242:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 242 | fread( &entry->move, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:243:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 243 | fread( &entry->fuel, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:244:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 244 | fread( &entry->ammo, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:245:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 245 | fread( dummy, 2, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:246:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 246 | fread( &entry->cost, 1, 1, file ); entry->cost *= 10; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:247:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 247 | fread( &entry->pic_id, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:248:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 248 | fread( dummy, 3, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:249:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 249 | fread( &entry->month, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:250:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 250 | fread( &entry->year, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:251:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 251 | fread( &entry->last_year, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ units.c:252:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 252 | fread( dummy, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lgc_pg-shp.o `test -f 'shp.c' || echo './'`shp.c In file included from shp.c:24: misc.h:58:12: warning: inline function 'timed_out' declared but never defined 58 | inline int timed_out( Delay *delay, int ms ); | ^~~~~~~~~ misc.h:55:13: warning: inline function 'reset_delay' declared but never defined 55 | inline void reset_delay( Delay *delay ); | ^~~~~~~~~~~ misc.h:52:13: warning: inline function 'set_delay' declared but never defined 52 | inline void set_delay( Delay *delay, int ms ); | ^~~~~~~~~ shp.c: In function 'shp_load': shp.c:301:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 301 | fread( &dummy, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:305:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 305 | fread( &shp->count, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:313:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 313 | fread( &pos, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:315:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 315 | fread( &dummy, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:335:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 335 | fread( &pos, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:337:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 337 | fread( &pal_pos, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c: In function 'shp_read_palette': shp.c:194:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 194 | fread( &count, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:197:17: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 197 | id = 0; fread( &id, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~ shp.c:199:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 199 | part = 0; fread( &part, 1, 1, file ); pal[id].r = part * 4; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:200:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 200 | part = 0; fread( &part, 1, 1, file ); pal[id].g = part * 4; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:201:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 201 | part = 0; fread( &part, 1, 1, file ); pal[id].b = part * 4; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c: In function 'shp_read_icon_header': shp.c:145:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 145 | fread( &header->height, 2, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:148:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 148 | fread( &header->width, 2, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:151:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 151 | fread( &header->cx, 2, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:153:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 153 | fread( &header->cy, 2, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:155:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 155 | fread( &header->x1, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:157:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 157 | fread( &header->y1, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:159:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 159 | fread( &header->x2, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:161:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 161 | fread( &header->y2, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c: In function 'shp_read_icon': shp.c:219:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 219 | buf = 0; fread( &buf, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:223:22: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 223 | buf = 0; fread( &buf, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:236:30: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 236 | buf = 0; fread( &buf, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:243:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 243 | buf = 0; fread( &buf, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lgc_pg-nations.o `test -f 'nations.c' || echo './'`nations.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lgc_pg-terrain.o `test -f 'terrain.c' || echo './'`terrain.c In file included from terrain.c:25: misc.h:58:12: warning: inline function 'timed_out' declared but never defined 58 | inline int timed_out( Delay *delay, int ms ); | ^~~~~~~~~ misc.h:55:13: warning: inline function 'reset_delay' declared but never defined 55 | inline void reset_delay( Delay *delay ); | ^~~~~~~~~~~ misc.h:52:13: warning: inline function 'set_delay' declared but never defined 52 | inline void set_delay( Delay *delay, int ms ); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lgc_pg-maps.o `test -f 'maps.c' || echo './'`maps.c In file included from maps.c:25: misc.h:58:12: warning: inline function 'timed_out' declared but never defined 58 | inline int timed_out( Delay *delay, int ms ); | ^~~~~~~~~ misc.h:55:13: warning: inline function 'reset_delay' declared but never defined 55 | inline void reset_delay( Delay *delay ); | ^~~~~~~~~~~ misc.h:52:13: warning: inline function 'set_delay' declared but never defined 52 | inline void set_delay( Delay *delay, int ms ); | ^~~~~~~~~ maps.c: In function 'maps_convert': maps.c:159:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 159 | fread( &width, 2, 1, source_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maps.c:162:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 162 | fread( &height, 2, 1, source_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maps.c:172:17: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 172 | fread( &tile_id, 2, 1, source_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maps.c:185:27: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 185 | ibuf = 0; fread( &ibuf, 2, 1, source_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maps.c: In function 'tile_get_name': maps.c:75:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 75 | fread( buf, 20, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ maps.c: In function 'maps_convert': maps.c:60:25: warning: '%i' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 60 | sprintf( string, "%c%i", type, sub_id ); | ^~ maps.c:60:22: note: directive argument in the range [0, 2147483647] 60 | sprintf( string, "%c%i", type, sub_id ); | ^~~~~~ In file included from /usr/include/stdio.h:867, from maps.c:18: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 12 bytes into a destination of size 8 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lgc_pg-scenarios.o `test -f 'scenarios.c' || echo './'`scenarios.c scenarios.c: In function 'scenarios_convert': scenarios.c:720:27: warning: variable 'def_entr' set but not used [-Wunused-but-set-variable] 720 | int def_str, def_exp, def_entr; | ^~~~~~~~ In file included from scenarios.c:25: scenarios.c: At top level: misc.h:58:12: warning: inline function 'timed_out' declared but never defined 58 | inline int timed_out( Delay *delay, int ms ); | ^~~~~~~~~ misc.h:55:13: warning: inline function 'reset_delay' declared but never defined 55 | inline void reset_delay( Delay *delay ); | ^~~~~~~~~~~ misc.h:52:13: warning: inline function 'set_delay' declared but never defined 52 | inline void set_delay( Delay *delay, int ms ); | ^~~~~~~~~ scenarios.c: In function 'scen_add_flags': scenarios.c:260:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 260 | fread( &vic_hexes[i * 2], 2, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:262:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 262 | fread( &vic_hexes[i * 2 + 1], 2, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:280:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 280 | fread( &width, 2, 1, map_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:283:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 283 | fread( &height, 2, 1, map_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:290:23: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 290 | ibuf = 0; fread( &ibuf, 1, 1, map_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c: In function 'scen_create_random_weather': scenarios.c:335:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 335 | fread( &init_cond, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:336:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 336 | fread( ®ion, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c: In function 'scen_create_unit': scenarios.c:456:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 456 | fread( &id, 2, 1, scen_file ); /* icon id */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:458:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 458 | fread( &org_trsp_id, 2, 1, scen_file ); /* transporter of organic unit */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:460:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 460 | fread( &nation, 1, 1, scen_file ); nation--; /* nation + 1 */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:461:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 461 | fread( &trsp_id, 2, 1, scen_file ); /* sea/air transport */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:463:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 463 | fread( &x, 2, 1, scen_file ); /* x */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:465:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 465 | fread( &y, 2, 1, scen_file ); /* y */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:467:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 467 | fread( &str, 1, 1, scen_file ); /* strength */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:468:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 468 | fread( &entr, 1, 1, scen_file ); /* entrenchment */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:469:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 469 | fread( &exp, 1, 1, scen_file ); /* experience */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c: In function 'scenarios_convert': scenarios.c:762:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 762 | fread( dummy, 14, 1, aux_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:765:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 765 | fread( dummy, 160, 1, aux_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:781:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 781 | day = 0; fread( &day, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:782:20: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 782 | month = 0; fread( &month, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:783:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 783 | year = 0; fread( &year, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:787:20: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 787 | turns = 0; fread( &turns, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:790:28: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 790 | turns_per_day = 0; fread( &turns_per_day, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:792:28: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 792 | days_per_turn = 0; fread( &days_per_turn, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:823:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 823 | ibuf = 0; fread( &ibuf, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:828:47: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 828 | fseek( scen_file, 27, SEEK_SET ); fread( &dummy, 6, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:833:49: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 833 | fseek( scen_file, 0x75, SEEK_SET ); fread( &dummy, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:834:60: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 834 | fseek( scen_file, dummy[0]*4+0x77, SEEK_SET ); fread( &dummy, 4, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:860:26: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 860 | axis_orient = 0; fread( &axis_orient, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:867:25: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 867 | axis_strat = 0; fread( &axis_strat, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:886:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 886 | ibuf = 0; fread( &ibuf, 2, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:892:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 892 | ibuf = 0; fread( &ibuf, 2, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:920:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 920 | ibuf = 0; fread( &ibuf, 2, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:926:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 926 | ibuf = 0; fread( &ibuf, 2, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:956:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 956 | ibuf = 0; fread( &ibuf, 2, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:962:23: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 962 | ibuf = 0; fread( &ibuf, 2, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:964:23: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 964 | ibuf = 0; fread( &ibuf, 2, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:980:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 980 | ibuf = 0; fread( &ibuf, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:982:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 982 | ibuf = 0; fread( &ibuf, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scenarios.c:984:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 984 | ibuf = 0; fread( &ibuf, 1, 1, scen_file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lgc_pg-list.o `test -f 'list.c' || echo './'`list.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lgc_pg-misc.o `test -f 'misc.c' || echo './'`misc.c misc.c: In function 'copy': misc.c:389:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 389 | fread( buffer, sizeof( char ), size, source ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lgc_pg-parser.o `test -f 'parser.c' || echo './'`parser.c In file included from parser.c:21: misc.h:58:12: warning: inline function 'timed_out' declared but never defined 58 | inline int timed_out( Delay *delay, int ms ); | ^~~~~~~~~ misc.h:55:13: warning: inline function 'reset_delay' declared but never defined 55 | inline void reset_delay( Delay *delay ); | ^~~~~~~~~~~ misc.h:52:13: warning: inline function 'set_delay' declared but never defined 52 | inline void set_delay( Delay *delay, int ms ); | ^~~~~~~~~ parser.c: In function 'parser_read_file': parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:501:5: note: in expansion of macro 'FILE_READCHAR' 501 | FILE_READCHAR( file, magic ); | ^~~~~~~~~~~~~ parser.c:510:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 510 | fread( cbuffer, 1, size, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'file_read_token_intern': parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:154:5: note: in expansion of macro 'FILE_READCHAR' 154 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:162:9: note: in expansion of macro 'FILE_READCHAR' 162 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:171:13: note: in expansion of macro 'FILE_READCHAR' 171 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:195:9: note: in expansion of macro 'FILE_READCHAR' 195 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ parser.c: In function 'file_skip': parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:129:5: note: in expansion of macro 'FILE_READCHAR' 129 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:131:9: note: in expansion of macro 'FILE_READCHAR' 131 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ parser.c: In function 'parser_set_parse_error': parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:96:9: note: in expansion of macro 'FILE_READCHAR' 96 | FILE_READCHAR( file, c ); pos++; | ^~~~~~~~~~~~~ parser.c: In function 'parser_set_parse_error.constprop': parser.c:99:37: warning: '%s' directive writing up to 1023 bytes into a region of size between 1010 and 1019 [-Wformat-overflow=] 99 | sprintf( parser_error, "%s: %i: %s", | ^~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 1038) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_parse_file': parser.c:302:69: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 302 | sprintf( parser_sub_error, "parse error before '%s'", token ); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:340:61: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 340 | sprintf( parser_sub_error, "parse error before '%s'", token ); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:286:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 286 | sprintf( parser_sub_error, "parse error before '%s'", token ); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_pdata': parser.c:601:54: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] 601 | sprintf( parser_error, "parser_get_pdata: %s/%s: %s", pd->name, name, parser_sub_error ); | ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_entries': parser.c:611:59: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] 611 | sprintf( parser_sub_error, "parser_get_entries:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_values': parser.c:627:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 627 | sprintf( parser_sub_error, "parser_get_values:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_value': parser.c:642:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1005 [-Wformat-overflow=] 642 | sprintf( parser_sub_error, "parser_get_value:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_int': parser.c:658:55: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 658 | sprintf( parser_sub_error, "parser_get_int:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_double': parser.c:669:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 669 | sprintf( parser_sub_error, "parser_get_double:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_string': parser.c:680:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 680 | sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -o lgc-pg lgc_pg-main.o lgc_pg-units.o lgc_pg-shp.o lgc_pg-nations.o lgc_pg-terrain.o lgc_pg-maps.o lgc_pg-scenarios.o lgc_pg-list.o lgc_pg-misc.o lgc_pg-parser.o ../util/libutil.a -lSDL -lpthread i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DSHPTOOL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o shptool-shptool.o `test -f 'shptool.c' || echo './'`shptool.c In file included from shptool.c:39: misc.h:58:12: warning: inline function 'timed_out' declared but never defined 58 | inline int timed_out( Delay *delay, int ms ); | ^~~~~~~~~ misc.h:55:13: warning: inline function 'reset_delay' declared but never defined 55 | inline void reset_delay( Delay *delay ); | ^~~~~~~~~~~ misc.h:52:13: warning: inline function 'set_delay' declared but never defined 52 | inline void set_delay( Delay *delay, int ms ); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DSHPTOOL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o shptool-misc.o `test -f 'misc.c' || echo './'`misc.c misc.c: In function 'copy': misc.c:389:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 389 | fread( buffer, sizeof( char ), size, source ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DSHPTOOL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o shptool-shp.o `test -f 'shp.c' || echo './'`shp.c In file included from shp.c:24: misc.h:58:12: warning: inline function 'timed_out' declared but never defined 58 | inline int timed_out( Delay *delay, int ms ); | ^~~~~~~~~ misc.h:55:13: warning: inline function 'reset_delay' declared but never defined 55 | inline void reset_delay( Delay *delay ); | ^~~~~~~~~~~ misc.h:52:13: warning: inline function 'set_delay' declared but never defined 52 | inline void set_delay( Delay *delay, int ms ); | ^~~~~~~~~ shp.c: In function 'shp_load': shp.c:301:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 301 | fread( &dummy, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:305:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 305 | fread( &shp->count, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:313:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 313 | fread( &pos, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:315:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 315 | fread( &dummy, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:335:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 335 | fread( &pos, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:337:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 337 | fread( &pal_pos, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c: In function 'shp_read_palette': shp.c:194:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 194 | fread( &count, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:197:17: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 197 | id = 0; fread( &id, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~ shp.c:199:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 199 | part = 0; fread( &part, 1, 1, file ); pal[id].r = part * 4; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:200:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 200 | part = 0; fread( &part, 1, 1, file ); pal[id].g = part * 4; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:201:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 201 | part = 0; fread( &part, 1, 1, file ); pal[id].b = part * 4; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c: In function 'shp_read_icon_header': shp.c:145:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 145 | fread( &header->height, 2, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:148:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 148 | fread( &header->width, 2, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:151:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 151 | fread( &header->cx, 2, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:153:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 153 | fread( &header->cy, 2, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:155:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 155 | fread( &header->x1, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:157:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 157 | fread( &header->y1, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:159:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 159 | fread( &header->x2, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:161:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 161 | fread( &header->y2, 4, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shp.c: In function 'shp_read_icon': shp.c:219:18: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 219 | buf = 0; fread( &buf, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:223:22: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 223 | buf = 0; fread( &buf, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:236:30: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 236 | buf = 0; fread( &buf, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ shp.c:243:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 243 | buf = 0; fread( &buf, 1, 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DSHPTOOL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -o shptool shptool-shptool.o shptool-misc.o shptool-shp.o ../util/libutil.a -lSDL -lpthread make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg' Making all in lged make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lged' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lgeneral-redit/src -DCMDLINE_ONLY -DTOP_SRCDIR=\"..\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lged-lged.o `test -f 'lged.c' || echo './'`lged.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lgeneral-redit/src -DCMDLINE_ONLY -DTOP_SRCDIR=\"..\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lged-misc.o `test -f '../lgeneral-redit/src/misc.c' || echo './'`../lgeneral-redit/src/misc.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lgeneral-redit/src -DCMDLINE_ONLY -DTOP_SRCDIR=\"..\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lged-parser.o `test -f '../lgeneral-redit/src/parser.c' || echo './'`../lgeneral-redit/src/parser.c ../lgeneral-redit/src/parser.c: In function 'parser_read_file': ../lgeneral-redit/src/parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:501:5: note: in expansion of macro 'FILE_READCHAR' 501 | FILE_READCHAR( file, magic ); | ^~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:510:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 510 | fread( cbuffer, 1, size, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'file_read_token_intern': ../lgeneral-redit/src/parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:154:5: note: in expansion of macro 'FILE_READCHAR' 154 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:162:9: note: in expansion of macro 'FILE_READCHAR' 162 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:171:13: note: in expansion of macro 'FILE_READCHAR' 171 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:195:9: note: in expansion of macro 'FILE_READCHAR' 195 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'file_skip': ../lgeneral-redit/src/parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:129:5: note: in expansion of macro 'FILE_READCHAR' 129 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:131:9: note: in expansion of macro 'FILE_READCHAR' 131 | FILE_READCHAR( file, c ); | ^~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_set_parse_error': ../lgeneral-redit/src/parser.c:60:34: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 60 | #define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:96:9: note: in expansion of macro 'FILE_READCHAR' 96 | FILE_READCHAR( file, c ); pos++; | ^~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_set_parse_error.constprop': ../lgeneral-redit/src/parser.c:99:37: warning: '%s' directive writing up to 1023 bytes into a region of size between 1010 and 1019 [-Wformat-overflow=] 99 | sprintf( parser_error, "%s: %i: %s", | ^~ In file included from /usr/include/stdio.h:867, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 1038) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_parse_file': ../lgeneral-redit/src/parser.c:302:69: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 302 | sprintf( parser_sub_error, "parse error before '%s'", token ); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:340:61: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 340 | sprintf( parser_sub_error, "parse error before '%s'", token ); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c:286:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 286 | sprintf( parser_sub_error, "parse error before '%s'", token ); | ^~ ~~~~~ In file included from /usr/include/stdio.h:867, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_pdata': ../lgeneral-redit/src/parser.c:601:54: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] 601 | sprintf( parser_error, "parser_get_pdata: %s/%s: %s", pd->name, name, parser_sub_error ); | ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_entries': ../lgeneral-redit/src/parser.c:611:59: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] 611 | sprintf( parser_sub_error, "parser_get_entries:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_values': ../lgeneral-redit/src/parser.c:627:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 627 | sprintf( parser_sub_error, "parser_get_values:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_value': ../lgeneral-redit/src/parser.c:642:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1005 [-Wformat-overflow=] 642 | sprintf( parser_sub_error, "parser_get_value:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_int': ../lgeneral-redit/src/parser.c:658:55: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 658 | sprintf( parser_sub_error, "parser_get_int:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_double': ../lgeneral-redit/src/parser.c:669:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 669 | sprintf( parser_sub_error, "parser_get_double:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lgeneral-redit/src/parser.c: In function 'parser_get_string': ../lgeneral-redit/src/parser.c:680:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 680 | sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../lgeneral-redit/src/parser.h:23, from ../lgeneral-redit/src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lgeneral-redit/src -DCMDLINE_ONLY -DTOP_SRCDIR=\"..\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o lged-list.o `test -f '../lgeneral-redit/src/list.c' || echo './'`../lgeneral-redit/src/list.c i586-alt-linux-gcc -DCMDLINE_ONLY -DTOP_SRCDIR=\"..\" -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -o lged lged-lged.o lged-misc.o lged-parser.o lged-list.o ../util/libutil.a make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lged' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src' Making all in gfx make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx' Making all in flags make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/flags' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/flags' Making all in terrain make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/terrain' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/terrain' Making all in units make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/units' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/units' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx' Making all in themes make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes' Making all in default make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes/default' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes/default' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes' Making all in campaigns make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/campaigns' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/campaigns' Making all in maps make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/maps' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/maps' Making all in nations make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/nations' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/nations' Making all in sounds make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/sounds' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/sounds' Making all in music make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/music' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/music' Making all in units make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/units' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/units' Making all in scenarios make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/scenarios' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/scenarios' Making all in ai_modules make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/ai_modules' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/ai_modules' Making all in terrain make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/terrain' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/terrain' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o main.o main.c In file included from lgeneral.h:41, from main.c:26: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o config.o config.c In file included from config.c:25: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ config.c: In function 'load_config': config.c:93:29: warning: '%s' directive writing 13 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 93 | sprintf( file_name, "%s/%s", config.dir_name, "lgeneral.conf" ); | ^~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from config.c:18: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 526 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c: In function 'save_config': config.c:124:29: warning: '%s' directive writing 13 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 124 | sprintf( file_name, "%s/%s", config.dir_name, "lgeneral.conf" ); | ^~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from config.c:18: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 526 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o date.o date.c i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o file.o file.c i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o map.o map.c In file included from lgeneral.h:41, from map.c:18: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o nation.o nation.c nation.c: In function 'nations_delete': nation.c:106:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 106 | if ( nation_flags ) SDL_FreeSurface ( nation_flags ); nation_flags = 0; | ^~ nation.c:106:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 106 | if ( nation_flags ) SDL_FreeSurface ( nation_flags ); nation_flags = 0; | ^~~~~~~~~~~~ In file included from nation.c:22: nation.c: At top level: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o player.o player.c In file included from lgeneral.h:41, from player.c:21: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o scenario.o scenario.c In file included from lgeneral.h:41, from scenario.c:18: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ scenario.c: In function 'scen_check_result': scenario.c:862:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 862 | fgets(scen_result, sizeof scen_result, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o sdl.o sdl.c sdl.c: In function 'set_video_mode': sdl.c:588:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 588 | if (sdl.screen) SDL_FreeSurface( sdl.screen ); sdl.screen = 0; | ^~ sdl.c:588:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 588 | if (sdl.screen) SDL_FreeSurface( sdl.screen ); sdl.screen = 0; | ^~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o misc.o misc.c In file included from misc.c:22: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o unit.o unit.c unit.c: In function 'unit_get_damage': unit.c:837:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 837 | if (suppr_chance<0) suppr_chance=0; if (kill_chance<0) kill_chance=0; | ^~ unit.c:837:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 837 | if (suppr_chance<0) suppr_chance=0; if (kill_chance<0) kill_chance=0; | ^~ In file included from lgeneral.h:41, from unit.c:18: unit.c: At top level: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o audio.o audio.c i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o parser.o parser.c parser.c: In function 'parser_read_file': parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:516:5: note: in expansion of macro 'FILE_READCHAR' 516 | FILE_READCHAR( st, st->ch ); | ^~~~~~~~~~~~~ parser.c:526:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 526 | fread( cbuffer, 1, size, st->file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_read_token': parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:188:9: note: in expansion of macro 'FILE_READCHAR' 188 | FILE_READCHAR(st, ch); | ^~~~~~~~~~~~~ parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:205:9: note: in expansion of macro 'FILE_READCHAR' 205 | FILE_READCHAR(st, ch); | ^~~~~~~~~~~~~ parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:212:9: note: in expansion of macro 'FILE_READCHAR' 212 | FILE_READCHAR(st, ch); /* skip leading quote */ | ^~~~~~~~~~~~~ parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:217:13: note: in expansion of macro 'FILE_READCHAR' 217 | FILE_READCHAR(st, ch); | ^~~~~~~~~~~~~ parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:225:13: note: in expansion of macro 'FILE_READCHAR' 225 | FILE_READCHAR(st, ch); /* skip trailing quote */ | ^~~~~~~~~~~~~ parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:236:17: note: in expansion of macro 'FILE_READCHAR' 236 | FILE_READCHAR(st, ch); | ^~~~~~~~~~~~~ parser.c: In function 'parser_read_file': parser.c:159:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] 159 | snprintf( parser_error, sizeof parser_error, "%s: %i: %s", | ^~ ...... 532 | parser_set_parse_error( st, parser_sub_error ); | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c:159:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] 159 | snprintf( parser_error, sizeof parser_error, "%s: %i: %s", | ^~ ...... 539 | parser_set_parse_error( st, parser_sub_error ); | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_pdata': parser.c:658:54: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] 658 | sprintf( parser_error, "parser_get_pdata: %s/%s: %s", pd->name, name, parser_sub_error ); | ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_entries': parser.c:668:59: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] 668 | sprintf( parser_sub_error, "parser_get_entries:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_values': parser.c:684:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 684 | sprintf( parser_sub_error, "parser_get_values:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_value': parser.c:699:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1005 [-Wformat-overflow=] 699 | sprintf( parser_sub_error, "parser_get_value:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_int': parser.c:715:55: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 715 | sprintf( parser_sub_error, "parser_get_int:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_double': parser.c:726:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 726 | sprintf( parser_sub_error, "parser_get_double:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_string': parser.c:737:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 737 | sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ parser.c: In function 'parser_get_localized_string': parser.c:755:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 755 | sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from parser.h:23, from parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o list.o list.c i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o unit_lib.o unit_lib.c unit_lib.c: In function 'unit_lib_load': unit_lib.c:366:50: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 366 | if ( !parser_get_int( sub, "initiative", &unit->ini ) ) goto parser_failure; | ^~~~~~~~~~ unit_lib.c:368:48: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 368 | if ( !parser_get_int( sub, "spotting", &unit->spt ) ) goto parser_failure; | ^~~~~~~~~~ unit_lib.c:370:48: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 370 | if ( !parser_get_int( sub, "movement", &unit->mov ) ) goto parser_failure; | ^~~~~~~~~~ unit_lib.c:380:44: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 380 | if ( !parser_get_int( sub, "fuel", &unit->fuel ) ) goto parser_failure; | ^~~~~~~~~~~ unit_lib.c:382:45: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 382 | if ( !parser_get_int( sub, "range", &unit->rng ) ) goto parser_failure; | ^~~~~~~~~~ unit_lib.c:384:44: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 384 | if ( !parser_get_int( sub, "ammo", &unit->ammo ) ) goto parser_failure; | ^~~~~~~~~~~ unit_lib.c:386:52: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 386 | if ( !parser_get_int( sub, "attack/count", &unit->atk_count ) ) goto parser_failure; | ^~~~~~~~~~~~~~~~ unit_lib.c:390:61: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 390 | if ( !parser_get_int( subsub, trgt_types[i].id, &unit->atks[i] ) ) goto parser_failure; | ^~~~~~~~~~~~~~ unit_lib.c:392:50: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 392 | if ( !parser_get_int( sub, "def_ground", &unit->def_grnd ) ) goto parser_failure; | ^~~~~~~~~~~~~~~ unit_lib.c:394:47: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 394 | if ( !parser_get_int( sub, "def_air", &unit->def_air ) ) goto parser_failure; | ^~~~~~~~~~~~~~ unit_lib.c:396:49: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 396 | if ( !parser_get_int( sub, "def_close", &unit->def_cls ) ) goto parser_failure; | ^~~~~~~~~~~~~~ unit_lib.c:412:44: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 412 | parser_get_int( sub, "start_year", &unit->start_year ); | ^~~~~~~~~~~~~~~~~ unit_lib.c:413:45: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 413 | parser_get_int( sub, "start_month", &unit->start_month ); | ^~~~~~~~~~~~~~~~~~ unit_lib.c:414:42: warning: taking address of packed member of 'struct ' may result in an unaligned pointer value [-Waddress-of-packed-member] 414 | parser_get_int( sub, "end_year", &unit->end_year ); | ^~~~~~~~~~~~~~~ In file included from lgeneral.h:41, from unit_lib.c:18: unit_lib.c: At top level: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o terrain.o terrain.c In file included from lgeneral.h:41, from terrain.c:18: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o image.o image.c In file included from image.c:20: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o slot.o slot.c slot.c: In function 'load_unit_lib_entry': slot.c:403:11: warning: variable 'p' set but not used [-Wunused-but-set-variable] 403 | void *p; | ^ In file included from lgeneral.h:41, from slot.c:21: slot.c: At top level: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ slot.c: In function 'load_unit': slot.c:494:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 494 | fread(unit->name, UnitNameSize, 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slot.c:550:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 550 | fread(unit->tag, UnitTagSize, 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slot.c: In function 'load_string': slot.c:205:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 205 | fread( &length, sizeof( int ), 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slot.c:207:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 207 | fread( str, sizeof( char ), length, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slot.c: In function 'slot_read_name': slot.c:122:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 122 | fread( slot->name, sizeof( slot->name ), 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slot.c: In function 'slot_load': slot.c:884:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 884 | fread( &store_version, sizeof( int ), 1, file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slot.c: In function 'slots_init': slot.c:728:39: warning: '%s' directive writing up to 511 bytes into a region of size 256 [-Wformat-overflow=] 728 | sprintf( slots[i].fname, "%s/%s", config.dir_name, entry->d_name ); | ^~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from slot.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 768 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slot.c: In function 'slot_save': slot.c:803:23: warning: '/lg_save_' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 803 | sprintf( path, "%s/lg_save_%i", config.dir_name, id ); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from slot.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 532 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slot.c: In function 'slot_load': slot.c:871:23: warning: '/lg_save_' directive writing 9 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 871 | sprintf( path, "%s/lg_save_%i", config.dir_name, id ); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from slot.c:21: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 532 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o gui.o gui.c In file included from lgeneral.h:41, from gui.c:18: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ gui.c: In function 'gui_show_conds': gui.c:1118:27: warning: '':' directive writing 2 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 1118 | sprintf( str, "'%s':", vconds[i].message ); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from gui.c:18: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 131 bytes into a destination of size 128 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o event.o event.c In file included from lgeneral.h:41, from event.c:18: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o windows.o windows.c windows.c: In function 'lbox_handle_button': windows.c:638:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 638 | if ( lbox->cell_offset < 0 ) | ^~ windows.c:640:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 640 | lbox_apply( lbox ); | ^~~~~~~~~~ In file included from lgeneral.h:41, from windows.c:18: windows.c: At top level: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ windows.c: In function 'fdlg_handle_button': windows.c:870:41: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] 870 | sprintf( path, "%s/%s", fdlg->subdir, fname ); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from windows.c:18: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows.c:861:41: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] 861 | sprintf( path, "%s/%s", fdlg->root, fdlg->subdir ); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from windows.c:18: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 2048 bytes into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o action.o action.c In file included from lgeneral.h:41, from action.c:18: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o campaign.o campaign.c campaign.c: In function 'camp_delete': campaign.c:270:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 270 | if ( camp_fname ) free( camp_fname ); camp_fname = 0; | ^~ campaign.c:270:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 270 | if ( camp_fname ) free( camp_fname ); camp_fname = 0; | ^~~~~~~~~~ campaign.c:271:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 271 | if ( camp_name ) free( camp_name ); camp_name = 0; | ^~ campaign.c:271:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 271 | if ( camp_name ) free( camp_name ); camp_name = 0; | ^~~~~~~~~ campaign.c:272:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 272 | if ( camp_desc ) free( camp_desc ); camp_desc = 0; | ^~ campaign.c:272:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 272 | if ( camp_desc ) free( camp_desc ); camp_desc = 0; | ^~~~~~~~~ campaign.c:273:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 273 | if ( camp_authors ) free( camp_authors ); camp_authors = 0; | ^~ campaign.c:273:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 273 | if ( camp_authors ) free( camp_authors ); camp_authors = 0; | ^~~~~~~~~~~~ campaign.c:274:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 274 | if ( camp_entries ) list_delete( camp_entries ); camp_entries = 0; | ^~ campaign.c:274:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 274 | if ( camp_entries ) list_delete( camp_entries ); camp_entries = 0; | ^~~~~~~~~~~~ In file included from lgeneral.h:41, from campaign.c:18: campaign.c: At top level: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o strat_map.o strat_map.c In file included from lgeneral.h:41, from strat_map.c:19: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o ai.o ai.c In file included from lgeneral.h:41, from ai.c:18: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o engine.o engine.c engine.c: In function 'engine_show_turn_info': engine.c:747:13: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 747 | while ( !engine_status_screen_dismissed() ) | ^~~~~ engine.c:748:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 748 | SDL_PumpEvents(); SDL_Delay( 20 ); | ^~~~~~~~~ In file included from lgeneral.h:41, from engine.c:22: engine.c: At top level: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ engine.c: In function 'engine_handle_button': engine.c:2342:37: warning: '%s' directive writing up to 1023 bytes into a region of size 512 [-Wformat-overflow=] 2342 | sprintf( path, "%s/%s", gui->module_dlg->subdir, (char*)gui->module_dlg->lbox->cur_item ); | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_main.h:26, from /usr/include/SDL/SDL.h:30, from lgeneral.h:26, from engine.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 512 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o ai_group.o ai_group.c In file included from lgeneral.h:41, from ai_group.c:18: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -DWITH_SOUND -I. -I.. -I../util -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o ai_tools.o ai_tools.c In file included from lgeneral.h:41, from ai_tools.c:18: sdl.h:130:13: warning: inline function 'flip_screen' declared but never defined 130 | inline void flip_screen(); | ^~~~~~~~~~~ sdl.h:129:13: warning: inline function 'unlock_screen' declared but never defined 129 | inline void unlock_screen(); | ^~~~~~~~~~~~~ sdl.h:128:13: warning: inline function 'lock_screen' declared but never defined 128 | inline void lock_screen(); | ^~~~~~~~~~~ sdl.h:97:13: warning: inline function 'unlock_font' declared but never defined 97 | inline void unlock_font(Font *sfnt); | ^~~~~~~~~~~ sdl.h:96:13: warning: inline function 'lock_font' declared but never defined 96 | inline void lock_font(Font *sfnt); | ^~~~~~~~~ sdl.h:47:13: warning: inline function 'unlock_surf' declared but never defined 47 | inline void unlock_surf(SDL_Surface *sur); | ^~~~~~~~~~~ sdl.h:46:13: warning: inline function 'lock_surf' declared but never defined 46 | inline void lock_surf(SDL_Surface *sur); | ^~~~~~~~~ i586-alt-linux-gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -o lgeneral main.o config.o date.o file.o map.o nation.o player.o scenario.o sdl.o misc.o unit.o audio.o parser.o list.o unit_lib.o terrain.o image.o slot.o gui.o event.o windows.o action.o campaign.o strat_map.o ai.o engine.o ai_group.o ai_tools.o -lSDL_mixer ../util/libutil.a -lSDL -lpthread -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src' Making all in tools make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools' Making all in ltrextract make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools/ltrextract' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o ltrextract.o ltrextract.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o util.o util.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o terrain.o terrain.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o map.o map.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o nation.o nation.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o unit_lib.o unit_lib.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o scenario.o scenario.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o campaign.o campaign.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o parser.o `test -f '../../src/parser.c' || echo './'`../../src/parser.c ../../src/parser.c: In function 'parser_read_file': ../../src/parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c:516:5: note: in expansion of macro 'FILE_READCHAR' 516 | FILE_READCHAR( st, st->ch ); | ^~~~~~~~~~~~~ ../../src/parser.c:526:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 526 | fread( cbuffer, 1, size, st->file ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_read_token': ../../src/parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c:188:9: note: in expansion of macro 'FILE_READCHAR' 188 | FILE_READCHAR(st, ch); | ^~~~~~~~~~~~~ ../../src/parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c:205:9: note: in expansion of macro 'FILE_READCHAR' 205 | FILE_READCHAR(st, ch); | ^~~~~~~~~~~~~ ../../src/parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c:212:9: note: in expansion of macro 'FILE_READCHAR' 212 | FILE_READCHAR(st, ch); /* skip leading quote */ | ^~~~~~~~~~~~~ ../../src/parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c:217:13: note: in expansion of macro 'FILE_READCHAR' 217 | FILE_READCHAR(st, ch); | ^~~~~~~~~~~~~ ../../src/parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c:225:13: note: in expansion of macro 'FILE_READCHAR' 225 | FILE_READCHAR(st, ch); /* skip trailing quote */ | ^~~~~~~~~~~~~ ../../src/parser.c:109:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] 109 | fread( &c, sizeof( char ), 1, (st)->file ); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c:236:17: note: in expansion of macro 'FILE_READCHAR' 236 | FILE_READCHAR(st, ch); | ^~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_read_file': ../../src/parser.c:159:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] 159 | snprintf( parser_error, sizeof parser_error, "%s: %i: %s", | ^~ ...... 532 | parser_set_parse_error( st, parser_sub_error ); | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c:159:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1019 [-Wformat-truncation=] 159 | snprintf( parser_error, sizeof parser_error, "%s: %i: %s", | ^~ ...... 539 | parser_set_parse_error( st, parser_sub_error ); | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 1029) into a destination of size 1024 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_pdata': ../../src/parser.c:658:54: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] 658 | sprintf( parser_error, "parser_get_pdata: %s/%s: %s", pd->name, name, parser_sub_error ); | ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_entries': ../../src/parser.c:668:59: warning: '%s' directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=] 668 | sprintf( parser_sub_error, "parser_get_entries:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 22 and 1045 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_values': ../../src/parser.c:684:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 684 | sprintf( parser_sub_error, "parser_get_values:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_value': ../../src/parser.c:699:57: warning: '%s' directive writing up to 1023 bytes into a region of size 1005 [-Wformat-overflow=] 699 | sprintf( parser_sub_error, "parser_get_value:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_int': ../../src/parser.c:715:55: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 715 | sprintf( parser_sub_error, "parser_get_int:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_double': ../../src/parser.c:726:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 726 | sprintf( parser_sub_error, "parser_get_double:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_string': ../../src/parser.c:737:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 737 | sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/parser.c: In function 'parser_get_localized_string': ../../src/parser.c:755:58: warning: '%s' directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=] 755 | sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); | ^~ ~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../../src/parser.h:23, from ../../src/parser.c:20: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -c -o list.o `test -f '../../src/list.c' || echo './'`../../src/list.c i586-alt-linux-gcc -DLTREXTRACT -I../../src -I../.. -I../../util -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -g -Wall -lm -o ltrextract ltrextract.o util.o terrain.o map.o nation.o unit_lib.o scenario.o campaign.o parser.o list.o ../../util/libutil.a -lm make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools' Making all in po make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po' Making all in lgeneral make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po/lgeneral' PATH=../src:$PATH /usr/bin/xgettext --from-code=iso-8859-1 --default-domain=lgeneral \ --directory=../.. --add-comments \ --keyword=tr --keyword=TR_NOOP \ --files-from=./POTFILES.in if [ -f "lgeneral.po" ]; then \ rm -f ./lgeneral.pot; \ /usr/bin/msgconv --to-code=iso-8859-1 lgeneral.po > ./lgeneral.pot 2> /dev/null; \ rm -f lgeneral.po; \ fi rm -f cat-id-tbl.tmp sed -f ../../intl/po2tbl.sed ./lgeneral.pot \ | sed -e "s/@PACKAGE NAME@/lgeneral/" > cat-id-tbl.tmp sed: couldn't open file ../../intl/po2tbl.sed: No such file or directory if cmp -s cat-id-tbl.tmp ./cat-id-tbl.c; then \ rm cat-id-tbl.tmp; \ else \ echo cat-id-tbl.c changed; \ rm -f ./cat-id-tbl.c; \ mv cat-id-tbl.tmp ./cat-id-tbl.c; \ fi cd . && rm -f stamp-cat-id && echo timestamp > stamp-cat-id make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po/lgeneral' Making all in pg make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po/pg' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po/pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' make: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.64192 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/lgeneral-buildroot + : + /bin/rm -rf -- /usr/src/tmp/lgeneral-buildroot + cd lgeneral-1.2beta-13 + mkdir -p /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/pg-data + make install DESTDIR=/usr/src/tmp/lgeneral-buildroot make: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' Making install in intl make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/intl' if test "lgeneral" = "gettext" \ && test '' = 'intl-compat.@l@o'; then \ if test -r @MKINSTALLDIRS@; then \ @MKINSTALLDIRS@ /usr/src/tmp/lgeneral-buildroot/usr/lib /usr/src/tmp/lgeneral-buildroot/usr/include; \ else \ ../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/lib /usr/src/tmp/lgeneral-buildroot/usr/include; \ fi; \ /bin/install -c -m 644 intlh.inst /usr/src/tmp/lgeneral-buildroot/usr/include/libintl.h; \ /bin/install -c -m 644 libintl.a /usr/src/tmp/lgeneral-buildroot/usr/lib/libintl.a; \ else \ : ; \ fi if test "lgeneral" = "gettext"; then \ if test -r @MKINSTALLDIRS@; then \ @MKINSTALLDIRS@ /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/intl; \ else \ ../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/intl; \ fi; \ /bin/install -c -m 644 VERSION /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/intl/VERSION; \ dists="ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in xopen-msg.sed gettext.h gettextP.h hash-string.h libgettext.h loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c intl-compat.c cat-compat.c"; \ for file in $dists; do \ /bin/install -c -m 644 ./$file /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/intl/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/intl' Making install in util make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/util' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/util' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/util' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/util' Making install in lgc-pg make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg' Making install in convdata make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg/convdata' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg/convdata' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/convdata' /bin/install -c -m 644 crosshair.bmp damage_bars.bmp fog.bmp grid.bmp road2.bmp select_frame.bmp strength.bmp air2.wav air.wav leg.wav sea.wav wheeled.wav tracked.wav battle.wav attack.bmp move.bmp select.wav mapnames reinf danger.bmp guard.bmp '/usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/convdata' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg/convdata' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg/convdata' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg' /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/install -c lgc-pg shptool '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/man/man1' /bin/install -c -m 644 lgc-pg.1 '/usr/src/tmp/lgeneral-buildroot/usr/share/man/man1' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lgc-pg' Making install in lged make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lged' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lged' /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/install -c lged '/usr/src/tmp/lgeneral-buildroot/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lged' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/lged' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src' Making install in gfx make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx' Making install in flags make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/flags' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/flags' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/flags' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/flags' Making install in terrain make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/terrain' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/terrain' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/terrain' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/terrain' Making install in units make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/units' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/units' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/units' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx/units' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/gfx' /bin/install -c -m 644 font_credit.bmp title.bmp '/usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/gfx' make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/gfx' Making install in themes make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes' Making install in default make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes/default' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes/default' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/themes/default' /bin/install -c -m 644 click.wav edit.wav bkgnd.bmp brief_frame.bmp confirm_buttons.bmp ctrl_buttons.bmp cursors.bmp deploy_buttons.bmp folder.bmp font_brief.bmp font_error.bmp font_status.bmp font_std.bmp font_turn_info.bmp fr_hori.bmp fr_llc.bmp fr_luc.bmp fr_rlc.bmp fr_ruc.bmp fr_vert.bmp menu0_buttons.bmp menu1_buttons.bmp menu2_buttons.bmp menu3_buttons.bmp menu4_buttons.bmp module_buttons.bmp scen_dlg_buttons.bmp scroll_buttons.bmp unit_buttons.bmp wallpaper.bmp setup_confirm_buttons.bmp strength_buttons.bmp '/usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/themes/default' make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes/default' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes/default' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes' make[4]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/themes' Making install in campaigns make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/campaigns' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/campaigns' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/campaigns' /bin/install -c -m 644 PG '/usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/campaigns' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/campaigns' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/campaigns' Making install in maps make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/maps' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/maps' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/maps mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/maps make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/maps' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/maps' Making install in nations make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/nations' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/nations' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/nations mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/nations make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/nations' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/nations' Making install in sounds make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/sounds' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/sounds' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/sounds mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/sounds make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/sounds' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/sounds' Making install in music make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/music' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/music' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/music mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/music make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/music' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/music' Making install in units make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/units' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/units' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/units mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/units make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/units' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/units' Making install in scenarios make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/scenarios' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/scenarios' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/scenarios mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/scenarios make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/scenarios' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/scenarios' Making install in ai_modules make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/ai_modules' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/ai_modules' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/ai_modules mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/ai_modules make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/ai_modules' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/ai_modules' Making install in terrain make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/terrain' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/terrain' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/terrain mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/terrain make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/terrain' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src/terrain' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src' /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/install -c lgeneral '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/sh ../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/share/man/man6' /bin/install -c -m 644 lgeneral.6 '/usr/src/tmp/lgeneral-buildroot/usr/share/man/man6' make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/src' Making install in tools make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools' Making install in ltrextract make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools/ltrextract' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools/ltrextract' /bin/mkdir -p '/usr/src/tmp/lgeneral-buildroot/usr/bin' /bin/install -c ltrextract '/usr/src/tmp/lgeneral-buildroot/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools/ltrextract' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools/ltrextract' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/tools' Making install in po make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po' Making install in lgeneral make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po/lgeneral' if test -r "../../@MKINSTALLDIRS@"; then \ ../../@MKINSTALLDIRS@ /usr/src/tmp/lgeneral-buildroot/usr/share; \ else \ /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share; \ fi mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/locale/en/LC_MESSAGES installing en.gmo as /usr/src/tmp/lgeneral-buildroot/usr/share/locale/en/LC_MESSAGES/lgeneral.mo mkdir -p -- /usr/src/tmp/lgeneral-buildroot/usr/share/locale/de/LC_MESSAGES installing de.gmo as /usr/src/tmp/lgeneral-buildroot/usr/share/locale/de/LC_MESSAGES/lgeneral.mo if test "lgeneral" = "gettext"; then \ if test -r "../../@MKINSTALLDIRS@"; then \ ../../@MKINSTALLDIRS@ /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/po; \ else \ /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/po; \ fi; \ /bin/install -c -m 644 ./Makefile.in.in \ /usr/src/tmp/lgeneral-buildroot/usr/share/gettext/po/Makefile.in.in; \ else \ : ; \ fi make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po/lgeneral' Making install in pg make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po/pg' if test -r "../../@MKINSTALLDIRS@"; then \ ../../@MKINSTALLDIRS@ /usr/src/tmp/lgeneral-buildroot/usr/share; \ else \ /bin/sh ../../mkinstalldirs /usr/src/tmp/lgeneral-buildroot/usr/share; \ fi installing en.gmo as /usr/src/tmp/lgeneral-buildroot/usr/share/locale/en/LC_MESSAGES/pg.mo installing de.gmo as /usr/src/tmp/lgeneral-buildroot/usr/share/locale/de/LC_MESSAGES/pg.mo make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po/pg' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po' make[3]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po' make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13/po' make[1]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' make[2]: Entering directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' make[1]: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' make: Leaving directory '/usr/src/RPM/BUILD/lgeneral-1.2beta-13' + tar xvfj /usr/src/RPM/SOURCES/scenarios.tar.bz2 scenarios/ scenarios/Avalanche scenarios/Bastogne scenarios/Bismarck scenarios/Dunkirk scenarios/Korea scenarios/Malta scenarios/Motti scenarios/Norway45 scenarios/Poland45 + mv scenarios/Avalanche scenarios/Bastogne scenarios/Bismarck scenarios/Dunkirk scenarios/Korea scenarios/Malta scenarios/Motti scenarios/Norway45 scenarios/Poland45 /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/scenarios/ + unzip /usr/src/RPM/SOURCES/nicolas.zip Archive: /usr/src/RPM/SOURCES/nicolas.zip creating: nicolas/ inflating: nicolas/README creating: nicolas/gfx/ creating: nicolas/gfx/units/ inflating: nicolas/gfx/units/nicolas.bmp creating: nicolas/maps/ creating: nicolas/maps/nicolas/ inflating: nicolas/maps/nicolas/map01 inflating: nicolas/maps/nicolas/map02 inflating: nicolas/maps/nicolas/map03 inflating: nicolas/maps/nicolas/map04 creating: nicolas/scenarios/ creating: nicolas/scenarios/nicolas/ inflating: nicolas/scenarios/nicolas/fallGelb inflating: nicolas/scenarios/nicolas/fallWeiss inflating: nicolas/scenarios/nicolas/varsovie inflating: nicolas/scenarios/nicolas/weserUebung creating: nicolas/units/ inflating: nicolas/units/nicolas.udb + cp -pr nicolas/README nicolas/gfx nicolas/maps nicolas/scenarios nicolas/units /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/ + unzip /usr/src/RPM/SOURCES/newcampaign.zip Archive: /usr/src/RPM/SOURCES/newcampaign.zip creating: NewCampaign/ creating: NewCampaign/DOC/ inflating: NewCampaign/DOC/CDFLOPPY.TXT inflating: NewCampaign/DOC/OVERVIEW.TXT inflating: NewCampaign/DOC/README.TXT inflating: NewCampaign/HOWTO.txt inflating: NewCampaign/README.txt creating: NewCampaign/campaigns/ inflating: NewCampaign/campaigns/NewCampaign creating: NewCampaign/gfx/ creating: NewCampaign/gfx/units/ inflating: NewCampaign/gfx/units/newcampaign.bmp creating: NewCampaign/scenarios/ creating: NewCampaign/scenarios/NewCampaign/ inflating: NewCampaign/scenarios/NewCampaign/001 inflating: NewCampaign/scenarios/NewCampaign/002 inflating: NewCampaign/scenarios/NewCampaign/003 inflating: NewCampaign/scenarios/NewCampaign/004 inflating: NewCampaign/scenarios/NewCampaign/005 inflating: NewCampaign/scenarios/NewCampaign/006 inflating: NewCampaign/scenarios/NewCampaign/007 inflating: NewCampaign/scenarios/NewCampaign/008 inflating: NewCampaign/scenarios/NewCampaign/009 inflating: NewCampaign/scenarios/NewCampaign/010 inflating: NewCampaign/scenarios/NewCampaign/011 inflating: NewCampaign/scenarios/NewCampaign/012 inflating: NewCampaign/scenarios/NewCampaign/013 inflating: NewCampaign/scenarios/NewCampaign/014 inflating: NewCampaign/scenarios/NewCampaign/015 inflating: NewCampaign/scenarios/NewCampaign/016 inflating: NewCampaign/scenarios/NewCampaign/017 inflating: NewCampaign/scenarios/NewCampaign/018 inflating: NewCampaign/scenarios/NewCampaign/019 inflating: NewCampaign/scenarios/NewCampaign/020 inflating: NewCampaign/scenarios/NewCampaign/021 inflating: NewCampaign/scenarios/NewCampaign/022 inflating: NewCampaign/scenarios/NewCampaign/023 inflating: NewCampaign/scenarios/NewCampaign/024 inflating: NewCampaign/scenarios/NewCampaign/025 inflating: NewCampaign/scenarios/NewCampaign/026 inflating: NewCampaign/scenarios/NewCampaign/027 inflating: NewCampaign/scenarios/NewCampaign/028 inflating: NewCampaign/scenarios/NewCampaign/029 inflating: NewCampaign/scenarios/NewCampaign/030 inflating: NewCampaign/scenarios/NewCampaign/031 inflating: NewCampaign/scenarios/NewCampaign/032 inflating: NewCampaign/scenarios/NewCampaign/033 inflating: NewCampaign/scenarios/NewCampaign/034 inflating: NewCampaign/scenarios/NewCampaign/035 inflating: NewCampaign/scenarios/NewCampaign/036 inflating: NewCampaign/scenarios/NewCampaign/037 inflating: NewCampaign/scenarios/NewCampaign/038 + cp -pr NewCampaign/DOC NewCampaign/HOWTO.txt NewCampaign/README.txt NewCampaign/campaigns NewCampaign/gfx NewCampaign/scenarios /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/ + unzip /usr/src/RPM/SOURCES/APP-6A.zip -d APP Archive: /usr/src/RPM/SOURCES/APP-6A.zip inflating: APP/README creating: APP/gfx/ creating: APP/gfx/terrain/ creating: APP/gfx/terrain/pg/ inflating: APP/gfx/terrain/pg/airfield.bmp inflating: APP/gfx/terrain/pg/airfield_rain.bmp inflating: APP/gfx/terrain/pg/airfield_snow.bmp inflating: APP/gfx/terrain/pg/clear.bmp inflating: APP/gfx/terrain/pg/clear_rain.bmp inflating: APP/gfx/terrain/pg/clear_snow.bmp inflating: APP/gfx/terrain/pg/crosshair.bmp inflating: APP/gfx/terrain/pg/damage_bars.bmp inflating: APP/gfx/terrain/pg/danger.bmp inflating: APP/gfx/terrain/pg/desert.bmp inflating: APP/gfx/terrain/pg/desert_rain.bmp inflating: APP/gfx/terrain/pg/desert_snow.bmp inflating: APP/gfx/terrain/pg/explosion.bmp inflating: APP/gfx/terrain/pg/fields.bmp inflating: APP/gfx/terrain/pg/fields_rain.bmp inflating: APP/gfx/terrain/pg/fields_snow.bmp inflating: APP/gfx/terrain/pg/fog.bmp inflating: APP/gfx/terrain/pg/forest.bmp inflating: APP/gfx/terrain/pg/forest_rain.bmp inflating: APP/gfx/terrain/pg/forest_snow.bmp inflating: APP/gfx/terrain/pg/fort.bmp inflating: APP/gfx/terrain/pg/fort_rain.bmp inflating: APP/gfx/terrain/pg/fort_snow.bmp inflating: APP/gfx/terrain/pg/grid.bmp inflating: APP/gfx/terrain/pg/harbor.bmp inflating: APP/gfx/terrain/pg/harbor_rain.bmp inflating: APP/gfx/terrain/pg/harbor_snow.bmp inflating: APP/gfx/terrain/pg/mountain.bmp inflating: APP/gfx/terrain/pg/mountain_rain.bmp inflating: APP/gfx/terrain/pg/mountain_snow.bmp inflating: APP/gfx/terrain/pg/ocean.bmp inflating: APP/gfx/terrain/pg/ocean_rain.bmp inflating: APP/gfx/terrain/pg/ocean_snow.bmp inflating: APP/gfx/terrain/pg/river.bmp inflating: APP/gfx/terrain/pg/river_rain.bmp inflating: APP/gfx/terrain/pg/river_snow.bmp inflating: APP/gfx/terrain/pg/road.bmp inflating: APP/gfx/terrain/pg/road_rain.bmp inflating: APP/gfx/terrain/pg/road_snow.bmp inflating: APP/gfx/terrain/pg/rough.bmp inflating: APP/gfx/terrain/pg/rough_desert.bmp inflating: APP/gfx/terrain/pg/rough_desert_rain.bmp inflating: APP/gfx/terrain/pg/rough_desert_snow.bmp inflating: APP/gfx/terrain/pg/rough_rain.bmp inflating: APP/gfx/terrain/pg/rough_snow.bmp inflating: APP/gfx/terrain/pg/select_frame.bmp inflating: APP/gfx/terrain/pg/swamp.bmp inflating: APP/gfx/terrain/pg/swamp_rain.bmp inflating: APP/gfx/terrain/pg/swamp_snow.bmp inflating: APP/gfx/terrain/pg/town.bmp inflating: APP/gfx/terrain/pg/town_rain.bmp inflating: APP/gfx/terrain/pg/town_snow.bmp creating: APP/gfx/units/ inflating: APP/gfx/units/military.bmp creating: APP/sounds/ creating: APP/sounds/pg/ inflating: APP/sounds/pg/air.wav inflating: APP/sounds/pg/air2.wav inflating: APP/sounds/pg/explosion.wav inflating: APP/sounds/pg/leg.wav inflating: APP/sounds/pg/mounted.wav inflating: APP/sounds/pg/sea.wav inflating: APP/sounds/pg/select.wav inflating: APP/sounds/pg/tracked.wav inflating: APP/sounds/pg/wheeled.wav creating: APP/units/ inflating: APP/units/pg.udb + cp -pr APP/README APP/gfx APP/sounds APP/units /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/ + cp /usr/src/RPM/SOURCES/lgeneral.NOTES.ALT /usr/src/tmp/lgeneral-buildroot/usr/share/games/lgeneral/NOTES.ALT + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/lgeneral-buildroot (auto) Verifying and fixing files in /usr/src/tmp/lgeneral-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/lgeneral-buildroot/ (default) Compressing files in /usr/src/tmp/lgeneral-buildroot (auto) Verifying ELF objects in /usr/src/tmp/lgeneral-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/ltrextract: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/bin/lgeneral: uses non-LFS functions: __xstat fopen readdir verify-elf: WARNING: ./usr/bin/lged: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/bin/shptool: uses non-LFS functions: fopen readdir verify-elf: WARNING: ./usr/bin/lgc-pg: uses non-LFS functions: fopen readdir Hardlinking identical .pyc and .pyo files Processing files: lgeneral-1.2-alt5.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.M8he9V find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.a3uznV find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib/ld-linux.so.2, libSDL-1.2.so.0 >= set:lf0vCxydMtzbtE6Zy6wXebVjbgCDCzFuVAgFhuRd45euKL1ZLB6EsRNoVY1CeEOzv6B8cUN8Y8yg1x2yDj7csncbXs5, libSDL_mixer-1.2.so.0 >= set:kgQvOTeQepk88Q9T81uiaS0, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libm.so.6(GLIBC_2.0), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Obsoletes: pg-data Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YITXUW Creating lgeneral-debuginfo package Processing files: lgeneral-debuginfo-1.2-alt5.2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YAUtPY find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.63Z7OY find-requires: running scripts (debuginfo) Requires: lgeneral = 1.2-alt5.2, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libSDL-1.2.so.0), debug(libSDL_mixer-1.2.so.0), debug(libc.so.6), debug(libm.so.6) Wrote: /usr/src/RPM/RPMS/i586/lgeneral-1.2-alt5.2.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/lgeneral-debuginfo-1.2-alt5.2.i586.rpm 36.73user 5.43system 1:01.38elapsed 68%CPU (0avgtext+0avgdata 45660maxresident)k 0inputs+0outputs (0major+1540582minor)pagefaults 0swaps /.out/lgeneral-1.2-alt5.2.i586.rpm: The use of such a license name is ambiguous: GPL /.out/lgeneral-debuginfo-1.2-alt5.2.i586.rpm: The use of such a license name is ambiguous: GPL 45.87user 9.96system 1:20.00elapsed 69%CPU (0avgtext+0avgdata 111900maxresident)k 0inputs+0outputs (0major+1863202minor)pagefaults 0swaps