=>> Building math/ump build started at Sun May 4 05:36:01 BST 2025 port directory: /usr/ports/math/ump package name: ump-math-0.8.6_14 building for: FreeBSD pkg-builder.dan.net.uk 14.2-RELEASE FreeBSD 14.2-RELEASE amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 742 Mar 18 10:38 /usr/ports/math/ump/Makefile Ports top last git commit: 5529c5919b Ports top unclean checkout: yes Port dir last git commit: e87d8134a3 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1402000 Job Id: 07 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1402000 UNAME_v=FreeBSD 14.2-RELEASE UNAME_r=14.2-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/07/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/math/ump/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/ump/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/ump/work/.cache HOME=/wrkdirs/usr/ports/math/ump/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/ump/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/ump/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/math/ump/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/ump/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/ump/work/.cache HOME=/wrkdirs/usr/ports/math/ump/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/ump/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/ump/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 " CXXSTD=c++14 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" --End MAKE_ENV-- --PLIST_SUB-- GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ump" EXAMPLESDIR="share/examples/ump" DATADIR="share/ump" WWWDIR="www/ump" ETCDIR="etc/ump" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ump DOCSDIR=/usr/local/share/doc/ump EXAMPLESDIR=/usr/local/share/examples/ump WWWDIR=/usr/local/www/ump ETCDIR=/usr/local/etc/ump --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl apache=2.4 imagemagick=7 java=21 linux=c7 mysql=8.0 php=8.3 samba=4.19 varnish=7 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE ALLOW_UNSUPPORTED_SYSTEM=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ump port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ump-math-0.8.6_14 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.1.2.pkg [pkg-builder.dan.net.uk] Installing pkg-2.1.2... [pkg-builder.dan.net.uk] Extracting pkg-2.1.2: .......... done ===> ump-math-0.8.6_14 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ump-math-0.8.6_14 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ump port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ump-math-0.8.6_14 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ump port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ump-math-0.8.6_14 for building => SHA256 Checksum OK for ump-0.8.6.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The ump port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by ump-math-0.8.6_14 for building ===> Extracting for ump-math-0.8.6_14 => SHA256 Checksum OK for ump-0.8.6.tar.bz2. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for ump-math-0.8.6_14 ===> Applying FreeBSD patches for ump-math-0.8.6_14 from /usr/ports/math/ump/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ump-math-0.8.6_14 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.23.1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1_1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1_1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> ump-math-0.8.6_14 depends on package: gmake>=4.4.1 - found ===> Returning to build of ump-math-0.8.6_14 ===> ump-math-0.8.6_14 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-2.3.0_1,1.pkg [pkg-builder.dan.net.uk] Installing pkgconf-2.3.0_1,1... [pkg-builder.dan.net.uk] Extracting pkgconf-2.3.0_1,1: .......... done ===> ump-math-0.8.6_14 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of ump-math-0.8.6_14 ===> ump-math-0.8.6_14 depends on package: xorgproto>=0 - not found ===> Installing existing package /packages/All/xorgproto-2024.1.pkg [pkg-builder.dan.net.uk] Installing xorgproto-2024.1... [pkg-builder.dan.net.uk] Extracting xorgproto-2024.1: .......... done ===> ump-math-0.8.6_14 depends on package: xorgproto>=0 - found ===> Returning to build of ump-math-0.8.6_14 ===> ump-math-0.8.6_14 depends on package: xorgproto>=0 - found ===> ump-math-0.8.6_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg-builder.dan.net.uk] Installing libX11-1.8.12,1... [pkg-builder.dan.net.uk] `-- Installing libxcb-1.17.0... [pkg-builder.dan.net.uk] | `-- Installing libXau-1.0.11... [pkg-builder.dan.net.uk] | `-- Extracting libXau-1.0.11: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] `-- Extracting libxcb-1.17.0: .......... done [pkg-builder.dan.net.uk] Extracting libX11-1.8.12,1: .......... done ===> ump-math-0.8.6_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of ump-math-0.8.6_14 ===> ump-math-0.8.6_14 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg-builder.dan.net.uk] Installing ccache-3.7.12_8... [pkg-builder.dan.net.uk] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> ump-math-0.8.6_14 depends on file: /usr/local/bin/ccache - found ===> Returning to build of ump-math-0.8.6_14 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ump-math-0.8.6_14 depends on shared library: libGL.so - not found ===> Installing existing package /packages/All/libglvnd-1.7.0.pkg [pkg-builder.dan.net.uk] Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] Extracting libglvnd-1.7.0: .......... done ===> ump-math-0.8.6_14 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> Returning to build of ump-math-0.8.6_14 ===> ump-math-0.8.6_14 depends on shared library: libGLU.so - not found ===> Installing existing package /packages/All/libGLU-9.0.3.pkg [pkg-builder.dan.net.uk] Installing libGLU-9.0.3... [pkg-builder.dan.net.uk] Extracting libGLU-9.0.3: ..... done ===> ump-math-0.8.6_14 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so) ===> Returning to build of ump-math-0.8.6_14 ===> ump-math-0.8.6_14 depends on shared library: libatk-1.0.so - not found ===> Installing existing package /packages/All/at-spi2-core-2.54.1_1.pkg [pkg-builder.dan.net.uk] Installing at-spi2-core-2.54.1_1... [pkg-builder.dan.net.uk] `-- Installing dbus-1.16.2_2,1... [pkg-builder.dan.net.uk] | `-- Installing expat-2.7.1... [pkg-builder.dan.net.uk] | `-- Extracting expat-2.7.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libICE-1.1.1,1... [pkg-builder.dan.net.uk] | `-- Extracting libICE-1.1.1,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libSM-1.2.6,1... [pkg-builder.dan.net.uk] | `-- Extracting libSM-1.2.6,1: ........ done [pkg-builder.dan.net.uk] | `-- Installing libxml2-2.11.9... [pkg-builder.dan.net.uk] | | `-- Installing readline-8.2.13_2... [pkg-builder.dan.net.uk] | | `-- Extracting readline-8.2.13_2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libxml2-2.11.9: .......... done ===> Creating groups Creating group 'messagebus' with gid '556' ===> Creating users Creating user 'messagebus' with uid '556' [pkg-builder.dan.net.uk] `-- Extracting dbus-1.16.2_2,1: ......... done [pkg-builder.dan.net.uk] `-- Installing glib-2.84.1_2,2... [pkg-builder.dan.net.uk] | `-- Installing libffi-3.4.8... [pkg-builder.dan.net.uk] | `-- Extracting libffi-3.4.8: .......... done [pkg-builder.dan.net.uk] | `-- Installing libiconv-1.17_1... [pkg-builder.dan.net.uk] | `-- Extracting libiconv-1.17_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libinotify-20240724_1... [pkg-builder.dan.net.uk] | `-- Extracting libinotify-20240724_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing pcre2-10.45_1... [pkg-builder.dan.net.uk] | `-- Extracting pcre2-10.45_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing py311-packaging-24.2... [pkg-builder.dan.net.uk] | | `-- Installing python311-3.11.12... [pkg-builder.dan.net.uk] | | `-- Installing mpdecimal-4.0.0... [pkg-builder.dan.net.uk] | | `-- Extracting mpdecimal-4.0.0: .......... done [pkg-builder.dan.net.uk] | | `-- Installing openssl-3.0.16,1... [pkg-builder.dan.net.uk] | | `-- Extracting openssl-3.0.16,1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting python311-3.11.12: .......... done [pkg-builder.dan.net.uk] | `-- Extracting py311-packaging-24.2: .......... done [pkg-builder.dan.net.uk] `-- Extracting glib-2.84.1_2,2: .......... done [pkg-builder.dan.net.uk] `-- Installing libXi-1.8.1,1... [pkg-builder.dan.net.uk] | `-- Installing libXfixes-6.0.1... [pkg-builder.dan.net.uk] | `-- Extracting libXfixes-6.0.1: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXi-1.8.1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXtst-1.2.4... [pkg-builder.dan.net.uk] `-- Extracting libXtst-1.2.4: .......... done [pkg-builder.dan.net.uk] Extracting at-spi2-core-2.54.1_1: .......... done ==> Running trigger: gio-modules.ucl Generating GIO modules cache ==> Running trigger: glib-schemas.ucl Compiling glib schemas No schema files found: doing nothing. ===== Message from libinotify-20240724_1: -- You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. ===== Message from python311-3.11.12: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py311-gdbm databases/py-gdbm@py311 py311-sqlite3 databases/py-sqlite3@py311 py311-tkinter x11-toolkits/py-tkinter@py311 ===> ump-math-0.8.6_14 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> Returning to build of ump-math-0.8.6_14 ===> ump-math-0.8.6_14 depends on shared library: libcairo.so - not found ===> Installing existing package /packages/All/cairo-1.18.2,3.pkg [pkg-builder.dan.net.uk] Installing cairo-1.18.2,3... [pkg-builder.dan.net.uk] `-- Installing fontconfig-2.15.0_3,1... [pkg-builder.dan.net.uk] | `-- Installing freetype2-2.13.3... [pkg-builder.dan.net.uk] | `-- Extracting freetype2-2.13.3: .......... done [pkg-builder.dan.net.uk] `-- Extracting fontconfig-2.15.0_3,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXrender-0.9.12... [pkg-builder.dan.net.uk] `-- Extracting libXrender-0.9.12: ....... done [pkg-builder.dan.net.uk] `-- Installing lzo2-2.10_1... [pkg-builder.dan.net.uk] `-- Extracting lzo2-2.10_1: .......... done [pkg-builder.dan.net.uk] `-- Installing pixman-0.44.2... [pkg-builder.dan.net.uk] `-- Extracting pixman-0.44.2: ...... done [pkg-builder.dan.net.uk] `-- Installing png-1.6.47... [pkg-builder.dan.net.uk] `-- Extracting png-1.6.47: .......... done [pkg-builder.dan.net.uk] Extracting cairo-1.18.2,3: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from freetype2-2.13.3: -- 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. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===> ump-math-0.8.6_14 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so) ===> Returning to build of ump-math-0.8.6_14 ===> ump-math-0.8.6_14 depends on shared library: libgdk_pixbuf-2.0.so - not found ===> Installing existing package /packages/All/gdk-pixbuf2-2.42.12_1.pkg [pkg-builder.dan.net.uk] Installing gdk-pixbuf2-2.42.12_1... [pkg-builder.dan.net.uk] `-- Installing jpeg-turbo-3.1.0... [pkg-builder.dan.net.uk] `-- Extracting jpeg-turbo-3.1.0: .......... done [pkg-builder.dan.net.uk] `-- Installing shared-mime-info-2.4_1... [pkg-builder.dan.net.uk] `-- Extracting shared-mime-info-2.4_1: ......... done [pkg-builder.dan.net.uk] `-- Installing tiff-4.7.0... [pkg-builder.dan.net.uk] | `-- Installing jbigkit-2.1_3... [pkg-builder.dan.net.uk] | `-- Extracting jbigkit-2.1_3: .......... done [pkg-builder.dan.net.uk] | `-- Installing lerc-4.0.0... [pkg-builder.dan.net.uk] | `-- Extracting lerc-4.0.0: ..... done [pkg-builder.dan.net.uk] | `-- Installing libdeflate-1.22... [pkg-builder.dan.net.uk] | `-- Extracting libdeflate-1.22: .......... done [pkg-builder.dan.net.uk] | `-- Installing zstd-1.5.7... [pkg-builder.dan.net.uk] | | `-- Installing liblz4-1.10.0,1... [pkg-builder.dan.net.uk] | | `-- Extracting liblz4-1.10.0,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting zstd-1.5.7: .......... done [pkg-builder.dan.net.uk] `-- Extracting tiff-4.7.0: .......... done [pkg-builder.dan.net.uk] Extracting gdk-pixbuf2-2.42.12_1: .......... done ==> Running trigger: gdk-pixbuf-query-loaders.ucl Generating gdk-pixbuf modules cache ==> Running trigger: shared-mime-info.ucl Building the Shared MIME-Info database cache ===> ump-math-0.8.6_14 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so) ===> Returning to build of ump-math-0.8.6_14 ===> ump-math-0.8.6_14 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> ump-math-0.8.6_14 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> ump-math-0.8.6_14 depends on shared library: libgtk-x11-2.0.so - not found ===> Installing existing package /packages/All/gtk2-2.24.33_1.pkg [pkg-builder.dan.net.uk] Installing gtk2-2.24.33_1... [pkg-builder.dan.net.uk] `-- Installing cups-2.4.11_1... [pkg-builder.dan.net.uk] | `-- Installing avahi-app-0.8_6... [pkg-builder.dan.net.uk] | | `-- Installing dbus-glib-0.114... [pkg-builder.dan.net.uk] | | `-- Extracting dbus-glib-0.114: .......... done [pkg-builder.dan.net.uk] | | `-- Installing gdbm-1.25... [pkg-builder.dan.net.uk] | | `-- Extracting gdbm-1.25: .......... done [pkg-builder.dan.net.uk] | | `-- Installing gnome_subr-1.0... [pkg-builder.dan.net.uk] | | `-- Extracting gnome_subr-1.0: . done [pkg-builder.dan.net.uk] | | `-- Installing libdaemon-0.14_1... [pkg-builder.dan.net.uk] | | `-- Extracting libdaemon-0.14_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libevent-2.1.12... [pkg-builder.dan.net.uk] | | `-- Extracting libevent-2.1.12: .......... done ===> Creating groups Creating group 'avahi' with gid '558' ===> Creating users Creating user 'avahi' with uid '558' [pkg-builder.dan.net.uk] | `-- Extracting avahi-app-0.8_6: .......... done [pkg-builder.dan.net.uk] | `-- Installing gnutls-3.8.9... [pkg-builder.dan.net.uk] | | `-- Installing gmp-6.3.0... [pkg-builder.dan.net.uk] | | `-- Extracting gmp-6.3.0: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libidn2-2.3.8... [pkg-builder.dan.net.uk] | | `-- Installing libunistring-1.3... [pkg-builder.dan.net.uk] | | `-- Extracting libunistring-1.3: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libidn2-2.3.8: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libtasn1-4.20.0_1... [pkg-builder.dan.net.uk] | | `-- Extracting libtasn1-4.20.0_1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing nettle-3.10.1... [pkg-builder.dan.net.uk] | | `-- Extracting nettle-3.10.1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing p11-kit-0.25.5... [pkg-builder.dan.net.uk] | | `-- Extracting p11-kit-0.25.5: .......... done [pkg-builder.dan.net.uk] | | `-- Installing unbound-1.23.0... [pkg-builder.dan.net.uk] | | `-- Installing libnghttp2-1.65.0... [pkg-builder.dan.net.uk] | | `-- Extracting libnghttp2-1.65.0: ....... done ===> Creating groups Using existing group 'unbound' ===> Creating users Using existing user 'unbound' [pkg-builder.dan.net.uk] | | `-- Extracting unbound-1.23.0: .......... done [pkg-builder.dan.net.uk] | `-- Extracting gnutls-3.8.9: .......... done [pkg-builder.dan.net.uk] | `-- Installing libpaper-1.1.28_1... [pkg-builder.dan.net.uk] | `-- Extracting libpaper-1.1.28_1: .......... done ===> Creating groups Creating group 'cups' with gid '193' ===> Creating users Creating user 'cups' with uid '193' [pkg-builder.dan.net.uk] `-- Extracting cups-2.4.11_1: .......... done [pkg-builder.dan.net.uk] `-- Installing gtk-update-icon-cache-3.24.42... [pkg-builder.dan.net.uk] `-- Extracting gtk-update-icon-cache-3.24.42: .......... done [pkg-builder.dan.net.uk] `-- Installing harfbuzz-10.3.0... [pkg-builder.dan.net.uk] | `-- Installing graphite2-1.3.14... [pkg-builder.dan.net.uk] | `-- Extracting graphite2-1.3.14: .......... done [pkg-builder.dan.net.uk] `-- Extracting harfbuzz-10.3.0: .......... done [pkg-builder.dan.net.uk] `-- Installing hicolor-icon-theme-0.18... [pkg-builder.dan.net.uk] `-- Extracting hicolor-icon-theme-0.18: . done [pkg-builder.dan.net.uk] `-- Installing libXcomposite-0.4.6_1,1... [pkg-builder.dan.net.uk] `-- Extracting libXcomposite-0.4.6_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXcursor-1.2.2... [pkg-builder.dan.net.uk] `-- Extracting libXcursor-1.2.2: .......... done [pkg-builder.dan.net.uk] `-- Installing libXdamage-1.1.6... [pkg-builder.dan.net.uk] `-- Extracting libXdamage-1.1.6: ...... done [pkg-builder.dan.net.uk] `-- Installing libXinerama-1.1.5,1... [pkg-builder.dan.net.uk] `-- Extracting libXinerama-1.1.5,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXrandr-1.5.4... [pkg-builder.dan.net.uk] `-- Extracting libXrandr-1.5.4: .......... done [pkg-builder.dan.net.uk] `-- Installing pango-1.56.1... [pkg-builder.dan.net.uk] | `-- Installing fribidi-1.0.16... [pkg-builder.dan.net.uk] | `-- Extracting fribidi-1.0.16: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXft-2.3.8... [pkg-builder.dan.net.uk] | `-- Extracting libXft-2.3.8: .......... done [pkg-builder.dan.net.uk] | `-- Installing libthai-0.1.29_1... [pkg-builder.dan.net.uk] | | `-- Installing libdatrie-0.2.13_2... [pkg-builder.dan.net.uk] | | `-- Extracting libdatrie-0.2.13_2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libthai-0.1.29_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting pango-1.56.1: .......... done [pkg-builder.dan.net.uk] Extracting gtk2-2.24.33_1: .......... done ==> Running trigger: gtk-update-icon-cache.ucl Generating GTK icon cache for /usr/local/share/icons/hicolor ===> ump-math-0.8.6_14 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so) ===> Returning to build of ump-math-0.8.6_14 ===> ump-math-0.8.6_14 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so) ===> ump-math-0.8.6_14 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) ===> ump-math-0.8.6_14 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so) ===> ump-math-0.8.6_14 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for ump-math-0.8.6_14 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for ump-math-0.8.6_14 cc src/inliner.c -o inliner ./inliner translations/Svenska translation_svenska translation_svenska.c cc translation_svenska.c -c -o translation_svenska.o c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/vartypes.cpp -o vartypes.o In file included from src/vartypes.cpp:9: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/utf8_string.cpp -o utf8_string.o In file included from src/utf8_string.cpp:20: In file included from src/keyfile.h:29: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/picture.cpp -o picture.o In file included from src/picture.cpp:122: In file included from src/picture.h:25: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/picture.cpp:1331:31: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] 1331 | fprintf(fp,"%ld\n%ld\n255%c",width,height,10); | ~~~ ^~~~~ | %d src/picture.cpp:1331:37: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] 1331 | fprintf(fp,"%ld\n%ld\n255%c",width,height,10); | ~~~ ^~~~~~ | %d src/picture.cpp:1340:32: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] 1340 | fprintf(fp,"%lu %lu %lu\n",uint32(farg.red),uint32(farg.green),uint32(farg.blue)); | ~~~ ^~~~~~~~~~~~~~~~ | %u src/picture.cpp:1340:49: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] 1340 | fprintf(fp,"%lu %lu %lu\n",uint32(farg.red),uint32(farg.green),uint32(farg.blue)); | ~~~ ^~~~~~~~~~~~~~~~~~ | %u src/picture.cpp:1340:68: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] 1340 | fprintf(fp,"%lu %lu %lu\n",uint32(farg.red),uint32(farg.green),uint32(farg.blue)); | ~~~ ^~~~~~~~~~~~~~~~~ | %u 6 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/keyfile.cpp -o keyfile.o In file included from src/keyfile.cpp:26: In file included from src/utf8_string.h:25: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/integer.cpp -o integer.o In file included from src/integer.cpp:10: In file included from src/integer.h:24: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/real.cpp -o real.o In file included from src/real.cpp:44: In file included from src/real.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/real.cpp:216:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 216 | if( abs_over_one = (top->compare_abs_value( *bottom ) >= 0) || *top == 0 ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/real.cpp:216:23: note: place parentheses around the assignment to silence this warning 216 | if( abs_over_one = (top->compare_abs_value( *bottom ) >= 0) || *top == 0 ) | ^ | ( ) src/real.cpp:216:23: note: use '==' to turn this assignment into an equality comparison 216 | if( abs_over_one = (top->compare_abs_value( *bottom ) >= 0) || *top == 0 ) | ^ | == 2 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/complex.cpp -o complex.o In file included from src/complex.cpp:35: In file included from src/complex.h:24: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/matrix.cpp -o matrix.o In file included from src/matrix.cpp:39: In file included from src/matrix.h:25: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/math2.cpp -o math2.o In file included from src/math2.cpp:11: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/math2.cpp:301:30: warning: implicit conversion from 'const int64' (aka 'const long long') to 'floatx' (aka 'double') changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] 301 | if(floatx(tmp.real) >= int64_max) { | ~~ ^~~~~~~~~ 2 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/math2.variable.cpp -o math2.variable.o In file included from src/math2.variable.cpp:10: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/math2.variable.cpp:54:53: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] 54 | snprintf( tmp, 100, "%s %ldx%ld", _("Picture"), pic->pic.get_width(), | ~~~ ^~~~~~~~~~~~~~~~~~~~ | %d src/math2.variable.cpp:55:15: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] 54 | snprintf( tmp, 100, "%s %ldx%ld", _("Picture"), pic->pic.get_width(), | ~~~ | %d 55 | pic->pic.get_height() ); | ^~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/math2.variablelist.cpp -o math2.variablelist.o In file included from src/math2.variablelist.cpp:10: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/math2.builtin.cpp -o math2.builtin.o In file included from src/math2.builtin.cpp:9: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/math2.builtin.cpp:1205:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1205 | snprintf( error.msg, ERROR_OBJ_MSG_LEN, _("Variable/function not found") ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/keyfile.h:99:19: note: expanded from macro '_' 99 | #define _(String) translation.get_text(String) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/math2.builtin.cpp:1205:44: note: treat the string as an argument to avoid this 1205 | snprintf( error.msg, ERROR_OBJ_MSG_LEN, _("Variable/function not found") ); | ^ | "%s", src/keyfile.h:99:19: note: expanded from macro '_' 99 | #define _(String) translation.get_text(String) | ^ src/math2.builtin.cpp:1250:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1250 | snprintf( error.msg, ERROR_OBJ_MSG_LEN, _("Variable/function not found") ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/keyfile.h:99:19: note: expanded from macro '_' 99 | #define _(String) translation.get_text(String) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/math2.builtin.cpp:1250:44: note: treat the string as an argument to avoid this 1250 | snprintf( error.msg, ERROR_OBJ_MSG_LEN, _("Variable/function not found") ); | ^ | "%s", src/keyfile.h:99:19: note: expanded from macro '_' 99 | #define _(String) translation.get_text(String) | ^ src/math2.builtin.cpp:3200:35: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] 3200 | snprintf( tmp, 10, " x^%ld", i ); | ~~~ ^ | %d 4 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/math2.array.cpp -o math2.array.o In file included from src/math2.array.cpp:11: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/math2.picture.cpp -o math2.picture.o In file included from src/math2.picture.cpp:9: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/math2.codeline.cpp -o math2.codeline.o In file included from src/math2.codeline.cpp:10: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/math2.codeblock.cpp -o math2.codeblock.o In file included from src/math2.codeblock.cpp:10: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/math2.codeblock.cpp:273:66: warning: format specifies type 'long' but the argument has underlying type 'unsigned int' [-Wformat] 273 | snprintf( str, 50, "Unhandled CodeBlock_SubType return %ld", tmp ); | ~~~ ^~~ | %u src/math2.codeblock.cpp:292:13: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 291 | snprintf( error2.msg, ERROR_OBJ_MSG_LEN, "%s: %s %ld: %s", filename.c_str(), _("line"), | ~~~ | %d 292 | lines[i]->line_number, error.msg ); | ^~~~~~~~~~~~~~~~~~~~~ src/math2.codeblock.cpp:698:13: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 697 | snprintf( error2.msg, ERROR_OBJ_MSG_LEN, "%s: %s %ld: %s", filename.c_str(), _("line"), | ~~~ | %d 698 | linenr, error.msg ); | ^~~~~~ src/math2.codeblock.cpp:1099:13: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1098 | snprintf( error2.msg, ERROR_OBJ_MSG_LEN, "%s: %s %ld: %s", filename.c_str(), _("line"), | ~~~ | %d 1099 | linenr, error.msg ); | ^~~~~~ src/math2.codeblock.cpp:1274:16: warning: enumeration values 'CodeBlock_SubType_While', 'CodeBlock_SubType_If', and 'CodeBlock_SubType_Else' not handled in switch [-Wswitch] 1274 | switch( ret ) | ^~~ src/math2.codeblock.cpp:1369:76: warning: format specifies type 'long' but the argument has underlying type 'unsigned int' [-Wformat] 1369 | printf("not yet implemented CodeBlock_Type_Void with sub_type: %ld\n", lines[start]->sub_type); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~ | %u 7 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/math2.functionlist.cpp -o math2.functionlist.o In file included from src/math2.functionlist.cpp:11: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c src/ump_3d_viewer.cpp -o ump_3d_viewer.o In file included from src/ump_3d_viewer.cpp:22: In file included from src/ump_3d_viewer.h:12: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 1 warning generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c `pkg-config --cflags gtk+-2.0` src/main.cpp -o main.o -DDATA_DIR=\"/usr/local/share/ump\" -DFLAGS="\"-DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include\"" In file included from src/main.cpp:21: In file included from src/main.h:12: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ In file included from src/main.cpp:73: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/main.cpp:73: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ src/main.cpp:514:30: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] 514 | snprintf( str, 100, "%lu", format.get_max_decimals() ); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %u src/main.cpp:564:34: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 564 | snprintf( number, 10, "%ld", i ); | ~~~ ^ | %d src/main.cpp:574:34: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 574 | snprintf( number, 10, "%ld", i ); | ~~~ ^ | %d src/main.cpp:589:34: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 589 | snprintf( number, 10, "%ld", i ); | ~~~ ^ | %d src/main.cpp:599:34: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 599 | snprintf( number, 10, "%ld", i ); | ~~~ ^ | %d src/main.cpp:607:30: warning: format specifies type 'unsigned long' but the argument has type 'int32' (aka 'int') [-Wformat] 607 | snprintf( str, 100, "%lu", SNAP_SIZE ); | ~~~ ^~~~~~~~~ | %d src/main.cpp:712:34: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 712 | snprintf( tmpstr, 50, "%ld", i ); | ~~~ ^ | %d src/main.cpp:729:34: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 729 | snprintf( tmpstr, 50, "%ld", i ); | ~~~ ^ | %d src/main.cpp:773:27: warning: format specifies type 'unsigned long *' but the argument has type 'uint32 *' (aka 'unsigned int *') [-Wformat] 773 | if(sscanf( tmp, "%lu", &tmp_int ) == 0) | ~~~ ^~~~~~~~ | %u src/main.cpp:832:24: warning: format specifies type 'unsigned long *' but the argument has type 'uint32 *' (aka 'unsigned int *') [-Wformat] 832 | if(sscanf(tmp,"%lu",&tmp_int) == 0) | ~~~ ^~~~~~~~ | %u 13 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c `pkg-config --cflags gtk+-2.0` src/picture2gtk.cpp -o picture2gtk.o In file included from src/picture2gtk.cpp:53: In file included from src/picture2gtk.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/picture2gtk.cpp:53: In file included from src/picture2gtk.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from src/picture2gtk.cpp:53: In file included from src/picture2gtk.h:33: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 3 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -DUSE_AUTO_COMPLETION -c `pkg-config --cflags gtk+-2.0` src/ump_advancedwin.cpp -o ump_advancedwin.o In file included from src/ump_advancedwin.cpp:9: In file included from src/ump_advancedwin.h:12: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/ump_advancedwin.cpp:9: In file included from src/ump_advancedwin.h:12: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from src/ump_advancedwin.cpp:9: In file included from src/ump_advancedwin.h:13: In file included from src/vector.h:44: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/ump_advancedwin.cpp:411:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 411 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^~~~~~~ src/ump_advancedwin.cpp:411:74: note: treat the string as an argument to avoid this 411 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^ | "%s", src/ump_advancedwin.cpp:424:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 424 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^~~~~~~ src/ump_advancedwin.cpp:424:74: note: treat the string as an argument to avoid this 424 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^ | "%s", src/ump_advancedwin.cpp:437:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 437 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^~~~~~~ src/ump_advancedwin.cpp:437:74: note: treat the string as an argument to avoid this 437 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^ | "%s", 6 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c `pkg-config --cflags gtk+-2.0` src/ump_editor.cpp -o ump_editor.o In file included from src/ump_editor.cpp:9: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/ump_editor.cpp:9: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from src/ump_editor.cpp:13: In file included from src/ump_advancedwin.h:13: In file included from src/vector.h:44: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/ump_editor.cpp:157:56: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 157 | GTK_BUTTONS_CLOSE, tmp_err ); | ^~~~~~~ src/ump_editor.cpp:157:56: note: treat the string as an argument to avoid this 157 | GTK_BUTTONS_CLOSE, tmp_err ); | ^ | "%s", src/ump_editor.cpp:183:57: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 183 | GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_editor.cpp:183:57: note: treat the string as an argument to avoid this 183 | GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_editor.cpp:206:56: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 206 | GTK_BUTTONS_CLOSE, tmp_err ); | ^~~~~~~ src/ump_editor.cpp:206:56: note: treat the string as an argument to avoid this 206 | GTK_BUTTONS_CLOSE, tmp_err ); | ^ | "%s", src/ump_editor.cpp:254:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 254 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^~~~~~~ src/ump_editor.cpp:254:74: note: treat the string as an argument to avoid this 254 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^ | "%s", src/ump_editor.cpp:267:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 267 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^~~~~~~ src/ump_editor.cpp:267:74: note: treat the string as an argument to avoid this 267 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^ | "%s", src/ump_editor.cpp:281:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 281 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^~~~~~~ src/ump_editor.cpp:281:74: note: treat the string as an argument to avoid this 281 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, tmp_err ); | ^ | "%s", 9 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c `pkg-config --cflags gtk+-2.0` src/ump_graphwin.cpp -o ump_graphwin.o In file included from src/ump_graphwin.cpp:9: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/ump_graphwin.cpp:9: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from src/ump_graphwin.cpp:17: In file included from src/ump_picturewin.h:12: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/ump_graphwin.cpp:500:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 500 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_graphwin.cpp:500:74: note: treat the string as an argument to avoid this 500 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_graphwin.cpp:512:75: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 512 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_graphwin.cpp:512:75: note: treat the string as an argument to avoid this 512 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_graphwin.cpp:544:54: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 544 | snprintf( tmp_str, 100, "GRAPHTOOL_3D_Z%ld_ENTRY", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:561:53: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 561 | snprintf( tmp_str, 100, "GRAPHTOOL_3D_Z%ld_SHOW", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:567:37: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 567 | snprintf( tmp_str, 100, "z_%ld=", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:577:58: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 577 | snprintf( tmp_str, 100, "GRAPHTOOL_3D_Z%ld_DRAW_MODE", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:592:54: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 592 | snprintf( tmp_str, 100, "GRAPHTOOL_3D_Z%ld_COLOR", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:642:35: warning: format specifies type 'long *' but the argument has type 'int *' [-Wformat] 642 | if(sscanf( tmp_char_ptr, "%ld", &tmp_int ) == 1) | ~~~ ^~~~~~~~ | %d src/ump_graphwin.cpp:659:35: warning: format specifies type 'long *' but the argument has type 'int *' [-Wformat] 659 | if(sscanf( tmp_char_ptr, "%ld", &tmp_int ) == 1) | ~~~ ^~~~~~~~ | %d src/ump_graphwin.cpp:796:35: warning: format specifies type 'long *' but the argument has type 'int32 *' (aka 'int *') [-Wformat] 796 | if(sscanf( str->c_str(), "%ld", &width ) == 1) | ~~~ ^~~~~~ | %d src/ump_graphwin.cpp:805:35: warning: format specifies type 'long *' but the argument has type 'int32 *' (aka 'int *') [-Wformat] 805 | if(sscanf( str->c_str(), "%ld", &height ) == 1) | ~~~ ^~~~~~~ | %d src/ump_graphwin.cpp:840:26: warning: format specifies type 'long *' but the argument has type 'int *' [-Wformat] 840 | if(sscanf( tmp, "%ld", &val ) == 1) | ~~~ ^~~~ | %d src/ump_graphwin.cpp:860:26: warning: format specifies type 'long *' but the argument has type 'int *' [-Wformat] 860 | if(sscanf( tmp, "%ld", &val ) == 1) | ~~~ ^~~~ | %d src/ump_graphwin.cpp:882:48: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 882 | snprintf( tmpstr, 50, "GRAPHTOOL_Y%lu_SHOW", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:885:49: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 885 | snprintf( tmpstr, 50, "GRAPHTOOL_Y%lu_ENTRY", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:889:49: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 889 | snprintf( tmpstr, 50, "GRAPHTOOL_Y%lu_COLOR", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:893:48: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 893 | snprintf( tmpstr, 50, "GRAPHTOOL_R%lu_SHOW", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:896:49: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 896 | snprintf( tmpstr, 50, "GRAPHTOOL_R%lu_ENTRY", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:900:49: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 900 | snprintf( tmpstr, 50, "GRAPHTOOL_R%lu_COLOR", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:906:50: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 906 | snprintf( tmpstr, 50, "GRAPHTOOL_XF%lu_SHOW", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:909:51: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 909 | snprintf( tmpstr, 50, "GRAPHTOOL_XF%lu_ENTRY", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:913:51: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 913 | snprintf( tmpstr, 50, "GRAPHTOOL_YF%lu_ENTRY", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:917:51: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 917 | snprintf( tmpstr, 50, "GRAPHTOOL_XF%lu_COLOR", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1156:37: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1156 | snprintf( tmp_str, 10, "y_%ld=", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1248:37: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1248 | snprintf( tmp_str, 10, "r_%ld=", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1354:38: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1354 | snprintf( tmp_str, 10, "yf_%ld=", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1361:38: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1361 | snprintf( tmp_str, 10, "xf_%ld=", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1583:50: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1583 | snprintf( str, 50, "GRAPHTOOL_3D_Z%lu_SHOW", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1587:51: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1587 | snprintf( str, 50, "GRAPHTOOL_3D_Z%lu_ENTRY", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1590:55: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1590 | snprintf( str, 50, "GRAPHTOOL_3D_Z%ld_DRAW_MODE", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1607:44: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1607 | snprintf( str, 50, "%02lx%02lx%02lx", func_3d_colors[i][i2]->red, | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1608:16: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1607 | snprintf( str, 50, "%02lx%02lx%02lx", func_3d_colors[i][i2]->red, | ~~~~~ | %02hhx 1608 | func_3d_colors[i][i2]->green, func_3d_colors[i][i2]->blue ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ump_graphwin.cpp:1608:46: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1607 | snprintf( str, 50, "%02lx%02lx%02lx", func_3d_colors[i][i2]->red, | ~~~~~ | %02hhx 1608 | func_3d_colors[i][i2]->green, func_3d_colors[i][i2]->blue ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ump_graphwin.cpp:1613:51: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1613 | snprintf( str, 50, "GRAPHTOOL_3D_Z%ld_COLOR", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1620:29: warning: format specifies type 'unsigned long' but the argument has type 'int32' (aka 'int') [-Wformat] 1620 | snprintf( str, 50, "%lu", settings.width ); | ~~~ ^~~~~~~~~~~~~~ | %d src/ump_graphwin.cpp:1624:29: warning: format specifies type 'unsigned long' but the argument has type 'int32' (aka 'int') [-Wformat] 1624 | snprintf( str, 50, "%lu", settings.height ); | ~~~ ^~~~~~~~~~~~~~~ | %d src/ump_graphwin.cpp:1627:42: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1627 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.bgcolor.red, settings.bgcolor.green, settings.bgcolor.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1627:64: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1627 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.bgcolor.red, settings.bgcolor.green, settings.bgcolor.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1627:88: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1627 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.bgcolor.red, settings.bgcolor.green, settings.bgcolor.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1642:42: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1642 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.axes_color.red, settings.axes_color.green, settings.axes_color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1642:67: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1642 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.axes_color.red, settings.axes_color.green, settings.axes_color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1642:94: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1642 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.axes_color.red, settings.axes_color.green, settings.axes_color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1648:42: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1648 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.grid_color.red, settings.grid_color.green, settings.grid_color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1648:67: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1648 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.grid_color.red, settings.grid_color.green, settings.grid_color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1648:94: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1648 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.grid_color.red, settings.grid_color.green, settings.grid_color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1656:29: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] 1656 | snprintf( str, 50, "%ld", settings.scale_length ); | ~~~ ^~~~~~~~~~~~~~~~~~~~~ | %d src/ump_graphwin.cpp:1668:29: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1668 | snprintf( str, 50, "%ld", settings.active_page ); | ~~~ ^~~~~~~~~~~~~~~~~~~~ | %d src/ump_graphwin.cpp:1693:46: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1693 | snprintf( str, 50, "GRAPHTOOL_Y%lu_SHOW", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1697:47: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1697 | snprintf( str, 50, "GRAPHTOOL_Y%lu_ENTRY", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1701:47: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1701 | snprintf( str, 50, "GRAPHTOOL_Y%lu_COLOR", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1702:43: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1702 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.func[i].color.red, settings.func[i].color.green, settings.func[i].color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1702:71: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1702 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.func[i].color.red, settings.func[i].color.green, settings.func[i].color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1702:101: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1702 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.func[i].color.red, settings.func[i].color.green, settings.func[i].color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1706:46: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1706 | snprintf( str, 50, "GRAPHTOOL_R%lu_SHOW", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1710:47: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1710 | snprintf( str, 50, "GRAPHTOOL_R%lu_ENTRY", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1714:47: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1714 | snprintf( str, 50, "GRAPHTOOL_R%lu_COLOR", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1715:43: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1715 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.polar[i].color.red, settings.polar[i].color.green, settings.polar[i].color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1715:72: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1715 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.polar[i].color.red, settings.polar[i].color.green, settings.polar[i].color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1715:103: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1715 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.polar[i].color.red, settings.polar[i].color.green, settings.polar[i].color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1721:48: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1721 | snprintf( str, 50, "GRAPHTOOL_XF%lu_SHOW", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1725:49: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1725 | snprintf( str, 50, "GRAPHTOOL_XF%lu_ENTRY", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1729:49: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1729 | snprintf( str, 50, "GRAPHTOOL_YF%lu_ENTRY", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1733:49: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 1733 | snprintf( str, 50, "GRAPHTOOL_XF%lu_COLOR", i ); | ~~~ ^ | %d src/ump_graphwin.cpp:1734:44: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1734 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.par[i].color.red, settings.par[i].color.green, settings.par[i].color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1734:71: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1734 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.par[i].color.red, settings.par[i].color.green, settings.par[i].color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx src/ump_graphwin.cpp:1734:100: warning: format specifies type 'unsigned long' but the argument has type 'uint8' (aka 'unsigned char') [-Wformat] 1734 | snprintf( str2, 10, "%02lx%02lx%02lx", settings.par[i].color.red, settings.par[i].color.green, settings.par[i].color.blue ); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %02hhx 69 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c `pkg-config --cflags gtk+-2.0` src/ump_prefwin.cpp -o ump_prefwin.o In file included from src/ump_prefwin.cpp:9: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/ump_prefwin.cpp:9: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from src/ump_prefwin.cpp:10: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 3 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c `pkg-config --cflags gtk+-2.0` src/ump_aboutwin.cpp -o ump_aboutwin.o In file included from src/ump_aboutwin.cpp:10: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/ump_aboutwin.cpp:10: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from src/ump_aboutwin.cpp:12: In file included from src/main.h:12: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 3 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c `pkg-config --cflags gtk+-2.0` src/ump_simplewin.cpp -o ump_simplewin.o In file included from src/ump_simplewin.cpp:9: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/ump_simplewin.cpp:9: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from src/ump_simplewin.cpp:14: In file included from src/ump_advancedwin.h:13: In file included from src/vector.h:44: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/ump_simplewin.cpp:139:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 139 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_simplewin.cpp:139:74: note: treat the string as an argument to avoid this 139 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_simplewin.cpp:151:75: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 151 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_simplewin.cpp:151:75: note: treat the string as an argument to avoid this 151 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_simplewin.cpp:195:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 195 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_simplewin.cpp:195:74: note: treat the string as an argument to avoid this 195 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_simplewin.cpp:264:75: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 264 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_simplewin.cpp:264:75: note: treat the string as an argument to avoid this 264 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_simplewin.cpp:300:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 300 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_simplewin.cpp:300:74: note: treat the string as an argument to avoid this 300 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_simplewin.cpp:333:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 333 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_simplewin.cpp:333:74: note: treat the string as an argument to avoid this 333 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_simplewin.cpp:357:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 357 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_simplewin.cpp:357:74: note: treat the string as an argument to avoid this 357 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_simplewin.cpp:390:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 390 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_simplewin.cpp:390:74: note: treat the string as an argument to avoid this 390 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_simplewin.cpp:443:1: warning: non-void function does not return a value [-Wreturn-type] 443 | } | ^ src/ump_simplewin.cpp:617:13: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 617 | pixbuf = gdk_pixbuf_new_from_inline (-1, image_sqrt, FALSE, NULL); | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:297:1: note: 'gdk_pixbuf_new_from_inline' has been explicitly marked deprecated here 297 | GDK_PIXBUF_DEPRECATED_IN_2_32 | ^ /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h:630:39: note: expanded from macro 'GDK_PIXBUF_DEPRECATED_IN_2_32' 630 | #define GDK_PIXBUF_DEPRECATED_IN_2_32 G_DEPRECATED _GDK_PIXBUF_EXTERN | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ 13 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c `pkg-config --cflags gtk+-2.0` src/ump_picturewin.cpp -o ump_picturewin.o In file included from src/ump_picturewin.cpp:11: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/ump_picturewin.cpp:11: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from src/ump_picturewin.cpp:13: In file included from src/ump_picturewin.h:12: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/ump_picturewin.cpp:166:57: warning: format specifies type 'long' but the argument has underlying type 'unsigned int' [-Wformat] 166 | printf( "Internal error: unhandled snap_type: %ld\n", snap->snap_type ); | ~~~ ^~~~~~~~~~~~~~~ | %u src/ump_picturewin.cpp:276:53: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 276 | snprintf( char_str, 1000, "x = nSolve( y%ld, x, ", function ); | ~~~ ^~~~~~~~ | %d src/ump_picturewin.cpp:301:59: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 301 | snprintf( char_str, 500, "ans = \"nDeriv( y%ld, x, x, ", function ); | ~~~ ^~~~~~~~ | %d src/ump_picturewin.cpp:344:76: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 344 | snprintf( tmp_str, 50, "x = nSolve( y%ld + \" - (\" + y%ld + \")\", x, ", f1, f2 ); | ~~~ ^~ | %d src/ump_picturewin.cpp:344:80: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 344 | snprintf( tmp_str, 50, "x = nSolve( y%ld + \" - (\" + y%ld + \")\", x, ", f1, f2 ); | ~~~ ^~ | %d src/ump_picturewin.cpp:436:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 436 | _("At least 2 functions must be drawn\nto be able to find an intersection") ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/keyfile.h:99:19: note: expanded from macro '_' 99 | #define _(String) translation.get_text(String) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ump_picturewin.cpp:436:16: note: treat the string as an argument to avoid this 436 | _("At least 2 functions must be drawn\nto be able to find an intersection") ); | ^ | "%s", src/keyfile.h:99:19: note: expanded from macro '_' 99 | #define _(String) translation.get_text(String) | ^ src/ump_picturewin.cpp:460:39: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 460 | snprintf( tmp_str, 50, "y%ld = \"", old_best_match_i ); | ~~~ ^~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:477:41: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 477 | snprintf( tmp_str, 50, "y%ld = \"", i ); | ~~~ ^ | %d src/ump_picturewin.cpp:561:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 561 | GTK_BUTTONS_OK, str.c_str() ); | ^~~~~~~~~~~ src/ump_picturewin.cpp:561:52: note: treat the string as an argument to avoid this 561 | GTK_BUTTONS_OK, str.c_str() ); | ^ | "%s", src/ump_picturewin.cpp:569:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 569 | GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_picturewin.cpp:569:55: note: treat the string as an argument to avoid this 569 | GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_picturewin.cpp:580:75: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 580 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg); | ^~~~~~~~~ src/ump_picturewin.cpp:580:75: note: treat the string as an argument to avoid this 580 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg); | ^ | "%s", src/ump_picturewin.cpp:603:62: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 603 | snprintf( char_str, 1000, "x = nDeriv( y%ld, x, %s, %s )", old_best_match_i, str.c_str(), str2.c_str() ); | ~~~ ^~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:614:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 614 | GTK_BUTTONS_OK, char_str ); | ^~~~~~~~ src/ump_picturewin.cpp:614:52: note: treat the string as an argument to avoid this 614 | GTK_BUTTONS_OK, char_str ); | ^ | "%s", src/ump_picturewin.cpp:622:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 622 | GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_picturewin.cpp:622:55: note: treat the string as an argument to avoid this 622 | GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_picturewin.cpp:633:75: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 633 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg); | ^~~~~~~~~ src/ump_picturewin.cpp:633:75: note: treat the string as an argument to avoid this 633 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg); | ^ | "%s", src/ump_picturewin.cpp:661:54: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 661 | snprintf( char_str, 1000, "x = nInt( y%ld, x, ", old_best_match_i ); | ~~~ ^~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:666:42: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 666 | snprintf( char_str, 1000, ", %ld )", abs(first_x-x)*10 ); | ~~~ ^~~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:675:87: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 675 | snprintf( char_str, 1000, "plot_picture = shade( plot_picture, y%ld, \"0\", x, ", old_best_match_i ); | ~~~ ^~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:690:82: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 690 | snprintf( char_str, 1000, "x = nInt( y%ld + \" - ( \" + y%ld + \" )\", x, ", first_old_best_match_i, | ~~~ ^~~~~~~~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:691:15: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 690 | snprintf( char_str, 1000, "x = nInt( y%ld + \" - ( \" + y%ld + \" )\", x, ", first_old_best_match_i, | ~~~ | %d 691 | old_best_match_i ); | ^~~~~~~~~~~~~~~~ src/ump_picturewin.cpp:696:42: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 696 | snprintf( char_str, 1000, ", %ld )", abs(first_x-x)*10 ); | ~~~ ^~~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:705:86: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 705 | snprintf( char_str, 1000, "plot_picture = shade( plot_picture, y%ld, y%ld, x, ", first_old_best_match_i, | ~~~ ^~~~~~~~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:706:15: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 705 | snprintf( char_str, 1000, "plot_picture = shade( plot_picture, y%ld, y%ld, x, ", first_old_best_match_i, | ~~~ | %d 706 | old_best_match_i ); | ^~~~~~~~~~~~~~~~ src/ump_picturewin.cpp:742:53: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 742 | GTK_BUTTONS_OK, char_str ); | ^~~~~~~~ src/ump_picturewin.cpp:742:53: note: treat the string as an argument to avoid this 742 | GTK_BUTTONS_OK, char_str ); | ^ | "%s", src/ump_picturewin.cpp:760:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 760 | GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_picturewin.cpp:760:55: note: treat the string as an argument to avoid this 760 | GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_picturewin.cpp:771:75: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 771 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg); | ^~~~~~~~~ src/ump_picturewin.cpp:771:75: note: treat the string as an argument to avoid this 771 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg); | ^ | "%s", src/ump_picturewin.cpp:799:79: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 799 | snprintf( char_str, 1000, "x = nInt( \"sqrt( 1.0 + nDeriv( y%ld, x, x, ", old_best_match_i ); | ~~~ ^~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:807:42: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 807 | snprintf( char_str, 1000, ", %ld )", abs(first_x-x)*10 ); | ~~~ ^~~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:818:45: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 818 | snprintf( error.msg, ERROR_OBJ_MSG_LEN, _("Start and end point must both\nbe at the same function.") ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/keyfile.h:99:19: note: expanded from macro '_' 99 | #define _(String) translation.get_text(String) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ump_picturewin.cpp:818:45: note: treat the string as an argument to avoid this 818 | snprintf( error.msg, ERROR_OBJ_MSG_LEN, _("Start and end point must both\nbe at the same function.") ); | ^ | "%s", src/keyfile.h:99:19: note: expanded from macro '_' 99 | #define _(String) translation.get_text(String) | ^ src/ump_picturewin.cpp:831:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 831 | GTK_BUTTONS_OK, char_str ); | ^~~~~~~~ src/ump_picturewin.cpp:831:24: note: treat the string as an argument to avoid this 831 | GTK_BUTTONS_OK, char_str ); | ^ | "%s", src/ump_picturewin.cpp:849:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 849 | GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_picturewin.cpp:849:55: note: treat the string as an argument to avoid this 849 | GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_picturewin.cpp:860:75: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 860 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg); | ^~~~~~~~~ src/ump_picturewin.cpp:860:75: note: treat the string as an argument to avoid this 860 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg); | ^ | "%s", src/ump_picturewin.cpp:949:40: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 949 | str.c_str() ); | ^~~~~~~~~~~ src/ump_picturewin.cpp:949:40: note: treat the string as an argument to avoid this 949 | str.c_str() ); | ^ | "%s", src/ump_picturewin.cpp:958:40: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 958 | error.msg ); | ^~~~~~~~~ src/ump_picturewin.cpp:958:40: note: treat the string as an argument to avoid this 958 | error.msg ); | ^ | "%s", src/ump_picturewin.cpp:970:60: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 970 | GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_picturewin.cpp:970:60: note: treat the string as an argument to avoid this 970 | GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_picturewin.cpp:1011:40: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1011 | str.c_str() ); | ^~~~~~~~~~~ src/ump_picturewin.cpp:1011:40: note: treat the string as an argument to avoid this 1011 | str.c_str() ); | ^ | "%s", src/ump_picturewin.cpp:1020:59: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1020 | GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_picturewin.cpp:1020:59: note: treat the string as an argument to avoid this 1020 | GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_picturewin.cpp:1032:60: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1032 | GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_picturewin.cpp:1032:60: note: treat the string as an argument to avoid this 1032 | GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/ump_picturewin.cpp:1165:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1165 | register int32 tmp = width*3; | ^~~~~~~~ src/ump_picturewin.cpp:1176:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] 1176 | register int32 tmp = width*3; | ^~~~~~~~ src/ump_picturewin.cpp:1346:41: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1346 | snprintf( char_str, 300, "y%ld( ", best_match_i ); | ~~~ ^~~~~~~~~~~~ | %d src/ump_picturewin.cpp:1604:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1604 | error.msg ); | ^~~~~~~~~ src/ump_picturewin.cpp:1604:37: note: treat the string as an argument to avoid this 1604 | error.msg ); | ^ | "%s", src/ump_picturewin.cpp:1725:67: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] 1725 | snprintf( char_str, 1000, "plot_picture = picture( %ld, %ld, ", act_settings.width, act_settings.height ); | ~~~ ^~~~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:1725:87: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] 1725 | snprintf( char_str, 1000, "plot_picture = picture( %ld, %ld, ", act_settings.width, act_settings.height ); | ~~~ ^~~~~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:1756:14: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] 1754 | snprintf( char_str, 1000, "plot_picture.axes( %s, %s, %ld, [[ %f, %f, %f ]] )\n", | ~~~ | %d 1755 | act_settings.scalex.c_str(), act_settings.scaley.c_str(), 1756 | act_settings.scale_length, act_settings.axes_color.red/255.0f, | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/ump_picturewin.cpp:1769:44: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1769 | snprintf( char_str, 1000, "y%ld = \"", i ); | ~~~ ^ | %d src/ump_picturewin.cpp:1780:45: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] 1780 | snprintf( char_str, 1000, " ), %ld )\n", act_settings.width ); | ~~~ ^~~~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:1799:73: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1799 | snprintf( char_str, 1000, "plot_y_matrix = table( y%ld, x, dec( ", i ); | ~~~ ^ | %d src/ump_picturewin.cpp:1803:50: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] 1803 | snprintf( char_str, 1000, " ), %ld, i )\n", act_settings.width ); | ~~~ ^~~~~~~~~~~~~~~~~~ | %d src/ump_picturewin.cpp:1837:44: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1837 | snprintf( char_str, 1000, "r%ld = \"", i ); | ~~~ ^ | %d src/ump_picturewin.cpp:1850:80: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1850 | snprintf( char_str, 1000, "plot_x_matrix = table( \"r%ld(x)cos x\", x, ", i ); | ~~~ ^ | %d src/ump_picturewin.cpp:1860:80: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1860 | snprintf( char_str, 1000, "plot_y_matrix = table( \"r%ld(x)sin x\", x, ", i ); | ~~~ ^ | %d src/ump_picturewin.cpp:1889:45: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1889 | snprintf( char_str, 1000, "xf%ld = \"", i ); | ~~~ ^ | %d src/ump_picturewin.cpp:1897:45: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1897 | snprintf( char_str, 1000, "yf%ld = \"", i ); | ~~~ ^ | %d src/ump_picturewin.cpp:1910:69: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1910 | snprintf( char_str, 1000, "plot_x_matrix = table( xf%ld, x, ", i ); | ~~~ ^ | %d src/ump_picturewin.cpp:1920:69: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 1920 | snprintf( char_str, 1000, "plot_y_matrix = table( yf%ld, x, ", i ); | ~~~ ^ | %d src/ump_picturewin.cpp:1992:55: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1992 | GTK_BUTTONS_CLOSE, str.c_str() ); | ^~~~~~~~~~~ src/ump_picturewin.cpp:1992:55: note: treat the string as an argument to avoid this 1992 | GTK_BUTTONS_CLOSE, str.c_str() ); | ^ | "%s", src/ump_picturewin.cpp:2005:56: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2005 | GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/ump_picturewin.cpp:2005:56: note: treat the string as an argument to avoid this 2005 | GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", 61 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c `pkg-config --cflags gtk+-2.0` src/matrix_editor.cpp -o matrix_editor.o In file included from src/matrix_editor.cpp:10: In file included from src/matrix_editor.h:12: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/matrix_editor.cpp:10: In file included from src/matrix_editor.h:12: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from src/matrix_editor.cpp:10: In file included from src/matrix_editor.h:13: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/matrix_editor.cpp:430:54: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] 430 | snprintf( str, 200, "%s: %lu %s: %lu", _("Column"), col, _("Row"), row ); | ~~~ ^~~ | %u src/matrix_editor.cpp:430:69: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] 430 | snprintf( str, 200, "%s: %lu %s: %lu", _("Column"), col, _("Row"), row ); | ~~~ ^~~ | %u src/matrix_editor.cpp:493:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 493 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/matrix_editor.cpp:493:74: note: treat the string as an argument to avoid this 493 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/matrix_editor.cpp:531:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 531 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/matrix_editor.cpp:531:74: note: treat the string as an argument to avoid this 531 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/matrix_editor.cpp:535:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 535 | } | ^ src/matrix_editor.cpp:632:75: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 632 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/matrix_editor.cpp:632:75: note: treat the string as an argument to avoid this 632 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/matrix_editor.cpp:678:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 678 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/matrix_editor.cpp:678:74: note: treat the string as an argument to avoid this 678 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/matrix_editor.cpp:696:31: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 696 | snprintf( str, 100, "m%ld", i ); | ~~~ ^ | %d src/matrix_editor.cpp:756:76: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 756 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/matrix_editor.cpp:756:76: note: treat the string as an argument to avoid this 756 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/matrix_editor.cpp:809:38: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] 809 | snprintf( tmp_str, 30, "%lux%lu", ptr->get_matrix()->get_height(), ptr->get_matrix()->get_width() ); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %u src/matrix_editor.cpp:809:71: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] 809 | snprintf( tmp_str, 30, "%lux%lu", ptr->get_matrix()->get_height(), ptr->get_matrix()->get_width() ); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %u src/matrix_editor.cpp:821:36: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 821 | _("There is no matrix variable to open.") ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/keyfile.h:99:19: note: expanded from macro '_' 99 | #define _(String) translation.get_text(String) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/matrix_editor.cpp:821:36: note: treat the string as an argument to avoid this 821 | _("There is no matrix variable to open.") ); | ^ | "%s", src/keyfile.h:99:19: note: expanded from macro '_' 99 | #define _(String) translation.get_text(String) | ^ src/matrix_editor.cpp:880:77: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 880 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/matrix_editor.cpp:880:77: note: treat the string as an argument to avoid this 880 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/matrix_editor.cpp:945:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 945 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg); | ^~~~~~~~~ src/matrix_editor.cpp:945:74: note: treat the string as an argument to avoid this 945 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg); | ^ | "%s", src/matrix_editor.cpp:982:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 982 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/matrix_editor.cpp:982:74: note: treat the string as an argument to avoid this 982 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/matrix_editor.cpp:1037:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1037 | GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, ostr.c_str() ); | ^~~~~~~~~~~~ src/matrix_editor.cpp:1037:74: note: treat the string as an argument to avoid this 1037 | GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, ostr.c_str() ); | ^ | "%s", src/matrix_editor.cpp:1049:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1049 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/matrix_editor.cpp:1049:74: note: treat the string as an argument to avoid this 1049 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/matrix_editor.cpp:1178:74: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1178 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/matrix_editor.cpp:1178:74: note: treat the string as an argument to avoid this 1178 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", src/matrix_editor.cpp:1282:51: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1282 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^~~~~~~~~ src/matrix_editor.cpp:1282:51: note: treat the string as an argument to avoid this 1282 | GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, error.msg ); | ^ | "%s", 22 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c `pkg-config --cflags gtk+-2.0` src/gradient_editor.cpp -o gradient_editor.o In file included from src/gradient_editor.cpp:9: In file included from src/gradient_editor.h:12: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/gradient_editor.cpp:9: In file included from src/gradient_editor.h:12: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from src/gradient_editor.cpp:9: In file included from src/gradient_editor.h:13: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ 3 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include -c `pkg-config --cflags gtk+-2.0` src/addon_functions.cpp -o addon_functions.o In file included from src/addon_functions.cpp:10: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33: In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32: In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35: In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36: In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ /usr/local/include/glib-2.0/gobject/gtype.h:731:19: note: 'GTypeDebugFlags' has been explicitly marked deprecated here 731 | } GTypeDebugFlags GOBJECT_DEPRECATED_TYPE_IN_2_36; | ^ /usr/local/include/glib-2.0/gobject/gobject-visibility.h:213:41: note: expanded from macro 'GOBJECT_DEPRECATED_TYPE_IN_2_36' 213 | #define GOBJECT_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1328:30: note: expanded from macro 'GLIB_DEPRECATED_TYPE' 1328 | #define GLIB_DEPRECATED_TYPE G_DEPRECATED | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1267:37: note: expanded from macro 'G_DEPRECATED' 1267 | #define G_DEPRECATED __attribute__((__deprecated__)) | ^ In file included from src/addon_functions.cpp:10: In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:126: In file included from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30: In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ /usr/local/include/glib-2.0/glib/gtypes.h:578:35: note: 'GTimeVal' has been explicitly marked deprecated here 578 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^ /usr/local/include/glib-2.0/glib/glib-visibility.h:656:45: note: expanded from macro 'GLIB_DEPRECATED_TYPE_IN_2_62_FOR' 656 | #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1329:37: note: expanded from macro 'GLIB_DEPRECATED_TYPE_FOR' 1329 | #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) | ^ /usr/local/include/glib-2.0/glib/gmacros.h:1277:44: note: expanded from macro 'G_DEPRECATED_FOR' 1277 | #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) | ^ In file included from src/addon_functions.cpp:11: In file included from src/ump_picturewin.h:12: In file included from src/math2.h:27: src/vartypes.h:122:37: warning: overflow in expression; result is -9223372036854775808 with type 'int64' (aka 'long long') [-Winteger-overflow] 122 | const int64 int64_min = int64_max + 1; | ~~~~~~~~~~^~~ src/addon_functions.cpp:249:32: warning: format specifies type 'unsigned long' but the argument has type 'uint32' (aka 'unsigned int') [-Wformat] 249 | snprintf( str, 20, "%lu - ", index-1 ); | ~~~ ^~~~~~~ | %u src/addon_functions.cpp:257:26: warning: format specifies type 'unsigned long *' but the argument has type 'uint32 *' (aka 'unsigned int *') [-Wformat] 257 | if( sscanf( str, "%lu", &index ) == 0 ) | ~~~ ^~~~~~ | %u 5 warnings generated. c++ -DUSE_DOUBLE -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++14 -DPLOT_3D -DDONT_HAVE_LOG2 -I/usr/local/include `pkg-config --libs gtk+-2.0` translation_svenska.o vartypes.o utf8_string.o picture.o keyfile.o integer.o real.o complex.o matrix.o math2.o math2.variable.o math2.variablelist.o math2.builtin.o math2.array.o math2.picture.o math2.codeline.o math2.codeblock.o math2.functionlist.o ump_3d_viewer.o main.o picture2gtk.o ump_advancedwin.o ump_editor.o ump_graphwin.o ump_prefwin.o ump_aboutwin.o ump_simplewin.o ump_picturewin.o matrix_editor.o gradient_editor.o addon_functions.o -o ump -lGL -lGLU -L/usr/local/lib -lX11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> ump-math-0.8.6_14 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for ump-math-0.8.6_14 ===> Generating temporary packing list install -s ump /wrkdirs/usr/ports/math/ump/work/stage/usr/local/bin/ump chmod 755 /wrkdirs/usr/ports/math/ump/work/stage/usr/local/bin/ump install -d /wrkdirs/usr/ports/math/ump/work/stage/usr/local/share/ump install -d /wrkdirs/usr/ports/math/ump/work/stage/usr/local/share/ump/ump-files install ump-files/* /wrkdirs/usr/ports/math/ump/work/stage/usr/local/share/ump/ump-files chmod 644 /wrkdirs/usr/ports/math/ump/work/stage/usr/local/share/ump/ump-files/* install -m 0644 /wrkdirs/usr/ports/math/ump/work/ump-0.8.6/ump.conf /wrkdirs/usr/ports/math/ump/work/stage/usr/local/etc/ump.conf.sample ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-05-04T04:36:02+0000' 'PKG_NOTE_ports_top_git_hash=5529c5919b' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=e87d8134a3' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for ump-math-0.8.6_14 ===> Building ump-math-0.8.6_14 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for ump-math-0.8.6_14 build of math/ump | ump-math-0.8.6_14 ended at Sun May 4 05:39:18 BST 2025 build time: 00:03:17