------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.21.txz Installing /packages/All/pcre-8.44.txz Installing /packages/All/libffi-3.3_1.txz Installing /packages/All/libxml2-2.9.10_1.txz Installing /packages/All/libiconv-1.16.txz Installing /packages/All/expat-2.2.8.txz Installing /packages/All/ncurses-6.2.20201017.txz Installing /packages/All/readline-8.0.4.txz Installing /packages/All/openssl-1.1.1h_1,1.txz Installing /packages/All/python37-3.7.9_1.txz ===== Message from python37-3.7.9_1: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py37-gdbm databases/py-gdbm@py37 py37-sqlite3 databases/py-sqlite3@py37 py37-tkinter x11-toolkits/py-tkinter@py37 Installing /packages/All/glib-2.66.2,1.txz No schema files found: doing nothing. Installing /packages/All/desktop-file-utils-0.26.txz Installing /packages/All/gmake-4.3_2.txz Installing /packages/All/pkgconf-1.7.3,1.txz Installing /packages/All/libtextstyle-0.21.txz Installing /packages/All/gettext-tools-0.21.txz Installing /packages/All/png-1.6.37.txz Installing /packages/All/jbigkit-2.1_1.txz Installing /packages/All/jpeg-turbo-2.0.5.txz Installing /packages/All/tiff-4.1.0.txz Installing /packages/All/giflib-5.2.1.txz Installing /packages/All/freetype2-2.10.4.txz ===== Message from freetype2-2.10.4: -- 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/site/index.html, if documentation was installed). Installing /packages/All/lcms2-2.11_1.txz Installing /packages/All/openjpeg15-1.5.2_1.txz Installing /packages/All/atk-2.36.0.txz Installing /packages/All/libdaemon-0.14_1.txz Installing /packages/All/libICE-1.0.10,1.txz Installing /packages/All/libSM-1.2.3,1.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/xorgproto-2020.1.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.14_1.txz Installing /packages/All/libX11-1.6.12,1.txz Installing /packages/All/dbus-1.12.20_3.txz ===> Creating groups. Creating group 'messagebus' with gid '556'. ===> Creating users Creating user 'messagebus' with uid '556'. Installing /packages/All/dbus-glib-0.110.txz Installing /packages/All/gdbm-1.18.1_1.txz Installing /packages/All/gobject-introspection-1.66.1,1.txz Installing /packages/All/gnome_subr-1.0.txz Installing /packages/All/avahi-app-0.7_3.txz ===> Creating groups. Creating group 'avahi' with gid '558'. ===> Creating users Creating user 'avahi' with uid '558'. Installing /packages/All/gmp-6.2.0.txz Installing /packages/All/nettle-3.6.txz Installing /packages/All/libtasn1-4.16.0.txz Installing /packages/All/libunistring-0.9.10_1.txz Installing /packages/All/libidn2-2.3.0_1.txz Installing /packages/All/ca_root_nss-3.58.txz ===== Message from ca_root_nss-3.58: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem Installing /packages/All/bash-5.0.18_3.txz Installing /packages/All/bash-completion-2.11,2.txz ===== Message from bash-completion-2.11,2: -- To enable the bash completion library, add the following to your .bashrc file: [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \ source /usr/local/share/bash-completion/bash_completion.sh See /usr/local/share/doc/bash-completion/README.md for more information. Installing /packages/All/p11-kit-0.23.21.txz Installing /packages/All/tpm-emulator-0.7.4_2.txz ===> Creating groups. Creating group '_tss' with gid '601'. ===> Creating users Creating user '_tss' with uid '601'. Installing /packages/All/trousers-0.3.14_3.txz ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. ===== Message from trousers-0.3.14_3: -- To run tcsd automatically, add the following line to /etc/rc.conf: tcsd_enable="YES" You might want to edit /usr/local/etc/tcsd.conf to reflect your setup. If you want to use tcsd with software TPM emulator, use the following configuration in /etc/rc.conf: tcsd_enable="YES" tcsd_mode="emulator" tpmd_enable="YES" To use TPM, add your_account to '_tss' group like following: # pw groupmod _tss -m your_account Installing /packages/All/gnutls-3.6.15.txz Installing /packages/All/libpaper-1.1.24.4.txz Installing /packages/All/cups-2.3.3_1.txz ===> Creating groups. Creating group 'cups' with gid '193'. ===> Creating users Creating user 'cups' with uid '193'. Installing /packages/All/shared-mime-info-2.0.txz Installing /packages/All/gdk-pixbuf2-2.40.0.txz Installing /packages/All/graphite2-1.3.14.txz Installing /packages/All/harfbuzz-2.7.2_1.txz Installing /packages/All/fontconfig-2.13.92_2,1.txz Running fc-cache to build fontconfig cache... Font directories: /usr/local/share/fonts /usr/local/lib/X11/fonts /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded Installing /packages/All/fribidi-1.0.10.txz Installing /packages/All/pixman-0.40.0_1.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/cairo-1.16.0_1,3.txz Installing /packages/All/libfontenc-1.1.4.txz Installing /packages/All/mkfontscale-1.2.1.txz Installing /packages/All/font-bh-ttf-1.0.3_4.txz Installing /packages/All/font-misc-meltho-1.0.3_4.txz Installing /packages/All/font-misc-ethiopic-1.0.4.txz Installing /packages/All/encodings-1.0.5,1.txz Installing /packages/All/dejavu-2.37_1.txz ===== Message from dejavu-2.37_1: -- Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. Installing /packages/All/xorg-fonts-truetype-7.7_1.txz Installing /packages/All/libXft-2.3.3.txz Installing /packages/All/pango-1.42.4_5.txz Installing /packages/All/hicolor-icon-theme-0.17.txz Installing /packages/All/gtk-update-icon-cache-3.24.20.txz Installing /packages/All/libXinerama-1.1.4_2,1.txz Installing /packages/All/libXfixes-5.0.3_2.txz Installing /packages/All/libXi-1.7.10,1.txz Installing /packages/All/libXrandr-1.5.2.txz Installing /packages/All/libXcursor-1.2.0.txz Installing /packages/All/libXdamage-1.1.5.txz Installing /packages/All/libXcomposite-0.4.5,1.txz Installing /packages/All/gtk2-2.24.32.txz SUCCEEDED 00:00:53 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The mtpaint 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> mtpaint-3.40_8 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The mtpaint 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> mtpaint-3.40_8 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mtpaint-3.40_8 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The mtpaint 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> mtpaint-3.40_8 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mtpaint-3.40_8 for building => SHA256 Checksum OK for mtpaint-3.40.tar.bz2. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The mtpaint 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> mtpaint-3.40_8 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by mtpaint-3.40_8 for building ===> Extracting for mtpaint-3.40_8 => SHA256 Checksum OK for mtpaint-3.40.tar.bz2. Extracted Memory Use: 3.71M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for mtpaint-3.40_8 ===> Applying ports patches for mtpaint-3.40_8 from /xports/graphics/mtpaint/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> mtpaint-3.40_8 depends on executable: update-desktop-database - found ===> mtpaint-3.40_8 depends on package: gmake>=4.3 - found ===> mtpaint-3.40_8 depends on package: libiconv>=1.14_11 - found ===> mtpaint-3.40_8 depends on package: pkgconf>=1.3.0_1 - found ===> mtpaint-3.40_8 depends on executable: msgfmt - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> mtpaint-3.40_8 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> mtpaint-3.40_8 depends on shared library: libtiff.so - found (/usr/local/lib/libtiff.so) ===> mtpaint-3.40_8 depends on shared library: libgif.so - found (/usr/local/lib/libgif.so) ===> mtpaint-3.40_8 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> mtpaint-3.40_8 depends on shared library: liblcms2.so - found (/usr/local/lib/liblcms2.so) ===> mtpaint-3.40_8 depends on shared library: libopenjpeg.so - found (/usr/local/lib/libopenjpeg.so) ===> mtpaint-3.40_8 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> mtpaint-3.40_8 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> mtpaint-3.40_8 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> mtpaint-3.40_8 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so) ===> mtpaint-3.40_8 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) ===> mtpaint-3.40_8 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> mtpaint-3.40_8 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> mtpaint-3.40_8 depends on executable: update-desktop-database - found ===> mtpaint-3.40_8 depends on package: gmake>=4.3 - found ===> mtpaint-3.40_8 depends on package: libiconv>=1.14_11 - found ===> mtpaint-3.40_8 depends on package: pkgconf>=1.3.0_1 - found ===> mtpaint-3.40_8 depends on executable: msgfmt - found ===> mtpaint-3.40_8 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> mtpaint-3.40_8 depends on shared library: libtiff.so - found (/usr/local/lib/libtiff.so) ===> mtpaint-3.40_8 depends on shared library: libgif.so - found (/usr/local/lib/libgif.so) ===> mtpaint-3.40_8 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> mtpaint-3.40_8 depends on shared library: liblcms2.so - found (/usr/local/lib/liblcms2.so) ===> mtpaint-3.40_8 depends on shared library: libopenjpeg.so - found (/usr/local/lib/libopenjpeg.so) ===> mtpaint-3.40_8 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> mtpaint-3.40_8 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> mtpaint-3.40_8 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> mtpaint-3.40_8 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so) ===> mtpaint-3.40_8 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) ===> mtpaint-3.40_8 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> mtpaint-3.40_8 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> Configuring for mtpaint-3.40_8 --------------------- mtPaint Configuration --------------------- ------- General ------- Version 3.40 System GNU/Linux Toolkit GTK+2.gtk2 File Picker mtpaint Colour Picker mtpaint Animation Package Gifsicle Use FreeType YES Use CMS LittleCMS2 Icon set icons1 Internationalized YES Multithreaded YES -------- Compiler -------- Optimizations CFLAGS CFLAGS -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing LDFLAGS -Wl,--as-needed -L/usr/local/lib Static libraries NONE ---------- File Types ---------- Use GIF GIF Use JPEG YES Use JPEG 2000 OpenJPEG Use TIFF YES ------------ Installation ------------ Binary install /usr/local/bin Locale install /usr/local/share/locale Locale program /usr/local/share/locale Install man page YES Man page install /usr/local/man/man1 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for mtpaint-3.40_8 gmake[1]: Entering directory '/construction/graphics/mtpaint/mtpaint-3.40' gmake -C src gmake -C po gmake -C doc gmake[2]: Entering directory '/construction/graphics/mtpaint/mtpaint-3.40/src' cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=main -c -o main.o main.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=mainwindow -c -o mainwindow.o mainwindow.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=inifile -c -o inifile.o inifile.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=png -c -o png.o png.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=memory -c -o memory.o memory.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=canvas -c -o canvas.o canvas.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=otherwindow -c -o otherwindow.o otherwindow.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=mygtk -c -o mygtk.o mygtk.c gmake[2]: Entering directory '/construction/graphics/mtpaint/mtpaint-3.40/po' for iii in es cs fr pt pt_BR de pl tr zh_TW sk zh_CN ja ru gl nl it sv tl hu; do echo -n "$iii = "; msgfmt -v -o $iii.mo $iii.po; done gmake[2]: Entering directory '/construction/graphics/mtpaint/mtpaint-3.40/doc' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/construction/graphics/mtpaint/mtpaint-3.40/doc' cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=viewer -c -o viewer.o viewer.c es = 805 translated messages, 67 untranslated messages. cs = 770 translated messages, 102 untranslated messages. fr = 786 translated messages, 86 untranslated messages. pt = 190 translated messages, 682 untranslated messages. pt_BR = 449 translated messages, 423 untranslated messages. de = 559 translated messages, 313 untranslated messages. pl = 574 translated messages, 298 untranslated messages. tr = 303 translated messages, 569 untranslated messages. zh_TW = 617 translated messages, 9 fuzzy translations, 246 untranslated messages. sk = 631 translated messages, 241 untranslated messages. zh_CN = 780 translated messages, 92 untranslated messages. ja = 799 translated messages, 9 fuzzy translations, 64 untranslated messages. ru = In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from canvas.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from canvas.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ 861 translated messages, 2 fuzzy translations, 9 untranslated messages. gl = 806 translated messages, 66 untranslated messages. nl = In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from otherwindow.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from otherwindow.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ 797 translated messages, 75 untranslated messages. it = In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from memory.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from memory.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ 834 translated messages, 38 untranslated messages. sv = 744 translated messages, 128 untranslated messages. tl = In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from inifile.c:34: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from inifile.c:34: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ 365 translated messages, 507 untranslated messages. hu = In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from canvas.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from canvas.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ 622 translated messages, 250 untranslated messages. gmake[2]: Leaving directory '/construction/graphics/mtpaint/mtpaint-3.40/po' In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from memory.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from memory.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from main.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ canvas.c: In function 'do_fx': canvas.c:414:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] do_effect((int)fdata, i); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from mainwindow.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from mainwindow.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from main.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from png.c:62: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from png.c:62: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from mygtk.c:21: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from mygtk.c:21: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ canvas.c: In function 'do_a_load': canvas.c:1461:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] FS_XTYPE_KEY, (gpointer)ftype); ^ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=polygon -c -o polygon.o polygon.c canvas.c: In function 'change_image_format': canvas.c:1540:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ftype = (int)gtk_object_get_user_data(GTK_OBJECT(menuitem)); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from inifile.c:34: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ canvas.c: In function 'image_widgets': In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from inifile.c:34: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ canvas.c:1622:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_user_data(GTK_OBJECT(item), (gpointer)i); ^ canvas.c: In function 'ftype_widgets': canvas.c:1660:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_user_data(GTK_OBJECT(item), (gpointer)i); ^ canvas.c: In function 'ls_settings_box': canvas.c:1698:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_user_data(GTK_OBJECT(box), (gpointer)mode); ^ canvas.c:1715:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ftype = (int)gtk_object_get_data(GTK_OBJECT(fs), FS_XTYPE_KEY); ^ canvas.c: In function 'selected_file_type': canvas.c:1741:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ((int)gtk_object_get_user_data(GTK_OBJECT(opt))); ^ canvas.c: In function 'init_ls_settings': canvas.c:1764:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xmode = (int)gtk_object_get_user_data(GTK_OBJECT(box)); ^ canvas.c: In function 'fs_ok': canvas.c:1974:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] res = (int)gtk_object_get_data(GTK_OBJECT(fs), FS_XTYPE_KEY); ^ memory.c: In function 'tile_row_compare': memory.c:1063:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((int)src & amask) == ((int)dest & amask))) ^ memory.c:1063:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((int)src & amask) == ((int)dest & amask))) ^ memory.c:1070:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] d0 = (((int)src ^ amask) + 1) & amask; ^ memory.c:1071:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] d1 = (int)(src + l) & amask; ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from otherwindow.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from otherwindow.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ inifile.c: In function 'write_ini': inifile.c:543:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (defv && ((int)slotp->value == slotp->defv)) break; ^ inifile.c:544:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(fp, "%s = %d\n", name, (int)slotp->value); ^ inifile.c: In function 'ini_setint': inifile.c:590:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] slot->value = (char *)value; ^ inifile.c: In function 'ini_setbool': inifile.c:599:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] slot->value = (char *)!!value; ^ inifile.c: In function 'ini_getint': inifile.c:672:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (slot->flags & INI_DEFAULT) return ((int)(slot->value)); ^ inifile.c:693:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] slot->value = (char *)defv; ^ inifile.c:697:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ((int)(slot->value)); ^ inifile.c: In function 'ini_getbool': inifile.c:718:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (slot->flags & INI_DEFAULT) return ((int)(slot->value)); ^ inifile.c:731:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] slot->value = (char *)(i & 1); ^ inifile.c:739:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] slot->value = (char *)defv; ^ inifile.c:743:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ((int)(slot->value)); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from main.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from main.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from mygtk.c:21: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from mygtk.c:21: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from viewer.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from viewer.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from viewer.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ memory.c: In function 'shapeburst': memory.c:4009:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*r0) *r0 = 1; r0 += dx; ^~ memory.c:4009:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*r0) *r0 = 1; r0 += dx; ^~ otherwindow.c: In function 'expose_pat': otherwindow.c:417:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int w = (int)user_data; ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from otherwindow.c:22: otherwindow.c: In function 'choose_pattern': otherwindow.c:458:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(expose_pat), (gpointer)w); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ otherwindow.c: In function 'brcosa_spinslide_moved': otherwindow.c:735:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] brcosa_values[(int)user_data] = ADJ2INT(adj); ^ otherwindow.c: In function 'brcosa_posterize_changed': otherwindow.c:846:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] posterize_mode = (int)gtk_object_get_user_data(GTK_OBJECT(menuitem)); ^ otherwindow.c: In function 'pressed_brcosa': otherwindow.c:908:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(brcosa_spinslide_moved), (gpointer)i); ^ otherwindow.c: In function 'sisca_moved': otherwindow.c:1046:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int w, h, nw, idx = (int)user_data; ^ otherwindow.c: In function 'color_expose': otherwindow.c:1318:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned char *rgb, *lc = ctable_[CHN_IMAGE] + (int)user_data * 3; ^ otherwindow.c: In function 'color_set': otherwindow.c:1350:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] idx = (int)gtk_object_get_user_data(GTK_OBJECT(widget)); ^ otherwindow.c: In function 'color_select': otherwindow.c:1366:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int rgb, idx = (int)gtk_object_get_user_data(GTK_OBJECT(widget)); ^ otherwindow.c: In function 'colour_window': otherwindow.c:1420:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_user_data(GTK_OBJECT(l_item), (gpointer)i); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from otherwindow.c:22: otherwindow.c:1422:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] "button_press_event", lhook, (gpointer)i); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ otherwindow.c:1434:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(color_expose), (gpointer)i); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ otherwindow.c: In function 'click_colour': otherwindow.c:1586:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)user_data); ^ otherwindow.c:1591:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)user_data); ^ otherwindow.c: In function 'AB_spin_moved': otherwindow.c:1798:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ctable_[(int)user_data][allcol_idx] = ADJ2INT(adj); ^ otherwindow.c: In function 'csel_mode_changed': otherwindow.c:1880:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (csel_data->mode == (int)user_data) return; ^ otherwindow.c:1881:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] csel_data->mode = (int)user_data; ^ otherwindow.c: In function 'colour_selector': otherwindow.c:2068:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(AB_spin_moved), (gpointer)i); ^ otherwindow.c: In function 'click_quantize_radio': otherwindow.c:2208:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int c0 = 1, c1 = 256, n = (int)data; ^ otherwindow.c: In function 'choose_selective': otherwindow.c:2340:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int i = (int)gtk_object_get_user_data(GTK_OBJECT(menuitem)); ^ otherwindow.c: In function 'pressed_quantize': otherwindow.c:2474:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] click_quantize_radio(NULL, (gpointer)quantize_mode); // Update widgets ^ otherwindow.c: In function 'palette_pad_draw': otherwindow.c:2523:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] rgb = render_color_grid(w, h, cellsize, (int)user_data); ^ otherwindow.c: In function 'palette_pad_click': otherwindow.c:2566:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] palette_pad_select(y * PPAD_XSZ + x, (int)user_data); ^ otherwindow.c: In function 'palette_pad_key': otherwindow.c:2581:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] palette_pad_select(y, (int)user_data); ^ otherwindow.c: In function 'grad_edit_scroll': otherwindow.c:2704:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int dir = (int)user_data; ^ mygtk.c: In function 'alert_reply': mygtk.c:227:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (!alert_result) alert_result = (int)data; ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkIn file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from mygtk.c:21menutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from mainwindow.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ : mygtk.c: In function 'alert_box': otherwindow.c: In function 'grad_edit_slot': mygtk.c:260:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(alert_reply), (gpointer)(++i)); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:55:62: note: in definition of macro 'gtk_signal_connect_object' gtk_signal_connect_full ((object), (name), (func), NULL, (slot_object), NULL, 1, 0) ^~~~~~~~~~~ otherwindow.c:2715:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] grad_load_slot((int)user_data + grad_ofs); ^ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from mainwindow.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ otherwindow.c: In function 'grad_draw_slot': mygtk.c:267:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(alert_reply), (gpointer)(++i)); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:55:62: note: in definition of macro 'gtk_signal_connect_object' gtk_signal_connect_full ((object), (name), (func), NULL, (slot_object), NULL, 1, 0) otherwindow.c:2722:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cas ^~~~~~~~~~~ t] int i, n = (int)idx + grad_ofs, mode = n >= grad_cnt ? -2 : grad_mode; ^ otherwindow.c: In function 'grad_edit': otherwindow.c:2773:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int i, idx, opac = (int)user_data != 0; ^ mygtk.c: In function 'wj_radio_toggle': mygtk.c:361:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *(int *)gtk_object_get_user_data(GTK_OBJECT(btn->parent)) = (int)idx; ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from otherwindow.c:22: otherwindow.c:2808:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (gpointer)(opac ? -1 : grad_channel)); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from mygtk.c:21: mygtk.c: In function 'wj_radio_pack': otherwindow.c:2810:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(palette_pad_click), (gpointer)!grad_mode); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ mygtk.c:391:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (gpointer)(i)); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ mygtk.c: In function 'wj_option': mygtk.c:681:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *(int *)user_data = (int)gtk_object_get_user_data(GTK_OBJECT(menuitem)); ^ mygtk.c: In function 'wj_option_menu': mygtk.c:710:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_user_data(GTK_OBJECT(item), (gpointer)i); ^ mygtk.c: In function 'wj_option_menu_get_history': mygtk.c:730:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ((int)gtk_object_get_user_data(GTK_OBJECT(optmenu))); ^ mygtk.c: In function 'widget_size_req': mygtk.c:738:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int h = (guint32)user_data >> 16, w = (guint32)user_data & 0xFFFF; ^ mygtk.c:738:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int h = (guint32)user_data >> 16, w = (guint32)user_data & 0xFFFF; ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from mygtk.c:21: mygtk.c: In function 'widget_set_minsize': mygtk.c:756:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(widget_size_req), (gpointer)hw); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:53:62: note: in definition of macro 'gtk_signal_connect_after' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 1) ^~~~~~~~~ mygtk.c: In function 'widget_size_keep': mygtk.c:783:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] l = (int)gtk_object_get_data_by_id(GTK_OBJECT(widget), keepsize_key); ^ mygtk.c:791:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (gpointer)l0); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from mygtk.c:21: mygtk.c: In function 'widget_set_keepsize': mygtk.c:801:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(widget_size_keep), (gpointer)keep_height); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:53:62: note: in definition of macro 'gtk_signal_connect_after' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 1) ^~~~~~~~~ mygtk.c: In function 'click_file_browse': mygtk.c:847:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)data == FS_SELECT_DIR) flag |= FPICK_DIRS_ONLY; ^ mygtk.c:852:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fs_setup(fs, (int)data); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from mygtk.c:21: mygtk.c: In function 'mt_path_box': mygtk.c:869:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(click_file_browse), (gpointer)fsmode); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from png.c:62: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from png.c:62: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ main.c: In function 'main': main.c:288:2: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] g_thread_init(NULL); ^~~~~~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:111, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from main.c:22: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here void g_thread_init In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/lootherwindow.c:2812:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(palette_pad_key), (gpointer)!grad_mode); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ cal/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from viewer.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ otherwindow.c:2859:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(grad_edit_slot), (gpointer)i); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ otherwindow.c:2864:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(grad_draw_slot), (gpointer)i); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ otherwindow.c: In function 'grad_reset_menu': otherwindow.c:2911:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i = (int)gtk_object_get_user_data(GTK_OBJECT(items->data)); ^ (gpointer vtable); ^~~~~~~~~~~~~ otherwindow.c: In function 'grad_channel_changed': otherwindow.c:2985:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)user_data == grad_channel) return; ^ otherwindow.c:2989:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] show_channel_gradient((int)user_data); ^ otherwindow.c:2990:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] grad_channel = (int)user_data; ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from otherwindow.c:22: otherwindow.c: In function 'grad_selector_box': otherwindow.c:3005:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(grad_edit), (gpointer)op); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ otherwindow.c: In function 'seg_mode_toggled': otherwindow.c:3379:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (sw->vars[(int)*cp] == (int)idx) return; ^ otherwindow.c:3381:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sw->vars[(int)*cp] = (int)idx; ^ main.c:362:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (strcmp(argv[i], "-w")) continue; j++; ^~ main.c:362:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (strcmp(argv[i], "-w")) continue; j++; ^ main.c:363:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (++i >= argc) break; j++; ^~ main.c:363:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (++i >= argc) break; j++; ^ mygtk.c: In function 'clipboard_get_callback': mygtk.c:1992:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((clip_function)user_data)(selection_data, (gpointer)(int)info); ^ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=layer -c -o layer.o layer.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=info -c -o info.o info.c png.c: In function 'load_png': png.c:831:53: warning: passing argument 5 of 'png_get_iCCP' from incompatible pointer type [-Wincompatible-pointer-types] if (png_get_iCCP(png_ptr, info_ptr, &name, &comp, &icc, &len) && ^~~~ mainwindow.c: In function 'clipboard_export_fn': mainwindow.c:432:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int res, len, type = (int)user_data; ^ In file included from /usr/local/include/png.h:346, from png.c:27: /usr/local/include/png.h:2122:16: note: expected 'png_bytepp' {aka 'unsigned char **'} but argument is of type 'char **' png_bytepp profile, png_uint_32 *proflen)); ~~~~~~~~~~~^~~~~~~ /usr/local/include/pngconf.h:287:75: note: in definition of macro 'PNG_FUNCTION' # define PNG_FUNCTION(type, name, args, attributes) attributes type name args ^~~~ /usr/local/include/pngconf.h:301:58: note: in expansion of macro 'PNGARG' PNG_FUNCTION(PNG_EXPORT_TYPE(type), (PNGAPI name), PNGARG(args), \ ^~~~~~ /usr/local/include/pngconf.h:311:4: note: in expansion of macro 'PNG_EXPORTA' PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY) ^~~~~~~~~~~ /usr/local/include/png.h:2120:1: note: in expansion of macro 'PNG_EXPORT' PNG_EXPORT(158, png_uint_32, png_get_iCCP, (png_const_structrp png_ptr, ^~~~~~~~~~ mainwindow.c: In function 'draw_tgrid': mainwindow.c:2767:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (nx < 0) nx = 0; nx++; dx++; ^~ mainwindow.c:2767:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (nx < 0) nx = 0; nx++; dx++; ^~ mainwindow.c:2770:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (ny < 0) ny = 0; ny++; dy++; ^~ mainwindow.c:2770:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ny < 0) ny = 0; ny++; dy++; ^~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from polygon.c:21: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from polygon.c:21: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ mainwindow.c: In function 'draw_poly': mainwindow.c:2932:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (dx < dy) dx = dy; shift += dx; ^~ mainwindow.c:2932:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (dx < dy) dx = dy; shift += dx; ^~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from info.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from info.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from polygon.c:21: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from polygon.c:21: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from info.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from info.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from layer.c:20: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from layer.c:20: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from layer.c:20: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from layer.c:20: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ canvas.c: In function 'fs_setup': canvas.c:2052:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(txt, mem_filename, PATHBUF); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=wu -c -o wu.o wu.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=prefs -c -o prefs.o prefs.c mainwindow.c: In function 'save_clip': mainwindow.c:598:31: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(clip, PATHBUF, "%s%i", mem_clip_file, item); ^ mainwindow.c:598:2: note: 'snprintf' output between 2 and 1035 bytes into a destination of size 1024 snprintf(clip, PATHBUF, "%s%i", mem_clip_file, item); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ layer.c: In function 'layer_tog_visible': layer.c:935:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int j = (int)user_data; ^ layer.c: In function 'layer_inputs_changed': layer.c:960:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)user_data) ^ layer.c: In function 'layer_select': layer.c:1000:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] j = (int)gtk_object_get_user_data(GTK_OBJECT(widget)); ^ layer.c: In function 'create_layers_box': layer.c:1224:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_user_data(GTK_OBJECT(item), (gpointer)i); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from layer.c:20: layer.c:1242:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(layer_tog_visible), (gpointer)i); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from wu.c:19: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from wu.c:19: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ layer.c: In function 'layer_update_filename': layer.c:504:2: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(layers_filename, name, PATHBUF); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from layer.c:20: layer.c: In function 'layers_init': mygtk.h:147:26: warning: 'strncpy' specified bound 35 equals destination size [-Wstringop-truncation] #define strncpy0(A,B,C) (strncpy((A), (B), (C))[(C) - 1] = 0) ^~~~~~~~~~~~~~~~~~~~~~ layer.c:70:2: note: in expansion of macro 'strncpy0' strncpy0(layer_table[0].name, _("Background"), LAYER_NAMELEN); ^~~~~~~~ mainwindow.c: In function 'load_clip': mainwindow.c:571:32: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(clip, PATHBUF, "%s%i", mem_clip_file, item); ^ mainwindow.c:571:3: note: 'snprintf' output between 2 and 1035 bytes into a destination of size 1024 snprintf(clip, PATHBUF, "%s%i", mem_clip_file, item); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from prefs.c:21: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from prefs.c:21: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from wu.c:19: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from wu.c:19: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from prefs.c:21: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from prefs.c:21: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In function 'parse_filename', inlined from 'save_layers' at layer.c:878:3: layer.c:783:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(dest, file + i, PATHBUF); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=ani -c -o ani.o ani.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=mtlib -c -o mtlib.o mtlib.c In file included from layer.c:20: layer.c: In function 'load_layers': mygtk.h:147:26: warning: 'strncpy' output may be truncated copying 35 bytes from a string of length 299 [-Wstringop-truncation] #define strncpy0(A,B,C) (strncpy((A), (B), (C))[(C) - 1] = 0) ^~~~~~~~~~~~~~~~~~~~~~ layer.c:606:3: note: in expansion of macro 'strncpy0' strncpy0(t->name, tin, LAYER_NAMELEN); ^~~~~~~~ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=toolbar -c -o toolbar.o toolbar.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=channels -c -o channels.o channels.c layer.c: In function 'layer_inputs_changed': mygtk.h:147:26: warning: 'strncpy' specified bound 35 equals destination size [-Wstringop-truncation] #define strncpy0(A,B,C) (strncpy((A), (B), (C))[(C) - 1] = 0) ^~~~~~~~~~~~~~~~~~~~~~ layer.c:964:3: note: in expansion of macro 'strncpy0' strncpy0(t->name, nname, LAYER_NAMELEN); ^~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from ani.c:26: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from ani.c:26: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from ani.c:26: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from ani.c:26: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from toolbar.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from toolbar.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=csel -c -o csel.o csel.c cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=shifter -c -o shifter.o shifter.c In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from channels.c:23: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from channels.c:23: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from toolbar.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from toolbar.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ toolbar.c: In function 'ts_spinslide_moved': toolbar.c:341:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)user_data) ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from channels.c:23: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from channels.c:23: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ toolbar.c: In function 'create_settings_box': toolbar.c:977:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(ts_spinslide_moved), (gpointer)i); ^ toolbar.c: In function 'twobar_size_alloc': toolbar.c:1203:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] oldbar = (int)gtk_object_get_data(GTK_OBJECT(widget), TWOBAR_KEY); ^ toolbar.c:1206:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(widget), TWOBAR_KEY, (gpointer)bar); ^ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=spawn -c -o spawn.o spawn.c channels.c: In function 'click_newchan_ok': channels.c:224:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)gtk_object_get_user_data(GTK_OBJECT(window)) >= CHN_ALPHA) ^ channels.c: In function 'pressed_channel_create': channels.c:258:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_user_data(GTK_OBJECT(newchan_window), (gpointer)channel); ^ channels.c: In function 'click_delete_ok': channels.c:295:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cmask |= (int)gtk_object_get_user_data(GTK_OBJECT(check)); ^ channels.c: In function 'pressed_channel_delete': channels.c:325:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_user_data(GTK_OBJECT(check), (gpointer)CMASK_FOR(i)); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from csel.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from shifter.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from shifter.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from ani.c:26: ani.c: In function 'ani_read_file': mygtk.h:147:26: warning: 'strncpy' output may be truncated copying 1024 bytes from a string of length 2047 [-Wstringop-truncation] #define strncpy0(A,B,C) (strncpy((A), (B), (C))[(C) - 1] = 0) ^~~~~~~~~~~~~~~~~~~~~~ ani.c:1193:2: note: in expansion of macro 'strncpy0' strncpy0(ani_output_path, tin, PATHBUF); ^~~~~~~~ mygtk.h:147:26: warning: 'strncpy' output may be truncated copying 17 bytes from a string of length 2047 [-Wstringop-truncation] #define strncpy0(A,B,C) (strncpy((A), (B), (C))[(C) - 1] = 0) ^~~~~~~~~~~~~~~~~~~~~~ ani.c:1197:2: note: in expansion of macro 'strncpy0' strncpy0(ani_file_prefix, tin, ANI_PREFIX_LEN + 1); ^~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from csel.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=font -c -o font.o font.c In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from shifter.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from shifter.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In function 'save_png', inlined from 'save_image_x' at png.c:6294:21: png.c:978:3: warning: 'strncpy' specified bound 5 equals destination size [-Wstringop-truncation] strncpy(unknown0.name, chunk_names[i], 5); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csel.c: In function 'csel_scan': csel.c:411:2: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] DEF_MUTEX(csel_lock); // To prevent concurrent writes to *info ^~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:111, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here typedef struct ^~~~~~ csel.c:411:13: warning: Deprecated pre-processor symbol, replace with DEF_MUTEX(csel_lock); // To prevent concurrent writes to *info ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csel.c:414:13: warning: Deprecated pre-processor symbol LOCK_MUTEX(csel_lock); ^~~~~~~~~~~ csel.c:414:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] LOCK_MUTEX(csel_lock); ^~~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:111, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csel.c:414:13: warning: Deprecated pre-processor symbol, replace with LOCK_MUTEX(csel_lock); ^~~~~~~~~~~ csel.c:540:13: warning: Deprecated pre-processor symbol UNLOCK_MUTEX(csel_lock); ^~~~~~~~~~~~~ csel.c:540:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] UNLOCK_MUTEX(csel_lock); ^~~~~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:111, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csel.c:540:13: warning: Deprecated pre-processor symbol, replace with UNLOCK_MUTEX(csel_lock); ^~~~~~~~~~~~~ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=fpick -c -o fpick.o fpick.c In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from font.c:24: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from font.c:24: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ mainwindow.c: In function 'repaint_canvas': mainwindow.c:3029:6: warning: 'rect[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] int rect[4], vxy[4], vport[4], lx = 0, ly = 0, rpx, rpy; ^~~~ mainwindow.c:3029:6: warning: 'rect[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] mainwindow.c:2769:10: warning: 'rect[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ny = (y * zoom - dy) / (tgrid_dy * scale); ~~^~~~~~ mainwindow.c:3029:6: note: 'rect[1]' was declared here int rect[4], vxy[4], vport[4], lx = 0, ly = 0, rpx, rpy; ^~~~ mainwindow.c:2766:10: warning: 'rect' may be used uninitialized in this function [-Wmaybe-uninitialized] nx = (x * zoom - dx) / (tgrid_dx * scale); ~~^~~~~~ mainwindow.c:3029:6: note: 'rect' was declared here int rect[4], vxy[4], vport[4], lx = 0, ly = 0, rpx, rpy; ^~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from spawn.c:24: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from spawn.c:24: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=icons -c -o icons.o icons.c In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from spawn.c:24: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from spawn.c:24: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from font.c:24: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from font.c:24: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ spawn.c: In function 'faction_changed': spawn.c:327:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)user_data, gtk_entry_get_text(GTK_ENTRY(entry))); ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from spawn.c:24: spawn.c: In function 'pressed_file_configure': spawn.c:512:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(faction_changed), (gpointer)j); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from fpick.c:21: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from fpick.c:21: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=cpick -c -o cpick.o cpick.c font.c: In function 'update_clist': font.c:961:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_moveto(clist, (int)(clist->selection->data), 0, 0.5, 0); ^ font.c: In function 'font_clist_update': font.c:967:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int cl = (int)user_data; ^ font.c: In function 'click_remove_font_dir': font.c:1239:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (clist->selection) delete_row = (int)(clist->selection->data); ^ font.c: In function 'font_clist_select_row': font.c:1319:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int cl = (int) user; ^ font.c: In function 'font_clist_column_button': font.c:1389:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int cl = (int) user; ^ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from font.c:24: font.c: In function 'make_font_clist': font.c:1468:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(font_clist_column_button), (gpointer)i); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ font.c:1484:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(font_clist_select_row), (gpointer)i); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ font.c:1488:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(font_clist_update), (gpointer)i); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:53:62: note: in definition of macro 'gtk_signal_connect_after' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 1) ^~~~~~~~~ cc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/local/share/locale"' -DGTK2VERSION=gtk2 -I/usr/local/include/freetype2 -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -DLIBICONV_PLUG -pipe -fcommon -DLIBICONV_PLUG -O2 -fno-strict-aliasing -frandom-seed=thread -c -o thread.o thread.c In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from icons.c:20: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from icons.c:20: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from fpick.c:21: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from fpick.c:21: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from icons.c:20: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from icons.c:20: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from thread.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from thread.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from thread.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from thread.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from cpick.c:22: /usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from cpick.c:22: /usr/local/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ thread.c: In function 'launch_threads': thread.c:266:3: warning: 'g_thread_create' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] if (!g_thread_create((GThreadFunc)thread, tp, FALSE, NULL)) ^~ In file included from /usr/local/include/glib-2.0/glib.h:111, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from thread.c:22: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here GThread *g_thread_create (GThreadFunc func, ^~~~~~~~~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/local/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from cpick.c:22: /usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/local/include/glib-2.0/glib/galloca.h:32, from /usr/local/include/glib-2.0/glib.h:30, from /usr/local/include/glib-2.0/gobject/gbinding.h:28, from /usr/local/include/glib-2.0/glib-object.h:22, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from /usr/local/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from cpick.c:22: /usr/local/include/glib-2.0/glib/gtypes.h:547:8: note: declared here struct _GTimeVal ^~~~~~~~~ In file included from mainwindow.c:22: mainwindow.c: In function 'main_init': mygtk.h:147:26: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] #define strncpy0(A,B,C) (strncpy((A), (B), (C))[(C) - 1] = 0) ^~~~~~~~~~~~~~~~~~~~~~ mainwindow.c:5183:2: note: in expansion of macro 'strncpy0' strncpy0(mem_clip_filecpick.c: In function 'cpick_spin_change': cpick.c:727:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int i, input = (int)user_data; ^ , inifile_get("clipFilename", txt), PATHBUF); ^~~~~~~~ In file included from /usr/local/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/local/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from cpick.c:22: cpick.c: In function 'cpicker_init': cpick.c:1027:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(cpick_hex_change), (gpointer)i); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ cpick.c:1037:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(cpick_spin_change), (gpointer)i); ^ /usr/local/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) ^~~~~~~~~ memory.c: In function 'wjfloodfill': memory.c:4221:21: warning: 'lastr[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] (abs(thisr[2] - lastr[2]) > flood_step)) ~~~~~~~~~^~~~~~~~~~ memory.c:4220:21: warning: 'lastr[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] (abs(thisr[1] - lastr[1]) > flood_step) || ~~~~~~~~~^~~~~~~~~~ memory.c:4219:24: warning: 'lastr[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((abs(thisr[0] - lastr[0]) > flood_step) || ~~~~~~~~~^~~~~~~~~~ cc -Wall -Wno-pointer-sign main.o mainwindow.o inifile.o png.o memory.o canvas.o otherwindow.o mygtk.o viewer.o polygon.o layer.o info.o wu.o prefs.o ani.o mtlib.o toolbar.o channels.o csel.o shifter.o spawn.o font.o fpick.o icons.o cpick.o thread.o -o mtpaint -Wl,--as-needed -lgif -lopenjpeg -ltiff -ljpeg -L/usr/local/lib -lfreetype -llcms2 -lpng -lz -lm -lintl -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lintl -lX11 -L/usr/local/lib gmake[2]: Leaving directory '/construction/graphics/mtpaint/mtpaint-3.40/src' gmake[1]: Leaving directory '/construction/graphics/mtpaint/mtpaint-3.40' SUCCEEDED 00:00:15 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> mtpaint-3.40_8 depends on executable: update-desktop-database - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for mtpaint-3.40_8 ===> mtpaint-3.40_8 depends on executable: update-desktop-database - found ===> Generating temporary packing list install -s -m 555 /construction/graphics/mtpaint/mtpaint-3.40/src/mtpaint /construction/graphics/mtpaint/stage/usr/local/bin install -m 444 /construction/graphics/mtpaint/mtpaint-3.40/doc/mtpaint.1 /construction/graphics/mtpaint/stage/usr/local/man/man1 install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/doc/mtpaint.desktop /construction/graphics/mtpaint/stage/usr/local/share/applications install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/doc/mtpaint.png /construction/graphics/mtpaint/stage/usr/local/share/pixmaps install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/cs.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/cs/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/de.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/de/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/es.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/es/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/fr.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/fr/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/gl.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/gl/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/hu.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/hu/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/it.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/it/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/ja.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/ja/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/nl.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/nl/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/pl.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/pl/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/pt.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/pt/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/pt_BR.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/pt_BR/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/ru.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/ru/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/sk.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/sk/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/sv.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/sv/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/tl.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/tl/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/tr.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/tr/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/zh_CN.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/zh_CN/LC_MESSAGES/mtpaint.mo install -m 0644 /construction/graphics/mtpaint/mtpaint-3.40/po/zh_TW.mo /construction/graphics/mtpaint/stage/usr/local/share/locale/zh_TW/LC_MESSAGES/mtpaint.mo ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Error: /usr/local/bin/mtpaint is linked to /usr/local/lib/libgdk_pixbuf-2.0.so.0 from graphics/gdk-pixbuf2 but it is not declared as a dependency Warning: you need USE_GNOME+=gdkpixbuf2 Error: /usr/local/bin/mtpaint is linked to /usr/local/lib/libX11.so.6 from x11/libX11 but it is not declared as a dependency Warning: you need USE_XORG+=x11 Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for mtpaint-3.40_8 file sizes/checksums [23]: 0% file sizes/checksums [23]: 100% packing files [23]: 0% packing files [23]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:02 TOTAL TIME 00:01:15