=> Building graphics/grafx2 Started : Thursday, 25 JUL 2019 at 14:37:21 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.6-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.6-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for grafx2-2.6_1: LUA=off: Lua scripting language support TTF=on: True Type font support ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/construction/graphics/grafx2 XDG_CONFIG_HOME=/construction/graphics/grafx2 HOME=/construction/graphics/grafx2 TMPDIR="/tmp" PATH=/construction/graphics/grafx2/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- API=sdl2 SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/construction/graphics/grafx2 XDG_CONFIG_HOME=/construction/graphics/grafx2 HOME=/construction/graphics/grafx2 TMPDIR="/tmp" PATH=/construction/graphics/grafx2/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- NOLUA=1 DESTDIR=/construction/graphics/grafx2/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- LUA="@comment " NO_LUA="" TTF="" NO_TTF="@comment " GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=5.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/grafx2" EXAMPLESDIR="share/examples/grafx2" DATADIR="share/grafx2" WWWDIR="www/grafx2" ETCDIR="etc/grafx2" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- LUA="@comment " NO_LUA="" TTF="" NO_TTF="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/grafx2 DOCSDIR=/usr/local/share/doc/grafx2 EXAMPLESDIR=/usr/local/share/examples/grafx2 WWWDIR=/usr/local/www/grafx2 ETCDIR=/usr/local/etc/grafx2 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.6 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500601 OSVERSION=9999999 OSREL=5.6 _OSRELEASE=5.6-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> grafx2-2.6_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> grafx2-2.6_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of grafx2-2.6_1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by grafx2-2.6_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by grafx2-2.6_1 for building => SHA256 Checksum OK for recoil-4.3.1.tar.gz. => SHA256 Checksum OK for GrafX2-grafX2-5d8c61e41011a8106359343243e1050af4e7fd1f_GL0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by grafx2-2.6_1 for building ===> Extracting for grafx2-2.6_1 ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by grafx2-2.6_1 for building => SHA256 Checksum OK for recoil-4.3.1.tar.gz. => SHA256 Checksum OK for GrafX2-grafX2-5d8c61e41011a8106359343243e1050af4e7fd1f_GL0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for grafx2-2.6_1 ===> Applying ports patches for grafx2-2.6_1 /usr/bin/sed -i.bak -e 's@FreeBSD@DragonFly@g' /construction/graphics/grafx2/grafX2-5d8c61e41011a8106359343243e1050af4e7fd1f-5d8c61e41011a8106359343243e1050af4e7fd1f/src/Makefile -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> grafx2-2.6_1 depends on executable: update-desktop-database - not found ===> Installing existing package /packages/All/desktop-file-utils-0.23.txz Installing desktop-file-utils-0.23... `-- Installing gettext-runtime-0.20.1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.20.1: .......... done `-- Installing glib-2.56.3_5,1... | `-- Installing libffi-3.2.1_3... | `-- Extracting libffi-3.2.1_3: .......... done | `-- Installing libiconv-1.14_11... | `-- Extracting libiconv-1.14_11: .......... done | `-- Installing libxml2-2.9.9... | `-- Extracting libxml2-2.9.9: .......... done | `-- Installing pcre-8.43_1... | `-- Extracting pcre-8.43_1: .......... done | `-- Installing python36-3.6.9... | | `-- Installing expat-2.2.6_1... | | `-- Extracting expat-2.2.6_1: .......... done | | `-- Installing libressl-2.9.2... | | `-- Extracting libressl-2.9.2: .......... done | | `-- Installing ncurses-6.1.20190525... | | `-- Extracting ncurses-6.1.20190525: .......... done | | `-- Installing readline-8.0.0... | | `-- Extracting readline-8.0.0: .......... done | `-- Extracting python36-3.6.9: .......... done `-- Extracting glib-2.56.3_5,1: .......... done No schema files found: doing nothing. Extracting desktop-file-utils-0.23: .......... done Message from python36-3.6.9: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py36-gdbm databases/py-gdbm@py36 py36-sqlite3 databases/py-sqlite3@py36 py36-tkinter x11-toolkits/py-tkinter@py36 =========================================================================== ===> grafx2-2.6_1 depends on executable: update-desktop-database - found ===> Returning to build of grafx2-2.6_1 ===> grafx2-2.6_1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... Extracting gmake-4.2.1_3: .......... done ===> grafx2-2.6_1 depends on executable: gmake - found ===> Returning to build of grafx2-2.6_1 ===> grafx2-2.6_1 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.6.1,1.txz Installing pkgconf-1.6.1,1... Extracting pkgconf-1.6.1,1: .......... done ===> grafx2-2.6_1 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of grafx2-2.6_1 ===> grafx2-2.6_1 depends on executable: gtk-update-icon-cache - not found ===> Installing existing package /packages/All/gtk-update-icon-cache-2.24.32.txz Installing gtk-update-icon-cache-2.24.32... `-- Installing atk-2.28.1... `-- Extracting atk-2.28.1: .......... done `-- Installing gdk-pixbuf2-2.38.1... | `-- Installing jpeg-turbo-2.0.2... | `-- Extracting jpeg-turbo-2.0.2: .......... done | `-- Installing libX11-1.6.8,1... | | `-- Installing libXau-1.0.9... | | `-- Extracting libXau-1.0.9: .......... done | | `-- Installing libXdmcp-1.1.3... | | `-- Installing xorgproto-2019.1... | | `-- Extracting xorgproto-2019.1: .......... done | | `-- Extracting libXdmcp-1.1.3: ......... done | | `-- Installing libxcb-1.13.1... | | `-- Installing libpthread-stubs-0.4... | | `-- Extracting libpthread-stubs-0.4: .... done | | `-- Extracting libxcb-1.13.1: .......... done | `-- Extracting libX11-1.6.8,1: .......... done | `-- Installing png-1.6.37... | `-- Extracting png-1.6.37: .......... done | `-- Installing shared-mime-info-1.10_1... | `-- Extracting shared-mime-info-1.10_1: .......... done | `-- Installing tiff-4.0.10_1... | | `-- Installing jbigkit-2.1_1... | | `-- Extracting jbigkit-2.1_1: .......... done | `-- Extracting tiff-4.0.10_1: .......... done `-- Extracting gdk-pixbuf2-2.38.1: .......... done `-- Installing hicolor-icon-theme-0.17... `-- Extracting hicolor-icon-theme-0.17: . done `-- Installing libXcomposite-0.4.5,1... | `-- Installing libXext-1.3.4,1... | `-- Extracting libXext-1.3.4,1: .......... done | `-- Installing libXfixes-5.0.3_2... | `-- Extracting libXfixes-5.0.3_2: .......... done `-- Extracting libXcomposite-0.4.5,1: .......... done `-- Installing libXcursor-1.2.0... | `-- Installing libXrender-0.9.10_2... | `-- Extracting libXrender-0.9.10_2: .......... done `-- Extracting libXcursor-1.2.0: .......... done `-- Installing libXdamage-1.1.5... `-- Extracting libXdamage-1.1.5: ......... done `-- Installing libXi-1.7.10,1... `-- Extracting libXi-1.7.10,1: .......... done `-- Installing libXinerama-1.1.4_2,1... `-- Extracting libXinerama-1.1.4_2,1: .......... done `-- Installing libXrandr-1.5.2... `-- Extracting libXrandr-1.5.2: .......... done `-- Installing pango-1.42.4_2... | `-- Installing cairo-1.16.0,2... | | `-- Installing fontconfig-2.12.6,1... | | `-- Installing freetype2-2.10.0... | | `-- Extracting freetype2-2.10.0: .......... done | | `-- Extracting fontconfig-2.12.6,1: .......... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded | | `-- Installing mesa-libs-18.3.2_1... | | `-- Installing libXxf86vm-1.1.4_3... | | `-- Extracting libXxf86vm-1.1.4_3: .......... done | | `-- Installing libdrm-2.4.99... | | | `-- Installing libpciaccess-0.14... | | | `-- Installing pciids-20190620... | | | `-- Extracting pciids-20190620: ..... done | | | `-- Extracting libpciaccess-0.14: ......... done | | `-- Extracting libdrm-2.4.99: .......... done | | `-- Installing libelf-0.8.13_3... | | `-- Extracting libelf-0.8.13_3: .......... done | | `-- Installing libxshmfence-1.3... | | `-- Extracting libxshmfence-1.3: ......... done | | `-- Installing wayland-1.16.0... | | `-- Extracting wayland-1.16.0: .......... done | | `-- Extracting mesa-libs-18.3.2_1: .......... done | | `-- Installing pixman-0.38.4... | | `-- Extracting pixman-0.38.4: .......... done | `-- Extracting cairo-1.16.0,2: .......... done | `-- Installing encodings-1.0.5,1... | | `-- Installing font-util-1.3.1... | | `-- Extracting font-util-1.3.1: .......... done | `-- Extracting encodings-1.0.5,1: .......... done | `-- Installing fribidi-0.19.7... | `-- Extracting fribidi-0.19.7: .......... done | `-- Installing harfbuzz-2.5.3... | | `-- Installing graphite2-1.3.13... | | `-- Extracting graphite2-1.3.13: .......... done | `-- Extracting harfbuzz-2.5.3: .......... done | `-- Installing libXft-2.3.2_3... | `-- Extracting libXft-2.3.2_3: .......... done | `-- Installing xorg-fonts-truetype-7.7_1... | | `-- Installing dejavu-2.37_1... | | `-- Installing mkfontscale-1.2.1... | | | `-- Installing libfontenc-1.1.4... | | | `-- Extracting libfontenc-1.1.4: ......... done | | `-- Extracting mkfontscale-1.2.1: ....... done | | `-- Extracting dejavu-2.37_1: .......... done | | `-- Installing font-bh-ttf-1.0.3_4... | | `-- Extracting font-bh-ttf-1.0.3_4: .......... done | | `-- Installing font-misc-ethiopic-1.0.3_4... | | `-- Extracting font-misc-ethiopic-1.0.3_4: ... done | | `-- Installing font-misc-meltho-1.0.3_4... | | `-- Extracting font-misc-meltho-1.0.3_4: .......... done `-- Extracting pango-1.42.4_2: .......... done Extracting gtk-update-icon-cache-2.24.32: .... done Message from freetype2-2.10.0: The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed). Message from dejavu-2.37_1: Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===> grafx2-2.6_1 depends on executable: gtk-update-icon-cache - found ===> Returning to build of grafx2-2.6_1 ===> grafx2-2.6_1 depends on file: /usr/local/bin/sdl2-config - not found ===> Installing existing package /packages/All/sdl2-2.0.9_3.txz Installing sdl2-2.0.9_3... `-- Installing libXScrnSaver-1.2.3_2... `-- Extracting libXScrnSaver-1.2.3_2: .......... done `-- Installing libxkbcommon-0.8.4... | `-- Installing xkeyboard-config-2.27... | `-- Extracting xkeyboard-config-2.27: .......... done `-- Extracting libxkbcommon-0.8.4: .......... done Extracting sdl2-2.0.9_3: .......... done ===> grafx2-2.6_1 depends on file: /usr/local/bin/sdl2-config - found ===> Returning to build of grafx2-2.6_1 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> grafx2-2.6_1 depends on shared library: libX11.so - found (/usr/local/lib/libX11.so) ===> grafx2-2.6_1 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> grafx2-2.6_1 depends on shared library: libtiff.so - found (/usr/local/lib/libtiff.so) ===> grafx2-2.6_1 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so) ===> grafx2-2.6_1 depends on shared library: libiconv.so - found (/usr/local/lib/libiconv.so) ===> grafx2-2.6_1 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> grafx2-2.6_1 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so) ===> grafx2-2.6_1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> grafx2-2.6_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> grafx2-2.6_1 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) ===> grafx2-2.6_1 depends on shared library: libSDL2_image.so - not found ===> Installing existing package /packages/All/sdl2_image-2.0.5.txz Installing sdl2_image-2.0.5... `-- Installing webp-1.0.2... | `-- Installing giflib-5.1.9... | `-- Extracting giflib-5.1.9: .......... done `-- Extracting webp-1.0.2: .......... done Extracting sdl2_image-2.0.5: ......... done ===> grafx2-2.6_1 depends on shared library: libSDL2_image.so - found (/usr/local/lib/libSDL2_image.so) ===> Returning to build of grafx2-2.6_1 ===> grafx2-2.6_1 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so) ===> grafx2-2.6_1 depends on shared library: libSDL2_ttf.so - not found ===> Installing existing package /packages/All/sdl2_ttf-2.0.15.txz Installing sdl2_ttf-2.0.15... Extracting sdl2_ttf-2.0.15: .......... done ===> grafx2-2.6_1 depends on shared library: libSDL2_ttf.so - found (/usr/local/lib/libSDL2_ttf.so) ===> Returning to build of grafx2-2.6_1 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for grafx2-2.6_1 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for grafx2-2.6_1 gmake[2]: Entering directory '/construction/graphics/grafx2/grafX2-5d8c61e41011a8106359343243e1050af4e7fd1f-5d8c61e41011a8106359343243e1050af4e7fd1f/src' cat: version.c: No such file or directory cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c main.c -o ../obj/unix-sdl2/main.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c init.c -o ../obj/unix-sdl2/init.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c graph.c -o ../obj/unix-sdl2/graph.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c sdlscreen.c -o ../obj/unix-sdl2/sdlscreen.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c misc.c -o ../obj/unix-sdl2/misc.o main.c: In function 'Error_function': main.c:238:81: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 416 [-Wformat-truncation=] case ERROR_GUI_MISSING : snprintf(msg_buffer, sizeof(msg_buffer), "Error: File containing the GUI graphics is missing!\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:240:55: "\n%s", Gui_loading_error_message); ~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:240:50: note: format string is defined here "\n%s", Gui_loading_error_message); ^~ main.c:238:40: note: 'snprintf' output between 97 and 608 bytes into a destination of size 512 case ERROR_GUI_MISSING : snprintf(msg_buffer, sizeof(msg_buffer), "Error: File containing the GUI graphics is missing!\n" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "This program cannot run without this file.\n" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "\n%s", Gui_loading_error_message); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c special.c -o ../obj/unix-sdl2/special.o sdlscreen.c: In function 'Define_icon': sdlscreen.c:737:27: warning: '%s' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(icon_path, "%s%s", Data_directory, "gfx2.png"); // 48x48 ^~ ~~~~~~~~~~ sdlscreen.c:737:5: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024 sprintf(icon_path, "%s%s", Data_directory, "gfx2.png"); // 48x48 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c buttons.c -o ../obj/unix-sdl2/buttons.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c palette.c -o ../obj/unix-sdl2/palette.o graph.c: In function 'Draw_line_preview_xor': graph.c:1859:16: warning: cast between incompatible function types from 'void (*)(short int, short int, byte)' {aka 'void (*)(short int, short int, unsigned char)'} to 'void (*)(word, word, byte)' {aka 'void (*)(short unsigned int, short unsigned int, unsigned char)'} [-Wcast-function-type] Pixel_figure=(Func_pixel)Pixel_figure_preview_xor; ^ if [ -f ../3rdparty/recoil-4.3.1/recoil.c ] ; then cp ../3rdparty/recoil-4.3.1/recoil.c recoil.c ; fi if [ -f ../3rdparty/recoil-4.3.1/recoil.h ] ; then cp ../3rdparty/recoil-4.3.1/recoil.h recoil.h ; fi cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c operatio.c -o ../obj/unix-sdl2/operatio.o init.c: In function 'Load_graphics': init.c:676:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); ^~ init.c:676:3: note: 'snprintf' output 7 or more bytes (assuming 1030) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory,SKINS_SUBDIRECTORY, PATH_SEPARATOR, skin_file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'Load_font': init.c:761:43: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory, SKINS_SUBDIRECTORY, PATH_SEPARATOR, font_name); ^~ init.c:761:3: note: 'snprintf' output 7 or more bytes (assuming 1030) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s%s%s%s", Data_directory, SKINS_SUBDIRECTORY, PATH_SEPARATOR, font_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'Load_Unicode_fonts': init.c:804:44: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); ^~ init.c:804:3: note: 'snprintf' output between 6 and 1029 bytes into a destination of size 1024 snprintf(directory,sizeof(directory), "%s%s", Data_directory, SKINS_SUBDIRECTORY); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from palette.c:29: palette.c: In function 'Button_Secondary_palette': misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2915:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_X,str,3); ^~~~~~~ misc.h:137:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2915:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_X,str,3); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2915:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_X,str,3); ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2919:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_Y,str,3); ^~~~~~~ misc.h:137:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2919:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_Y,str,3); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2919:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_Y,str,3); ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2998:9: note: in expansion of macro 'Num2str' Num2str(rgb_scale_slider->Position,str,3); ^~~~~~~ misc.h:137:34: note: directive argument in the range [1, 32767] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2998:9: note: in expansion of macro 'Num2str' Num2str(rgb_scale_slider->Position,str,3); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2998:9: note: in expansion of macro 'Num2str' Num2str(rgb_scale_slider->Position,str,3); ^~~~~~~ palette.c: In function 'Button_Palette': misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2235:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2235:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2229:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2229:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2256:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2256:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2250:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2250:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2277:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2277:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2271:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2271:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2109:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2109:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2103:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2103:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2130:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2130:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2124:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2124:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2151:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2151:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:2145:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:2145:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 19 bytes into a region of size 6 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:1896:13: note: in expansion of macro 'Num2str' Num2str(block_end ,str+4,3); ^~~~~~~ misc.h:137:34: note: directive argument in the range [0, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:1896:13: note: in expansion of macro 'Num2str' Num2str(block_end ,str+4,3); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 20 bytes into a destination of size 6 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1896:13: note: in expansion of macro 'Num2str' Num2str(block_end ,str+4,3); ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:1840:13: note: in expansion of macro 'Num2str' Num2str(block_start,str ,3); ^~~~~~~ misc.h:137:34: note: directive argument in the range [0, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:1840:13: note: in expansion of macro 'Num2str' Num2str(block_start,str ,3); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1840:13: note: in expansion of macro 'Num2str' Num2str(block_start,str ,3); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:1693:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1693:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:1687:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1687:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:1612:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1612:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:1606:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1606:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:1531:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1531:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ palette.c:1525:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ palette.c:1525:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ In file included from buttons.c:53: buttons.c: In function 'Button_Resolution': misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons.c:1997:3: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:1997:3: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons.c:2001:3: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2001:3: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons.c:2062:13: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2062:13: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons.c:2066:13: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2066:13: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons.c:2033:9: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2033:9: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons.c:2019:9: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:2019:9: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ init.c: In function 'Load_CFG': init.c:2139:43: warning: '%s' directive output may be truncated writing 13 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s%s", Config_directory, CONFIG_FILENAME); ^~ init.c:2139:3: note: 'snprintf' output between 14 and 1037 bytes into a destination of size 1024 snprintf(filename, sizeof(filename), "%s%s", Config_directory, CONFIG_FILENAME); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c pages.c -o ../obj/unix-sdl2/pages.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c loadsave.c -o ../obj/unix-sdl2/loadsave.o In function 'Look_for_alternate_ext.part.0', inlined from 'Look_for_alternate_ext' at loadsave.c:2267:13: loadsave.c:2300:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(params->foundname, filename, MAX_PATH_CHARACTERS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadsave.c:2317:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(params->foundname, filename, MAX_PATH_CHARACTERS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadsave.c: In function 'Rotate_safety_backups': loadsave.c:2109:32: warning: '%6.6d' directive writing 6 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, ^~~~~ loadsave.c:2109:27: note: directive argument in the range [0, 999999] sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, ^~~~~~~~~~~ loadsave.c:2109:5: note: 'sprintf' output between 12 and 1035 bytes into a destination of size 1024 sprintf(deleted_file, "%s%c%6.6d" BACKUP_FILE_EXTENSION, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Config_directory, ~~~~~~~~~~~~~~~~~ Main.safety_backup_prefix, ~~~~~~~~~~~~~~~~~~~~~~~~~~ (dword)(Main.safety_number + 1000000l - Rotation_safety_backup) % (dword)1000000l); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadsave.c: In function 'Open_file_read_with_alternate_ext': loadsave.c:2328:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(params.basename, context->File_name, MAX_PATH_CHARACTERS); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c readline.c -o ../obj/unix-sdl2/readline.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c engine.c -o ../obj/unix-sdl2/engine.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c filesel.c -o ../obj/unix-sdl2/filesel.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c op_c.c -o ../obj/unix-sdl2/op_c.o buttons.c: In function 'Refresh_airbrush_settings': misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons.c:4177:3: note: in expansion of macro 'Num2str' Num2str(Airbrush_multi_flow[selected_color],str,2); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons.c:4177:3: note: in expansion of macro 'Num2str' Num2str(Airbrush_multi_flow[selected_color],str,2); ^~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c readini.c -o ../obj/unix-sdl2/readini.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c saveini.c -o ../obj/unix-sdl2/saveini.o filesel.c: In function 'Print_filename_in_fileselector': filesel.c:1295:3: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 255 [-Wstringop-truncation] strncpy(filename, Selector_filename, sizeof(filename)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c shade.c -o ../obj/unix-sdl2/shade.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c keyboard.c -o ../obj/unix-sdl2/keyboard.o filesel.c: In function 'Button_Load_or_Save': filesel.c:2377:11: warning: 'strncpy' output may be truncated copying 256 bytes from a string of length 1023 [-Wstringop-truncation] strncpy(Selector_filename, save_filename, sizeof(Selector_filename)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c io.c -o ../obj/unix-sdl2/io.o echo "const char SVN_revision[]=\"\";" > version.c cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c text.c -o ../obj/unix-sdl2/text.o In file included from shade.c:28: shade.c: In function 'Display_selected_color': misc.h:137:34: warning: '%*lu' directive writing between 3 and 19 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ shade.c:209:5: note: in expansion of macro 'Num2str' Num2str(selection_start,str,3); ^~~~~~~ misc.h:137:34: note: directive argument in the range [0, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ shade.c:209:5: note: in expansion of macro 'Num2str' Num2str(selection_start,str,3); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 20 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shade.c:209:5: note: in expansion of macro 'Num2str' Num2str(selection_start,str,3); ^~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c SFont.c -o ../obj/unix-sdl2/SFont.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c setup.c -o ../obj/unix-sdl2/setup.o setup.c: In function 'Set_program_directory': setup.c:75:41: warning: unused parameter 'argv0' [-Wunused-parameter] void Set_program_directory(const char * argv0, char * program_dir) ~~~~~~~~~~~~~^~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c pxsimple.c -o ../obj/unix-sdl2/pxsimple.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c pxtall.c -o ../obj/unix-sdl2/pxtall.o text.c: In function 'Init_text': text.c:327:55: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); ^~ text.c:327:3: note: 'snprintf' output between 6 and 1029 bytes into a destination of size 1024 snprintf(directory_name, sizeof(directory_name), "%s%s", Data_directory,FONTS_SUBDIRECTORY); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ text.c:330:55: warning: '%s' directive output may be truncated writing 6 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); ^~ ~~~~~~~~ text.c:330:3: note: 'snprintf' output between 7 and 1030 bytes into a destination of size 1024 snprintf(directory_name, sizeof(directory_name), "%s%s", Config_directory, "/fonts"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c pxwide.c -o ../obj/unix-sdl2/pxwide.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c pxdouble.c -o ../obj/unix-sdl2/pxdouble.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c pxtriple.c -o ../obj/unix-sdl2/pxtriple.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c pxtall2.c -o ../obj/unix-sdl2/pxtall2.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c pxtall3.c -o ../obj/unix-sdl2/pxtall3.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c pxwide2.c -o ../obj/unix-sdl2/pxwide2.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c pxquad.c -o ../obj/unix-sdl2/pxquad.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c windows.c -o ../obj/unix-sdl2/windows.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c brush.c -o ../obj/unix-sdl2/brush.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c realpath.c -o ../obj/unix-sdl2/realpath.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c mountlist.c -o ../obj/unix-sdl2/mountlist.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c input.c -o ../obj/unix-sdl2/input.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c hotkeys.c -o ../obj/unix-sdl2/hotkeys.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c transform.c -o ../obj/unix-sdl2/transform.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c pversion.c -o ../obj/unix-sdl2/pversion.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c factory.c -o ../obj/unix-sdl2/factory.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c fileformats.c -o ../obj/unix-sdl2/fileformats.o windows.c: In function 'Display_layerbar': windows.c:610:23: warning: '%3d' directive output may be truncated writing between 3 and 11 bytes into a region of size 8 [-Wformat-truncation=] snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); ^~~ windows.c:610:22: note: directive argument in the range [-2147483647, 2147483647] snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); ^~~~~~~~~ windows.c:610:5: note: 'snprintf' output between 8 and 24 bytes into a destination of size 8 snprintf(str, 8, "%3d/%3d", Main.current_layer+1, Main.backups->Pages->Nb_layers); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c miscfileformats.c -o ../obj/unix-sdl2/miscfileformats.o In file included from windows.c:46: windows.c: In function 'Print_coordinates.part.4': misc.h:137:34: warning: '%*lu' directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ windows.c:1054:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_X,temp,4); ^~~~~~~ misc.h:137:34: note: directive argument in the range [0, 4294967295] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ windows.c:1054:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_X,temp,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows.c:1054:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_X,temp,4); ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ windows.c:1056:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_Y,temp,4); ^~~~~~~ misc.h:137:34: note: directive argument in the range [0, 4294967295] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ windows.c:1056:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_Y,temp,4); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 5 and 11 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows.c:1056:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_Y,temp,4); ^~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c libraw2crtc.c -o ../obj/unix-sdl2/libraw2crtc.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c brush_ops.c -o ../obj/unix-sdl2/brush_ops.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c buttons_effects.c -o ../obj/unix-sdl2/buttons_effects.o In file included from buttons_effects.c:40: buttons_effects.c: In function 'Button_Grid_menu': misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons_effects.c:1040:3: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ misc.h:137:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons_effects.c:1040:3: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1040:3: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons_effects.c:1045:3: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ misc.h:137:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons_effects.c:1045:3: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1045:3: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons_effects.c:1096:9: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ misc.h:137:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons_effects.c:1096:9: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1096:9: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ misc.h:137:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons_effects.c:1074:9: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ misc.h:137:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons_effects.c:1074:9: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1074:9: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ buttons_effects.c: In function 'Button_Smooth_menu': misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons_effects.c:1245:7: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[i][j], str, 2); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1245:7: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[i][j], str, 2); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons_effects.c:1273:9: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[x][y],str,2); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1273:9: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[x][y],str,2); ^~~~~~~ misc.h:137:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ buttons_effects.c:1265:13: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[i][j],str,2); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 3 and 4 bytes into a destination of size 3 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buttons_effects.c:1265:13: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[i][j],str,2); ^~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c layers.c -o ../obj/unix-sdl2/layers.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c oldies.c -o ../obj/unix-sdl2/oldies.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c tiles.c -o ../obj/unix-sdl2/tiles.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c colorred.c -o ../obj/unix-sdl2/colorred.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c unicode.c -o ../obj/unix-sdl2/unicode.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c gfx2surface.c -o ../obj/unix-sdl2/gfx2surface.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c gfx2log.c -o ../obj/unix-sdl2/gfx2log.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c tifformat.c -o ../obj/unix-sdl2/tifformat.o In file included from tiles.c:32: tiles.c: In function 'Tilemap_update': misc.h:137:34: warning: '%*lu' directive writing between 7 and 10 bytes into a region of size 8 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ tiles.c:348:7: note: in expansion of macro 'Num2str' Num2str(count,str,7); ^~~~~~~ misc.h:137:34: note: directive argument in the range [1, 2147483647] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~ tiles.c:348:7: note: in expansion of macro 'Num2str' Num2str(count,str,7); ^~~~~~~ misc.h:137:24: note: 'sprintf' output between 8 and 11 bytes into a destination of size 8 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tiles.c:348:7: note: in expansion of macro 'Num2str' Num2str(count,str,7); ^~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c help.c -o ../obj/unix-sdl2/help.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c version.c -o ../obj/unix-sdl2/version.o cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c loadrecoil.c -o ../obj/unix-sdl2/loadrecoil.o tifformat.c: In function 'Test_TIFF': tifformat.c:117:31: warning: unused parameter 'context' [-Wunused-parameter] void Test_TIFF(T_IO_Context * context, FILE * file) ~~~~~~~~~~~~~~~^~~~~~~ cc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -I/usr/local/include/libpng16 -I/usr/local/include -D_THREAD_SAFE -DUSE_FC -DENABLE_FILENAMES_ICONV -DUSE_SDL2 -pipe -DHAVE_SYS_PARAM_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_MOUNT_H -D__FreeBSD__=9 -O2 -fno-strict-aliasing -c recoil.c -o ../obj/unix-sdl2/recoil.o recoil.c: In function 'MultiPalette_SetLinePalette': recoil.c:3910:75: warning: unused parameter 'recoil' [-Wunused-parameter] static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) ~~~~~~~~~~~~~~^~~~~~ recoil.c:3910:87: warning: unused parameter 'y' [-Wunused-parameter] static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) ~~~~^ recoil.c: In function 'PgrRenderer_GetPlayfieldByte': recoil.c:4490:70: warning: unused parameter 'y' [-Wunused-parameter] static int PgrRenderer_GetPlayfieldByte(PgrRenderer const *self, int y, int column) ~~~~^ help.c: In function 'Button_Stats': help.c:846:37: warning: '%d' directive output may be truncated writing between 1 and 3 bytes into a region of size between 1 and 5 [-Wformat-truncation=] snprintf(buffer,20,"%s (%d.%d.%d)","TTF fonts",ttfver->major,ttfver->minor,ttfver->patch); ^~ help.c:846:26: note: directive argument in the range [0, 255] snprintf(buffer,20,"%s (%d.%d.%d)","TTF fonts",ttfver->major,ttfver->minor,ttfver->patch); ^~~~~~~~~~~~~~~ help.c:846:7: note: 'snprintf' output between 18 and 24 bytes into a destination of size 20 snprintf(buffer,20,"%s (%d.%d.%d)","TTF fonts",ttfver->major,ttfver->minor,ttfver->patch); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recoil.c: In function 'RECOIL_ReadFile': recoil.c:17803:54: warning: unused parameter 'filename' [-Wunused-parameter] static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) ~~~~~~~~~~~~^~~~~~~~ recoil.c:17803:92: warning: unused parameter 'contentLength' [-Wunused-parameter] static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) ~~~~^~~~~~~~~~~~~ recoil.c: In function 'RECOIL_UnpackLz4': recoil.c:18399:46: warning: unused parameter 'self' [-Wunused-parameter] static cibool RECOIL_UnpackLz4(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int unpackedLength) ~~~~~~~~~~~~~~^~~~ recoil.c: In function 'RECOIL_UnpackPbx': recoil.c:18530:60: warning: unused parameter 'self' [-Wunused-parameter] static unsigned char const *RECOIL_UnpackPbx(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int bitmapOffset, int bytesPer16Pixels, int unpackedLength) ~~~~~~~~~~~~~~^~~~ recoil.c: In function 'RECOIL_UnpackRip': recoil.c:18556:46: warning: unused parameter 'self' [-Wunused-parameter] static cibool RECOIL_UnpackRip(RECOIL const *self, unsigned char const *content, int contentOffset, int contentLength, unsigned char *unpacked, int unpackedLength) ~~~~~~~~~~~~~~^~~~ miscfileformats.c: In function 'Save_MOTO': miscfileformats.c:6702:9: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 32 [-Wstringop-truncation] strncpy((char *)vram_forme + 8032, context->Comment, 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc ../obj/unix-sdl2/main.o ../obj/unix-sdl2/init.o ../obj/unix-sdl2/graph.o ../obj/unix-sdl2/sdlscreen.o ../obj/unix-sdl2/misc.o ../obj/unix-sdl2/special.o ../obj/unix-sdl2/buttons.o ../obj/unix-sdl2/palette.o ../obj/unix-sdl2/help.o ../obj/unix-sdl2/operatio.o ../obj/unix-sdl2/pages.o ../obj/unix-sdl2/loadsave.o ../obj/unix-sdl2/readline.o ../obj/unix-sdl2/engine.o ../obj/unix-sdl2/filesel.o ../obj/unix-sdl2/op_c.o ../obj/unix-sdl2/readini.o ../obj/unix-sdl2/saveini.o ../obj/unix-sdl2/shade.o ../obj/unix-sdl2/keyboard.o ../obj/unix-sdl2/io.o ../obj/unix-sdl2/version.o ../obj/unix-sdl2/text.o ../obj/unix-sdl2/SFont.o ../obj/unix-sdl2/setup.o ../obj/unix-sdl2/pxsimple.o ../obj/unix-sdl2/pxtall.o ../obj/unix-sdl2/pxwide.o ../obj/unix-sdl2/pxdouble.o ../obj/unix-sdl2/pxtriple.o ../obj/unix-sdl2/pxtall2.o ../obj/unix-sdl2/pxtall3.o ../obj/unix-sdl2/pxwide2.o ../obj/unix-sdl2/pxquad.o ../obj/unix-sdl2/windows.o ../obj/unix-sdl2/brush.o ../obj/unix-sdl2/realpath.o ../obj/unix-sdl2/mountlist.o ../obj/unix-sdl2/input.o ../obj/unix-sdl2/hotkeys.o ../obj/unix-sdl2/transform.o ../obj/unix-sdl2/pversion.o ../obj/unix-sdl2/factory.o ../obj/unix-sdl2/fileformats.o ../obj/unix-sdl2/miscfileformats.o ../obj/unix-sdl2/libraw2crtc.o ../obj/unix-sdl2/brush_ops.o ../obj/unix-sdl2/buttons_effects.o ../obj/unix-sdl2/layers.o ../obj/unix-sdl2/oldies.o ../obj/unix-sdl2/tiles.o ../obj/unix-sdl2/colorred.o ../obj/unix-sdl2/unicode.o ../obj/unix-sdl2/gfx2surface.o ../obj/unix-sdl2/gfx2log.o ../obj/unix-sdl2/tifformat.o ../obj/unix-sdl2/loadrecoil.o ../obj/unix-sdl2/recoil.o -o ../bin/grafx2-sdl2 -lm -L/usr/local/lib -lSDL2 -lSDL2_image -L/usr/local/lib -lX11 -L/usr/local/lib -lSDL2_ttf -lfontconfig -L/usr/local/lib -lpng16 -lz -ltiff -liconv gmake[2]: Leaving directory '/construction/graphics/grafx2/grafX2-5d8c61e41011a8106359343243e1050af4e7fd1f-5d8c61e41011a8106359343243e1050af4e7fd1f/src' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> grafx2-2.6_1 depends on executable: update-desktop-database - found ===> grafx2-2.6_1 depends on executable: gtk-update-icon-cache - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for grafx2-2.6_1 ===> Generating temporary packing list gmake[2]: Entering directory '/construction/graphics/grafx2/grafX2-5d8c61e41011a8106359343243e1050af4e7fd1f-5d8c61e41011a8106359343243e1050af4e7fd1f/src' # Create dirs test -d /construction/graphics/grafx2/stage/usr/local/bin || mkdir -p /construction/graphics/grafx2/stage/usr/local/bin test -d /construction/graphics/grafx2/stage/usr/local/share/grafx2 || mkdir -p /construction/graphics/grafx2/stage/usr/local/share/grafx2 test -d /construction/graphics/grafx2/stage/usr/local/share/grafx2/fonts || mkdir -p /construction/graphics/grafx2/stage/usr/local/share/grafx2/fonts test -d /construction/graphics/grafx2/stage/usr/local/share/grafx2/skins || mkdir -p /construction/graphics/grafx2/stage/usr/local/share/grafx2/skins test -d /construction/graphics/grafx2/stage/usr/local/share/grafx2/scripts || mkdir -p /construction/graphics/grafx2/stage/usr/local/share/grafx2/scripts test -d /construction/graphics/grafx2/stage/usr/local/share/applications || mkdir -p /construction/graphics/grafx2/stage/usr/local/share/applications test -d /construction/graphics/grafx2/stage/usr/local/share/metainfo || mkdir -p /construction/graphics/grafx2/stage/usr/local/share/metainfo test -d /construction/graphics/grafx2/stage/usr/local/share/icons/hicolor/scalable/apps || mkdir -p /construction/graphics/grafx2/stage/usr/local/share/icons/hicolor/scalable/apps # Copy files cp ../bin/grafx2-sdl2 /construction/graphics/grafx2/stage/usr/local/bin cp ../share/grafx2/gfx2def.ini /construction/graphics/grafx2/stage/usr/local/share/grafx2/ cp ../share/grafx2/gfx2.gif /construction/graphics/grafx2/stage/usr/local/share/grafx2/ cp ../share/grafx2/fonts/* /construction/graphics/grafx2/stage/usr/local/share/grafx2/fonts/ cp ../share/grafx2/skins/skin_classic.png ../share/grafx2/skins/skin_modern.png ../share/grafx2/skins/skin_DPaint.png ../share/grafx2/skins/font_Classic.png ../share/grafx2/skins/font_Fun.png ../share/grafx2/skins/font_Fairlight.png ../share/grafx2/skins/font_Melon.png ../share/grafx2/skins/font_DPaint.png ../share/grafx2/skins/skin_scenish.png ../share/grafx2/skins/font_Seen.png ../share/grafx2/skins/skin_Aurora.png ../share/grafx2/skins/unicode_0410-044F.png /construction/graphics/grafx2/stage/usr/local/share/grafx2/skins/ for f in grafx2/scripts/samples/codenetsend.lua grafx2/scripts/samples/brush/ApplyColor.lua grafx2/scripts/samples/brush/Fisheye.lua grafx2/scripts/samples/brush/GrayscaleAvg.lua grafx2/scripts/samples/brush/GrayscaleDesat.lua grafx2/scripts/samples/brush/Halfsmooth.lua grafx2/scripts/samples/brush/Waves.lua grafx2/scripts/samples/demo/3DPalette.lua grafx2/scripts/samples/demo/Ellipse.lua grafx2/scripts/samples/demo/FlipPicture.lua grafx2/scripts/samples/demo/SierpinskyCarpet.lua grafx2/scripts/samples/demo/SierpinskyTriangle.lua grafx2/scripts/samples/demo/Spritesheet.lua grafx2/scripts/samples/demo/brush/Amigaball.lua grafx2/scripts/samples/demo/brush/ColorSphere.lua grafx2/scripts/samples/demo/brush/FindAA.lua grafx2/scripts/samples/demo/brush/Mandelbrot.lua grafx2/scripts/samples/libs/dawnbringer_lib.lua grafx2/scripts/samples/libs/memory.lua grafx2/scripts/samples/palette/Desaturate.lua grafx2/scripts/samples/palette/ExpandColors.lua grafx2/scripts/samples/palette/FillColorCube.lua grafx2/scripts/samples/palette/InvertedRGB.lua grafx2/scripts/samples/palette/Set3bit.lua grafx2/scripts/samples/palette/Set6bit.lua grafx2/scripts/samples/palette/SetC64Palette.lua grafx2/scripts/samples/palette/ShiftHue.lua grafx2/scripts/samples/picture/CellColourReducer.lua grafx2/scripts/samples/picture/DrawGridIsometric.lua grafx2/scripts/samples/picture/DrawgridOrthogonal_Index.lua grafx2/scripts/samples/picture/DrawGridOrthogonal_RGB.lua grafx2/scripts/samples/picture/GlassGridFilter.lua grafx2/scripts/samples/picture/PaletteToPicture.lua grafx2/scripts/samples/picture/Pic2isometric.lua grafx2/scripts/samples/picture/Rainbow-Dark2Bright.lua grafx2/scripts/samples/picture/RemapImage2RGB.lua grafx2/scripts/samples/picture/RemapImage2RGB_ed.lua grafx2/scripts/samples/picture/RemapImageTo3bitPal.lua grafx2/scripts/samples/picture/XBitColourXpaceFromPalette.lua grafx2/scripts/samples/picture/Tiler.lua grafx2/scripts/samples/picture/FontConvert.lua grafx2/scripts/samples/picture/others-8bit/ostro_oric.lua grafx2/scripts/samples/picture/others-8bit/ostro_zx.lua grafx2/scripts/samples/picture/others-8bit/lib/ostro_other.lua grafx2/scripts/samples/picture/thomson/bayer4_mo5.lua grafx2/scripts/samples/picture/thomson/bayer4_to8.lua grafx2/scripts/samples/picture/thomson/none_mo5.lua grafx2/scripts/samples/picture/thomson/none_to8.lua grafx2/scripts/samples/picture/thomson/none_to9.lua grafx2/scripts/samples/picture/thomson/ostro_mo5.lua grafx2/scripts/samples/picture/thomson/ostro_to7.lua grafx2/scripts/samples/picture/thomson/ostro_to8.lua grafx2/scripts/samples/picture/thomson/ostro_to9.lua grafx2/scripts/samples/picture/thomson/lib/bayer.lua grafx2/scripts/samples/picture/thomson/lib/color.lua grafx2/scripts/samples/picture/thomson/lib/color_reduction.lua grafx2/scripts/samples/picture/thomson/lib/convex_hull.lua grafx2/scripts/samples/picture/thomson/lib/ostromoukhov.lua grafx2/scripts/samples/picture/thomson/lib/thomson.lua; do \ test -d /construction/graphics/grafx2/stage/usr/local/share/`dirname $f` || mkdir -p /construction/graphics/grafx2/stage/usr/local/share/`dirname $f` ; \ cp "../share/$f" "/construction/graphics/grafx2/stage/usr/local/share/$f" ; \ done # Icon and desktop file for debian cp ../misc/unix/grafx2.desktop /construction/graphics/grafx2/stage/usr/local/share/applications/ cp ../misc/unix/grafx2.appdata.xml /construction/graphics/grafx2/stage/usr/local/share/metainfo/ cp ../misc/unix/grafx2.xpm /construction/graphics/grafx2/stage/usr/local/share/icons/hicolor/scalable/apps cp ../share/icons/grafx2.svg /construction/graphics/grafx2/stage/usr/local/share/icons/hicolor/scalable/apps Install complete gmake[2]: Leaving directory '/construction/graphics/grafx2/grafX2-5d8c61e41011a8106359343243e1050af4e7fd1f-5d8c61e41011a8106359343243e1050af4e7fd1f/src' ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for grafx2-2.6_1 file sizes/checksums [42]: . done packing files [42]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 25 JUL 2019 at 14:39:06 UTC Duration: 00:01:44