* Package: sys-apps/mount-gtk-1.4.5.1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mount-gtk-1.4.5.1.tar.gz to /var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work >>> Source unpacked in /var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work >>> Preparing source in /var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1 ... * Applying mount-gtk-1.4.2-c++11.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1' ... * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: mount-gtk-1.4.5.1/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1 ... * econf: updating mount-gtk-1.4.5.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating mount-gtk-1.4.5.1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/mount-gtk-1.4.5.1 --htmldir=/usr/share/doc/mount-gtk-1.4.5.1/html --libdir=/usr/lib64 checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether the compiler supports GNU C++... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed checking dependency style of x86_64-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking which version of gtk+ to compile against... auto checking for pkg-config... /usr/bin/pkg-config checking for c++-gtk-utils-3-2.2 >= 2.1.0... yes checking CXX_GTK_UTILS_CFLAGS... -I/usr/include/c++-gtk-utils-3-2.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -pthread checking CXX_GTK_UTILS_LIBS... -lcxx-gtk-utils-3-2.2 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lglib-2.0 checking for gtk+-3.0 >= 2.99.0... yes checking GTK_CFLAGS... -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread checking GTK_LIBS... -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for glib-2.0 >= 2.26.0... yes checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking GLIB_LIBS... -lglib-2.0 checking for gio-2.0 >= 2.26.0... yes checking GIO_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid checking GIO_LIBS... -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for gio-unix-2.0 >= 2.26.0... yes checking GIO_UNIX_CFLAGS... -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid checking GIO_UNIX_LIBS... -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for gthread-2.0 >= 2.0.0... yes checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking GTHREAD_LIBS... -lgthread-2.0 -pthread -lglib-2.0 checking for udisks2 >= 1.94.0... yes checking UDISKS2_CFLAGS... -I/usr/include/udisks2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid checking UDISKS2_LIBS... -ludisks2 -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for libnotify >= 0.7.1... yes checking LIBNOTIFY_CFLAGS... -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread checking LIBNOTIFY_LIBS... -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for size_t... yes checking for ssize_t... yes checking whether C++ compiler accepts -std=c++11... yes checking for C++11 range-for support... yes checking for C++11 lambda support... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for ld used by GCC... /usr/libexec/gcc/x86_64-pc-linux-gnu/ld checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld) is GNU ld... yes checking for shared library run path origin... done checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for ostream... yes checking for istream... yes checking for iostream... yes checking for fstream... yes checking for exception... yes checking for ios... yes checking for string... yes checking for vector... yes checking for utility... yes checking for memory... yes checking for set... yes checking for algorithm... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for errno.h... yes checking for signal.h... yes checking for pthread.h... yes checking for sys/types.h... (cached) yes checking for sys/wait.h... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking whether make sets $(MAKE)... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile Configuration complete. To compile, enter `make', and then enter `make install' -- `make install' must be run as root. To reconfigure, enter `make clean' and then run `./configure' again. >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1 ... make -j5 make all-recursive make[1]: Entering directory '/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1' Making all in po make[2]: Entering directory '/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1/po' make[2]: Leaving directory '/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1/po' Making all in src make[2]: Entering directory '/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1/src' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -D_XOPEN_SOURCE=600 -I/usr/include/c++-gtk-utils-3-2.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/udisks2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./utils -O2 -pipe -march=native -fno-diagnostics-color -fexceptions -frtti -fsigned-char -fno-check-new -pthread -std=c++11 -c -o main.o main.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -D_XOPEN_SOURCE=600 -I/usr/include/c++-gtk-utils-3-2.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/udisks2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./utils -O2 -pipe -march=native -fno-diagnostics-color -fexceptions -frtti -fsigned-char -fno-check-new -pthread -std=c++11 -c -o mainwindow.o mainwindow.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -D_XOPEN_SOURCE=600 -I/usr/include/c++-gtk-utils-3-2.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/udisks2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./utils -O2 -pipe -march=native -fno-diagnostics-color -fexceptions -frtti -fsigned-char -fno-check-new -pthread -std=c++11 -c -o mount_entries.o mount_entries.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -D_XOPEN_SOURCE=600 -I/usr/include/c++-gtk-utils-3-2.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/udisks2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./utils -O2 -pipe -march=native -fno-diagnostics-color -fexceptions -frtti -fsigned-char -fno-check-new -pthread -std=c++11 -c -o mounter.o mounter.cpp x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -D_XOPEN_SOURCE=600 -I/usr/include/c++-gtk-utils-3-2.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/udisks2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./utils -O2 -pipe -march=native -fno-diagnostics-color -fexceptions -frtti -fsigned-char -fno-check-new -pthread -std=c++11 -c -o preferences.o preferences.cpp In file included from mount_entries.cpp:32: mount_entries.h:41:36: error: expected class-name before ‘{’ token 41 | class MountEntries: public WinBase { | ^ mount_entries.h:89:34: error: expected class-name before ‘{’ token 89 | class TableEntry: public WinBase { | ^ In file included from mount_entries.cpp:34: dialogs.h:32:34: error: expected class-name before ‘{’ token 32 | class InfoDialog: public WinBase { | ^ dialogs.h:51:36: error: expected class-name before ‘{’ token 51 | class PromptDialog: public WinBase { | ^ dialogs.h:72:35: error: expected class-name before ‘{’ token 72 | class AboutDialog: public WinBase { | ^ mount_entries.cpp: In function ‘void MountEntriesCB::mount_entries_button_clicked(GtkWidget*, void*)’: mount_entries.cpp:57:15: error: ‘class MountEntries’ has no member named ‘close’ 57 | instance->close(); | ^~~~~ mount_entries.cpp:61:15: error: ‘class MountEntries’ has no member named ‘close’ 61 | instance->close(); | ^~~~~ mount_entries.cpp:81:15: error: ‘class MountEntries’ has no member named ‘close’ 81 | instance->close(); | ^~~~~ mount_entries.cpp: In constructor ‘MountEntries::MountEntries(GtkWindow*)’: mount_entries.cpp:89:48: error: class ‘MountEntries’ does not have any field named ‘WinBase’ 89 | MountEntries::MountEntries(GtkWindow* parent): WinBase(gettext("Mount-gtk: mount table"), | ^~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/include/gtk-3.0/gdk/gdk.h:32, from mount_entries.cpp:27: mount_entries.cpp:94:44: warning: ‘GtkWidget* gtk_table_new(guint, guint, gboolean)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 94 | GtkTable* table = GTK_TABLE(gtk_table_new(2, 1, false)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:37:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 37 | #define GTK_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TABLE, GtkTable)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mount_entries.cpp:94:21: note: in expansion of macro ‘GTK_TABLE’ 94 | GtkTable* table = GTK_TABLE(gtk_table_new(2, 1, false)); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:280, from mount_entries.h:27: /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here 119 | GtkWidget* gtk_table_new (guint rows, | ^~~~~~~~~~~~~ mount_entries.cpp:95:35: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 95 | gtk_container_add(GTK_CONTAINER(get_win()), GTK_WIDGET(table)); | ^~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtkcontainer.h:38:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 38 | #define GTK_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER, GtkContainer)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mount_entries.cpp:95:21: note: in expansion of macro ‘GTK_CONTAINER’ 95 | gtk_container_add(GTK_CONTAINER(get_win()), GTK_WIDGET(table)); | ^~~~~~~~~~~~~ mount_entries.cpp:97:49: warning: ‘GtkWidget* gtk_table_new(guint, guint, gboolean)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 97 | GtkTable* list_table = GTK_TABLE(gtk_table_new(6, 2, false)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:37:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 37 | #define GTK_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TABLE, GtkTable)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mount_entries.cpp:97:26: note: in expansion of macro ‘GTK_TABLE’ 97 | GtkTable* list_table = GTK_TABLE(gtk_table_new(6, 2, false)); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here 119 | GtkWidget* gtk_table_new (guint rows, | ^~~~~~~~~~~~~ mount_entries.cpp:98:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 98 | gtk_table_attach(table, GTK_WIDGET(list_table), | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 99 | 0, 1, 0, 1, | ~~~~~~~~~~~ 100 | GtkAttachOptions(GTK_FILL | GTK_EXPAND), GtkAttachOptions(GTK_FILL | GTK_EXPAND), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 | standard_size/3, standard_size/3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:103:46: warning: ‘GtkWidget* gtk_hbutton_box_new()’ is deprecated: Use 'gtk_button_box_new' instead [-Wdeprecated-declarations] 103 | GtkWidget* button_box = gtk_hbutton_box_new(); | ~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:261: /usr/include/gtk-3.0/gtk/deprecated/gtkhbbox.h:62:12: note: declared here 62 | GtkWidget* gtk_hbutton_box_new (void); | ^~~~~~~~~~~~~~~~~~~ mount_entries.cpp:104:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 104 | gtk_table_attach(table, button_box, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 105 | 0, 1, 1, 2, | ~~~~~~~~~~~ 106 | GtkAttachOptions(GTK_FILL | GTK_EXPAND), GTK_SHRINK, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107 | standard_size/3, standard_size/3); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:37, from /usr/include/gtk-3.0/gtk/gtk.h:254: /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:159:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 159 | #define GTK_STOCK_CANCEL ((GtkStock)"gtk-cancel") | ^~~~~~~~ mount_entries.cpp:111:45: note: in expansion of macro ‘GTK_STOCK_CANCEL’ 111 | cancel_button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mount_entries.cpp:111:44: warning: ‘GtkWidget* gtk_button_new_from_stock(const gchar*)’ is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] 111 | cancel_button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:54: /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here 103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:756:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 756 | #define GTK_STOCK_OK ((GtkStock)"gtk-ok") | ^~~~~~~~ mount_entries.cpp:113:41: note: in expansion of macro ‘GTK_STOCK_OK’ 113 | ok_button = gtk_button_new_from_stock(GTK_STOCK_OK); | ^~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mount_entries.cpp:113:40: warning: ‘GtkWidget* gtk_button_new_from_stock(const gchar*)’ is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] 113 | ok_button = gtk_button_new_from_stock(GTK_STOCK_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here 103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mount_entries.cpp:117:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 117 | gtk_table_attach(list_table, add_button, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 118 | 0, 1, 0, 1, | ~~~~~~~~~~~ 119 | GTK_SHRINK, GTK_SHRINK, | ~~~~~~~~~~~~~~~~~~~~~~~ 120 | standard_size/2, 0); | ~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:122:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 122 | gtk_table_attach(list_table, modify_button, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 123 | 0, 1, 1, 2, | ~~~~~~~~~~~ 124 | GTK_SHRINK, GTK_SHRINK, | ~~~~~~~~~~~~~~~~~~~~~~~ 125 | standard_size/2, 0); | ~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:127:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 127 | gtk_table_attach(list_table, delete_button, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | 0, 1, 2, 3, | ~~~~~~~~~~~ 129 | GTK_SHRINK, GTK_SHRINK, | ~~~~~~~~~~~~~~~~~~~~~~~ 130 | standard_size/2, 0); | ~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:132:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 132 | gtk_table_attach(list_table, up_button, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 133 | 0, 1, 3, 4, | ~~~~~~~~~~~ 134 | GTK_SHRINK, GTK_SHRINK, | ~~~~~~~~~~~~~~~~~~~~~~~ 135 | standard_size/2, 0); | ~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:137:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 137 | gtk_table_attach(list_table, down_button, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 138 | 0, 1, 4, 5, | ~~~~~~~~~~~ 139 | GTK_SHRINK, GTK_SHRINK, | ~~~~~~~~~~~~~~~~~~~~~~~ 140 | standard_size/2, 0); | ~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:142:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 142 | gtk_table_attach(list_table, dummy, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 143 | 0, 1, 5, 6, | ~~~~~~~~~~~ 144 | GTK_SHRINK, GTK_EXPAND, | ~~~~~~~~~~~~~~~~~~~~~~~ 145 | standard_size/2, 0); | ~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:147:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 147 | gtk_table_attach(list_table, GTK_WIDGET(scrolled_window), | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 148 | 1, 2, 0, 6, | ~~~~~~~~~~~ 149 | GtkAttachOptions(GTK_FILL | GTK_EXPAND), GtkAttachOptions(GTK_FILL | GTK_EXPAND), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | 0, 0); | ~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:193:62: warning: ‘GtkIconSize gtk_icon_size_from_name(const gchar*)’ is deprecated [-Wdeprecated-declarations] 193 | GtkIconSize mount_gtk_button_size = gtk_icon_size_from_name("MOUNT_GTK_BUTTON_SIZE"); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27, from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27, from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27, from /usr/include/gtk-3.0/gtk/gtk.h:127: /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:129:23: note: declared here 129 | GtkIconSize gtk_icon_size_from_name (const gchar *name); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:132:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 132 | #define GTK_STOCK_ADD ((GtkStock)"gtk-add") | ^~~~~~~~ mount_entries.cpp:196:36: note: in expansion of macro ‘GTK_STOCK_ADD’ 196 | image = gtk_image_new_from_stock(GTK_STOCK_ADD, mount_gtk_button_size); | ^~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mount_entries.cpp:196:35: warning: ‘GtkWidget* gtk_image_new_from_stock(const gchar*, GtkIconSize)’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 196 | image = gtk_image_new_from_stock(GTK_STOCK_ADD, mount_gtk_button_size); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:255:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 255 | #define GTK_STOCK_DELETE ((GtkStock)"gtk-delete") | ^~~~~~~~ mount_entries.cpp:205:36: note: in expansion of macro ‘GTK_STOCK_DELETE’ 205 | image = gtk_image_new_from_stock(GTK_STOCK_DELETE, mount_gtk_button_size); | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mount_entries.cpp:205:35: warning: ‘GtkWidget* gtk_image_new_from_stock(const gchar*, GtkIconSize)’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 205 | image = gtk_image_new_from_stock(GTK_STOCK_DELETE, mount_gtk_button_size); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:496:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 496 | #define GTK_STOCK_GO_UP ((GtkStock)"gtk-go-up") | ^~~~~~~~ mount_entries.cpp:208:36: note: in expansion of macro ‘GTK_STOCK_GO_UP’ 208 | image = gtk_image_new_from_stock(GTK_STOCK_GO_UP, mount_gtk_button_size); | ^~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mount_entries.cpp:208:35: warning: ‘GtkWidget* gtk_image_new_from_stock(const gchar*, GtkIconSize)’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 208 | image = gtk_image_new_from_stock(GTK_STOCK_GO_UP, mount_gtk_button_size); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:478:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 478 | #define GTK_STOCK_GO_DOWN ((GtkStock)"gtk-go-down") | ^~~~~~~~ mount_entries.cpp:211:36: note: in expansion of macro ‘GTK_STOCK_GO_DOWN’ 211 | image = gtk_image_new_from_stock(GTK_STOCK_GO_DOWN, mount_gtk_button_size); | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mount_entries.cpp:211:35: warning: ‘GtkWidget* gtk_image_new_from_stock(const gchar*, GtkIconSize)’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 211 | image = gtk_image_new_from_stock(GTK_STOCK_GO_DOWN, mount_gtk_button_size); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ mount_entries.cpp: In member function ‘virtual void MountEntries::on_delete_event()’: mount_entries.cpp:267:8: error: too few arguments to function ‘int close(int)’ 267 | close(); | ~~~~~^~ In file included from /usr/include/bits/sigstksz.h:24, from /usr/include/signal.h:328, from /usr/include/glib-2.0/glib/gbacktrace.h:38, from /usr/include/glib-2.0/glib.h:36, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30: /usr/include/unistd.h:358:12: note: declared here 358 | extern int close (int __fd); | ^~~~~ In file included from preferences.cpp:24: preferences.h:33:35: error: expected class-name before ‘{’ token 33 | class Preferences: public WinBase { | ^ preferences.cpp: In function ‘void PreferencesCB::preferences_selected(GtkWidget*, void*)’: preferences.cpp:38:15: error: ‘class Preferences’ has no member named ‘close’ 38 | instance->close(); | ^~~~~ preferences.cpp:41:15: error: ‘class Preferences’ has no member named ‘close’ 41 | instance->close(); | ^~~~~ preferences.cpp: In constructor ‘Preferences::Preferences(GtkWindow*)’: preferences.cpp:45:46: error: class ‘Preferences’ does not have any field named ‘WinBase’ 45 | Preferences::Preferences(GtkWindow* parent): WinBase(gettext("Mount-gtk: preferences"), | ^~~~~~~ preferences.cpp:49:39: warning: ‘GtkWidget* gtk_vbox_new(gboolean, gint)’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 49 | GtkWidget* window_box = gtk_vbox_new(false, 2); | ~~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:286, from preferences.h:25: /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ mount_entries.cpp: In member function ‘void MountEntries::add_entry_prompt()’: mount_entries.cpp:272:21: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 272 | TableEntry dialog{get_win(), 0, 0}; | ^~~~~~~ | getwd mount_entries.cpp:272:36: error: no matching function for call to ‘TableEntry::TableEntry()’ 272 | TableEntry dialog{get_win(), 0, 0}; | ^ mount_entries.h:115:3: note: candidate: ‘TableEntry::TableEntry(GtkWindow*, const gchar*, const gchar*)’ 115 | TableEntry(GtkWindow* parent, const gchar* device, const gchar* label); | ^~~~~~~~~~ mount_entries.h:115:3: note: conversion of argument 1 would be ill-formed: mount_entries.cpp:273:14: error: ‘class TableEntry’ has no member named ‘exec’ 273 | if (dialog.exec()) add_entry(dialog); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/include/gtk-3.0/gdk/gdk.h:32, from prog_defs.h:49, from preferences.h:22: preferences.cpp:50:35: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 50 | gtk_container_add(GTK_CONTAINER(get_win()), window_box); | ^~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtkcontainer.h:38:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 38 | #define GTK_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER, GtkContainer)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.cpp:50:21: note: in expansion of macro ‘GTK_CONTAINER’ 50 | gtk_container_add(GTK_CONTAINER(get_win()), window_box); | ^~~~~~~~~~~~~ preferences.cpp:52:43: warning: ‘GtkWidget* gtk_alignment_new(gfloat, gfloat, gfloat, gfloat)’ is deprecated [-Wdeprecated-declarations] 52 | GtkWidget* alignment = gtk_alignment_new(0.5, 0.5, 0, 0); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:255: /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.cpp:56:33: warning: ‘GtkWidget* gtk_vbox_new(gboolean, gint)’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 56 | GtkWidget* vbox = gtk_vbox_new(false, 12); | ~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ preferences.cpp:59:32: warning: ‘GtkWidget* gtk_alignment_new(gfloat, gfloat, gfloat, gfloat)’ is deprecated [-Wdeprecated-declarations] 59 | alignment = gtk_alignment_new(0, 0.5, 0, 0); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.cpp:65:32: warning: ‘GtkWidget* gtk_alignment_new(gfloat, gfloat, gfloat, gfloat)’ is deprecated [-Wdeprecated-declarations] 65 | alignment = gtk_alignment_new(0, 0.5, 0, 0); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.cpp:68:33: warning: ‘GtkWidget* gtk_hbox_new(gboolean, gint)’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 68 | GtkWidget* hbox = gtk_hbox_new(false, 10); | ~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:262: /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ preferences.cpp:76:22: warning: ‘GtkWidget* gtk_hbox_new(gboolean, gint)’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 76 | hbox = gtk_hbox_new(false, 10); | ~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ preferences.cpp:94:32: warning: ‘GtkWidget* gtk_alignment_new(gfloat, gfloat, gfloat, gfloat)’ is deprecated [-Wdeprecated-declarations] 94 | alignment = gtk_alignment_new(0, 0.5, 0, 0); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.cpp:100:32: warning: ‘GtkWidget* gtk_alignment_new(gfloat, gfloat, gfloat, gfloat)’ is deprecated [-Wdeprecated-declarations] 100 | alignment = gtk_alignment_new(0, 0.5, 0, 0); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.cpp:107:46: warning: ‘GtkWidget* gtk_hbutton_box_new()’ is deprecated: Use 'gtk_button_box_new' instead [-Wdeprecated-declarations] 107 | GtkWidget* button_box = gtk_hbutton_box_new(); | ~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:261: /usr/include/gtk-3.0/gtk/deprecated/gtkhbbox.h:62:12: note: declared here 62 | GtkWidget* gtk_hbutton_box_new (void); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:37, from /usr/include/gtk-3.0/gtk/gtk.h:254: /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:159:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 159 | #define GTK_STOCK_CANCEL ((GtkStock)"gtk-cancel") | ^~~~~~~~ preferences.cpp:112:45: note: in expansion of macro ‘GTK_STOCK_CANCEL’ 112 | cancel_button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ preferences.cpp:112:44: warning: ‘GtkWidget* gtk_button_new_from_stock(const gchar*)’ is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] 112 | cancel_button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:54: /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here 103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:756:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 756 | #define GTK_STOCK_OK ((GtkStock)"gtk-ok") | ^~~~~~~~ preferences.cpp:114:41: note: in expansion of macro ‘GTK_STOCK_OK’ 114 | ok_button = gtk_button_new_from_stock(GTK_STOCK_OK); | ^~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mount_entries.cpp: In member function ‘void MountEntries::modify_entry_prompt()’: mount_entries.cpp:307:27: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 307 | TableEntry dialog{get_win(), device, label}; | ^~~~~~~ | getwd preferences.cpp:114:40: warning: ‘GtkWidget* gtk_button_new_from_stock(const gchar*)’ is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] 114 | ok_button = gtk_button_new_from_stock(GTK_STOCK_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here 103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mount_entries.cpp:307:51: error: no matching function for call to ‘TableEntry::TableEntry()’ 307 | TableEntry dialog{get_win(), device, label}; | ^ mount_entries.h:115:3: note: candidate: ‘TableEntry::TableEntry(GtkWindow*, const gchar*, const gchar*)’ 115 | TableEntry(GtkWindow* parent, const gchar* device, const gchar* label); | ^~~~~~~~~~ mount_entries.h:115:3: note: conversion of argument 1 would be ill-formed: mount_entries.cpp:308:20: error: ‘class TableEntry’ has no member named ‘exec’ 308 | if (dialog.exec()) modify_entry(dialog); | ^~~~ make[2]: *** [Makefile:445: preferences.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mount_entries.cpp: In member function ‘void MountEntries::delete_entry_prompt()’: mount_entries.cpp:349:25: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 349 | get_win()}; | ^~~~~~~ | getwd mount_entries.cpp:349:34: error: no matching function for call to ‘PromptDialog::PromptDialog()’ 349 | get_win()}; | ^ dialogs.h:64:3: note: candidate: ‘PromptDialog::PromptDialog(const char*, const char*, GtkWindow*, bool)’ 64 | PromptDialog(const char* text, const char* caption, | ^~~~~~~~~~~~ dialogs.h:64:3: note: conversion of argument 3 would be ill-formed: mount_entries.cpp:350:16: error: ‘class PromptDialog’ has no member named ‘exec’ 350 | if (dialog.exec()) delete_entry(); | ^~~~ mounter.cpp: In constructor ‘Mounter::Mounter()’: mounter.cpp:75:53: warning: ‘GUnixMountMonitor* g_unix_mount_monitor_new()’ is deprecated: Use 'g_unix_mount_monitor_get' instead [-Wdeprecated-declarations] 75 | Mounter::Mounter(): monitor(g_unix_mount_monitor_new()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from mounter.h:29, from mounter.cpp:34: /usr/include/gio-unix-2.0/gio/gunixmounts.h:158:20: note: declared here 158 | GUnixMountMonitor *g_unix_mount_monitor_new (void); | ^~~~~~~~~~~~~~~~~~~~~~~~ mounter.cpp:78:38: warning: ‘void g_unix_mount_monitor_set_rate_limit(GUnixMountMonitor*, int)’ is deprecated [-Wdeprecated-declarations] 78 | g_unix_mount_monitor_set_rate_limit(monitor, 500); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/gio-unix-2.0/gio/gunixmounts.h:160:20: note: declared here 160 | void g_unix_mount_monitor_set_rate_limit (GUnixMountMonitor *mount_monitor, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mount_entries.cpp: In function ‘void TableEntryCB::new_entry_selected(GtkWidget*, void*)’: mount_entries.cpp:596:17: error: ‘class TableEntry’ has no member named ‘close’ 596 | instance->close(); | ^~~~~ mount_entries.cpp:599:57: error: ‘class TableEntry’ has no member named ‘close’ 599 | else if (widget == instance->cancel_button) instance->close(); | ^~~~~ mount_entries.cpp:602:15: error: ‘class TableEntry’ has no member named ‘close’ 602 | instance->close(); | ^~~~~ mount_entries.cpp: In function ‘gboolean TableEntryCB::new_entry_key_press_event(GtkWidget*, GdkEventKey*, void*)’: mount_entries.cpp:620:17: error: ‘class TableEntry’ has no member named ‘close’ 620 | instance->close(); | ^~~~~ mount_entries.cpp: In constructor ‘TableEntry::TableEntry(GtkWindow*, const gchar*, const gchar*)’: mount_entries.cpp:637:7: error: class ‘TableEntry’ does not have any field named ‘WinBase’ 637 | WinBase((device && label) ? gettext("Mount-gtk: modify entry") | ^~~~~~~ mount_entries.cpp:643:44: warning: ‘GtkWidget* gtk_table_new(guint, guint, gboolean)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 643 | GtkTable* table = GTK_TABLE(gtk_table_new(3, 2, false)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:37:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 37 | #define GTK_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TABLE, GtkTable)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mount_entries.cpp:643:21: note: in expansion of macro ‘GTK_TABLE’ 643 | GtkTable* table = GTK_TABLE(gtk_table_new(3, 2, false)); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here 119 | GtkWidget* gtk_table_new (guint rows, | ^~~~~~~~~~~~~ mount_entries.cpp:644:35: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 644 | gtk_container_add(GTK_CONTAINER(get_win()), GTK_WIDGET(table)); | ^~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtkcontainer.h:38:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 38 | #define GTK_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER, GtkContainer)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mount_entries.cpp:644:21: note: in expansion of macro ‘GTK_CONTAINER’ 644 | gtk_container_add(GTK_CONTAINER(get_win()), GTK_WIDGET(table)); | ^~~~~~~~~~~~~ mount_entries.cpp:648:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 648 | gtk_table_attach(table, device_label, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 649 | 0, 1, 0, 1, | ~~~~~~~~~~~ 650 | GTK_FILL, GTK_SHRINK, | ~~~~~~~~~~~~~~~~~~~~~ 651 | standard_size/2, standard_size/4); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:653:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 653 | gtk_table_attach(table, device_entry, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 654 | 1, 2, 0, 1, | ~~~~~~~~~~~ 655 | GtkAttachOptions(GTK_FILL | GTK_EXPAND), GTK_SHRINK, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 656 | standard_size/2, standard_size/4); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:658:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 658 | gtk_table_attach(table, label_label, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 659 | 0, 1, 1, 2, | ~~~~~~~~~~~ 660 | GTK_FILL, GTK_SHRINK, | ~~~~~~~~~~~~~~~~~~~~~ 661 | standard_size/2, standard_size/4); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:663:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 663 | gtk_table_attach(table, label_entry, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ 664 | 1, 2, 1, 2, | ~~~~~~~~~~~ 665 | GtkAttachOptions(GTK_FILL | GTK_EXPAND), GTK_SHRINK, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 666 | standard_size/2, standard_size/4); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:667:46: warning: ‘GtkWidget* gtk_hbutton_box_new()’ is deprecated: Use 'gtk_button_box_new' instead [-Wdeprecated-declarations] 667 | GtkWidget* button_box = gtk_hbutton_box_new(); | ~~~~~~~~~~~~~~~~~~~^~ /usr/include/gtk-3.0/gtk/deprecated/gtkhbbox.h:62:12: note: declared here 62 | GtkWidget* gtk_hbutton_box_new (void); | ^~~~~~~~~~~~~~~~~~~ mount_entries.cpp:668:19: warning: ‘void gtk_table_attach(GtkTable*, GtkWidget*, guint, guint, guint, guint, GtkAttachOptions, GtkAttachOptions, guint, guint)’ is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations] 668 | gtk_table_attach(table, button_box, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 669 | 0, 2, 2, 3, | ~~~~~~~~~~~ 670 | GtkAttachOptions(GTK_FILL | GTK_EXPAND), GTK_SHRINK, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 671 | standard_size/2, standard_size/4); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:12: note: declared here 127 | void gtk_table_attach (GtkTable *table, | ^~~~~~~~~~~~~~~~ mount_entries.cpp:675:25: warning: ‘void gtk_misc_set_alignment(GtkMisc*, gfloat, gfloat)’ is deprecated [-Wdeprecated-declarations] 675 | gtk_misc_set_alignment(GTK_MISC(device_label), 1, 0.5); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32, from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33: /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ mount_entries.cpp:676:25: warning: ‘void gtk_misc_set_alignment(GtkMisc*, gfloat, gfloat)’ is deprecated [-Wdeprecated-declarations] 676 | gtk_misc_set_alignment(GTK_MISC(label_label), 1, 0.5); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:159:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 159 | #define GTK_STOCK_CANCEL ((GtkStock)"gtk-cancel") | ^~~~~~~~ mount_entries.cpp:687:45: note: in expansion of macro ‘GTK_STOCK_CANCEL’ 687 | cancel_button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); | ^~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mount_entries.cpp:687:44: warning: ‘GtkWidget* gtk_button_new_from_stock(const gchar*)’ is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] 687 | cancel_button = gtk_button_new_from_stock(GTK_STOCK_CANCEL); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here 103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:756:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 756 | #define GTK_STOCK_OK ((GtkStock)"gtk-ok") | ^~~~~~~~ mount_entries.cpp:689:41: note: in expansion of macro ‘GTK_STOCK_OK’ 689 | ok_button = gtk_button_new_from_stock(GTK_STOCK_OK); | ^~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mount_entries.cpp:689:40: warning: ‘GtkWidget* gtk_button_new_from_stock(const gchar*)’ is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations] 689 | ok_button = gtk_button_new_from_stock(GTK_STOCK_OK); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here 103 | GtkWidget* gtk_button_new_from_stock (const gchar *stock_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:445: mount_entries.o] Error 1 mounter.cpp: In static member function ‘static void Mounter::raw_mount_thread(char*, Direction, Cgu::Callback::Callback*)’: mounter.cpp:209:10: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 209 | write(2, message, sizeof(message) - 1); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mainwindow.h:35, from mainwindow.cpp:30: tray_icon.h: In member function ‘void TrayIcon::set_tooltip(const gchar*)’: tray_icon.h:53:37: warning: ‘void gtk_status_icon_set_tooltip_text(GtkStatusIcon*, const gchar*)’ is deprecated [-Wdeprecated-declarations] 53 | gtk_status_icon_set_tooltip_text(status_icon, text); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from mainwindow.h:31: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:137:23: note: declared here 137 | void gtk_status_icon_set_tooltip_text (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.h: At global scope: mainwindow.h:70:34: error: expected class-name before ‘{’ token 70 | class MainWindow: public WinBase { | ^ In file included from mainwindow.cpp:31: mount_entries.h:41:36: error: expected class-name before ‘{’ token 41 | class MountEntries: public WinBase { | ^ mount_entries.h:89:34: error: expected class-name before ‘{’ token 89 | class TableEntry: public WinBase { | ^ In file included from mainwindow.cpp:32: preferences.h:33:35: error: expected class-name before ‘{’ token 33 | class Preferences: public WinBase { | ^ In file included from mainwindow.cpp:33: dialogs.h:32:34: error: expected class-name before ‘{’ token 32 | class InfoDialog: public WinBase { | ^ dialogs.h:51:36: error: expected class-name before ‘{’ token 51 | class PromptDialog: public WinBase { | ^ dialogs.h:72:35: error: expected class-name before ‘{’ token 72 | class AboutDialog: public WinBase { | ^ In file included from mainwindow.cpp:40: /usr/include/c++-gtk-utils-3-2.2/c++-gtk-utils/mem_fun.h:152:29: warning: ‘template struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 152 | class Functor1: public std::unary_function { | ^~~~~~~~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/string:49, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/locale_classes.h:40, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/ios_base.h:41, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/ios:44, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/istream:40, from /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/fstream:40, from mainwindow.cpp:21: /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /usr/include/c++-gtk-utils-3-2.2/c++-gtk-utils/mem_fun.h:169:35: warning: ‘template struct std::unary_function’ is deprecated [-Wdeprecated-declarations] 169 | class Functor1_const: public std::unary_function { | ^~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ /usr/include/c++-gtk-utils-3-2.2/c++-gtk-utils/mem_fun.h:186:29: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 186 | class Functor2: public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ /usr/include/c++-gtk-utils-3-2.2/c++-gtk-utils/mem_fun.h:203:35: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 203 | class Functor2_const: public std::binary_function { | ^~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ mainwindow.cpp: In function ‘void MainWindowCB::mainwin_tool_button_clicked(GtkToolButton*, void*)’: mainwindow.cpp:57:55: error: ‘class MainWindow’ has no member named ‘close’ 57 | else if (button == instance->quit_button) instance->close(); | ^~~~~ mainwindow.cpp: In constructor ‘MainWindow::MainWindow(bool)’: mainwindow.cpp:122:44: error: class ‘MainWindow’ does not have any field named ‘WinBase’ 122 | MainWindow::MainWindow(bool start_hidden): WinBase(0, prog_config.window_icon), | ^~~~~~~ In file included from mainwindow.h:35, from main.cpp:45: tray_icon.h: In member function ‘void TrayIcon::set_tooltip(const gchar*)’: tray_icon.h:53:37: warning: ‘void gtk_status_icon_set_tooltip_text(GtkStatusIcon*, const gchar*)’ is deprecated [-Wdeprecated-declarations] 53 | gtk_status_icon_set_tooltip_text(status_icon, text); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275, from main.cpp:35: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:137:23: note: declared here 137 | void gtk_status_icon_set_tooltip_text (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.h: At global scope: mainwindow.h:70:34: error: expected class-name before ‘{’ token 70 | class MainWindow: public WinBase { | ^ In file included from main.cpp:47: dialogs.h:32:34: error: expected class-name before ‘{’ token 32 | class InfoDialog: public WinBase { | ^ dialogs.h:51:36: error: expected class-name before ‘{’ token 51 | class PromptDialog: public WinBase { | ^ dialogs.h:72:35: error: expected class-name before ‘{’ token 72 | class AboutDialog: public WinBase { | ^ In file included from main.cpp:48: utils/icon_info_handle.h: In member function ‘void GtkIconInfoFree::operator()(GtkIconInfo*)’: utils/icon_info_handle.h:38:25: warning: ‘void gtk_icon_info_free(GtkIconInfo*)’ is deprecated: Use 'g_object_unref' instead [-Wdeprecated-declarations] 38 | gtk_icon_info_free(obj_p); | ~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:127: /usr/include/gtk-3.0/gtk/gtkicontheme.h:284:23: note: declared here 284 | void gtk_icon_info_free (GtkIconInfo *icon_info); | ^~~~~~~~~~~~~~~~~~ main.cpp: In function ‘int main(int, char**)’: main.cpp:109:16: warning: ‘void g_thread_init(gpointer)’ is deprecated [-Wdeprecated-declarations] 109 | g_thread_init(0); | ~~~~~~~~~~~~~^~~ In file included from /usr/include/glib-2.0/glib.h:115, from prog_defs.h:48, from main.cpp:19: /usr/include/glib-2.0/glib/deprecated/gthread.h:267:10: note: declared here 267 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ main.cpp:142:17: error: ‘class MainWindow’ has no member named ‘exec’ 142 | main_window.exec(); | ^~~~ main.cpp: In function ‘void display_dbus_error_dialog()’: main.cpp:335:10: error: ‘class InfoDialog’ has no member named ‘exec’ 335 | dialog.exec(); | ^~~~ main.cpp: In function ‘void beep()’: main.cpp:348:11: warning: ‘void gdk_beep()’ is deprecated: Use 'gdk_display_beep' instead [-Wdeprecated-declarations] 348 | gdk_beep(); | ~~~~~~~~^~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:50, from prog_defs.h:49: /usr/include/gtk-3.0/gdk/gdkmain.h:121:6: note: declared here 121 | void gdk_beep (void); | ^~~~~~~~ mainwindow.cpp:127:24: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 127 | gtk_window_set_title(get_win(), "Mount-gtk"); | ^~~~~~~ | getwd mainwindow.cpp:129:26: warning: ‘GtkWidget* gtk_vbox_new(gboolean, gint)’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 129 | gui_vbox = gtk_vbox_new(false, 2); | ~~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:286: /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ mainwindow.cpp:145:25: warning: ‘GtkIconSize gtk_icon_size_register(const gchar*, gint, gint)’ is deprecated [-Wdeprecated-declarations] 145 | gtk_icon_size_register("MOUNT_GTK_BUTTON_SIZE", 22, 22); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27, from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27, from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27, from /usr/include/gtk-3.0/gtk/gtk.h:127: /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:122:23: note: declared here 122 | GtkIconSize gtk_icon_size_register (const gchar *name, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from mainwindow.cpp:26: /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:838:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 838 | #define GTK_STOCK_PREFERENCES ((GtkStock)"gtk-preferences") | ^~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtktoolbutton.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 33 | #define GTK_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButton)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:147:18: note: in expansion of macro ‘GTK_TOOL_BUTTON’ 147 | prefs_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_PREFERENCES)); | ^~~~~~~~~~~~~~~ mainwindow.cpp:147:65: note: in expansion of macro ‘GTK_STOCK_PREFERENCES’ 147 | efs_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_PREFERENCES)); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/deprecated/gtkactiongroup.h:37, from /usr/include/gtk-3.0/gtk/gtk.h:254: /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mainwindow.cpp:147:64: warning: ‘GtkToolItem* gtk_tool_button_new_from_stock(const gchar*)’ is deprecated: Use 'gtk_tool_button_new' instead [-Wdeprecated-declarations] 147 | refs_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_PREFERENCES)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtktoolbutton.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 33 | #define GTK_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButton)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:147:18: note: in expansion of macro ‘GTK_TOOL_BUTTON’ 147 | prefs_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_PREFERENCES)); | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkmenutoolbutton.h:28, from /usr/include/gtk-3.0/gtk/gtk.h:149: /usr/include/gtk-3.0/gtk/gtktoolbutton.h:84:14: note: declared here 84 | GtkToolItem *gtk_tool_button_new_from_stock (const gchar *stock_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:364:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 364 | #define GTK_STOCK_EDIT ((GtkStock)"gtk-edit") | ^~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtktoolbutton.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 33 | #define GTK_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButton)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:154:26: note: in expansion of macro ‘GTK_TOOL_BUTTON’ 154 | mount_entries_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_EDIT)); | ^~~~~~~~~~~~~~~ mainwindow.cpp:154:73: note: in expansion of macro ‘GTK_STOCK_EDIT’ 154 | ies_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_EDIT)); | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mainwindow.cpp:154:72: warning: ‘GtkToolItem* gtk_tool_button_new_from_stock(const gchar*)’ is deprecated: Use 'gtk_tool_button_new' instead [-Wdeprecated-declarations] 154 | ries_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_EDIT)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtktoolbutton.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 33 | #define GTK_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButton)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:154:26: note: in expansion of macro ‘GTK_TOOL_BUTTON’ 154 | mount_entries_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_EDIT)); | ^~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtktoolbutton.h:84:14: note: declared here 84 | GtkToolItem *gtk_tool_button_new_from_stock (const gchar *stock_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:123:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 123 | #define GTK_STOCK_ABOUT ((GtkStock)"gtk-about") | ^~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtktoolbutton.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 33 | #define GTK_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButton)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:162:18: note: in expansion of macro ‘GTK_TOOL_BUTTON’ 162 | about_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_ABOUT)); | ^~~~~~~~~~~~~~~ mainwindow.cpp:162:65: note: in expansion of macro ‘GTK_STOCK_ABOUT’ 162 | out_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_ABOUT)); | ^~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mainwindow.cpp:162:64: warning: ‘GtkToolItem* gtk_tool_button_new_from_stock(const gchar*)’ is deprecated: Use 'gtk_tool_button_new' instead [-Wdeprecated-declarations] 162 | bout_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_ABOUT)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtktoolbutton.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 33 | #define GTK_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButton)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:162:18: note: in expansion of macro ‘GTK_TOOL_BUTTON’ 162 | about_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_ABOUT)); | ^~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtktoolbutton.h:84:14: note: declared here 84 | GtkToolItem *gtk_tool_button_new_from_stock (const gchar *stock_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:919:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 919 | #define GTK_STOCK_QUIT ((GtkStock)"gtk-quit") | ^~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtktoolbutton.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 33 | #define GTK_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButton)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:169:17: note: in expansion of macro ‘GTK_TOOL_BUTTON’ 169 | quit_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_QUIT)); | ^~~~~~~~~~~~~~~ mainwindow.cpp:169:64: note: in expansion of macro ‘GTK_STOCK_QUIT’ 169 | uit_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_QUIT)); | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mainwindow.cpp:169:63: warning: ‘GtkToolItem* gtk_tool_button_new_from_stock(const gchar*)’ is deprecated: Use 'gtk_tool_button_new' instead [-Wdeprecated-declarations] 169 | quit_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_QUIT)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtktoolbutton.h:33:42: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 33 | #define GTK_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButton)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:169:17: note: in expansion of macro ‘GTK_TOOL_BUTTON’ 169 | quit_button = GTK_TOOL_BUTTON(gtk_tool_button_new_from_stock(GTK_STOCK_QUIT)); | ^~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtktoolbutton.h:84:14: note: declared here 84 | GtkToolItem *gtk_tool_button_new_from_stock (const gchar *stock_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:445: main.o] Error 1 mainwindow.cpp: In member function ‘virtual void MainWindow::on_delete_event()’: mainwindow.cpp:213:57: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 213 | if (prog_config.tray_icon) gtk_widget_hide(GTK_WIDGET(get_win())); | ^~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtkwidget.h:58:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 58 | #define GTK_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_CAST ((widget), GTK_TYPE_WIDGET, GtkWidget)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:213:46: note: in expansion of macro ‘GTK_WIDGET’ 213 | if (prog_config.tray_icon) gtk_widget_hide(GTK_WIDGET(get_win())); | ^~~~~~~~~~ mainwindow.cpp:214:13: error: too few arguments to function ‘int close(int)’ 214 | else close(); | ~~~~~^~ In file included from mainwindow.cpp:19: /usr/include/unistd.h:358:12: note: declared here 358 | extern int close (int __fd); | ^~~~~ mainwindow.cpp: In member function ‘void MainWindow::prefs_impl()’: mainwindow.cpp:225:27: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 225 | Preferences preferences{get_win()}; | ^~~~~~~ | getwd mainwindow.cpp:225:36: error: no matching function for call to ‘Preferences::Preferences()’ 225 | Preferences preferences{get_win()}; | ^ preferences.h:57:3: note: candidate: ‘Preferences::Preferences(GtkWindow*)’ 57 | Preferences(GtkWindow* parent); | ^~~~~~~~~~~ preferences.h:57:3: note: conversion of argument 1 would be ill-formed: mainwindow.cpp:226:15: error: ‘class Preferences’ has no member named ‘exec’ 226 | preferences.exec(); | ^~~~ mainwindow.cpp: In member function ‘void MainWindow::mount_entries_impl()’: mainwindow.cpp:339:30: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 339 | MountEntries mount_entries{get_win()}; | ^~~~~~~ | getwd mainwindow.cpp:339:39: error: no matching function for call to ‘MountEntries::MountEntries()’ 339 | MountEntries mount_entries{get_win()}; | ^ mount_entries.h:79:3: note: candidate: ‘MountEntries::MountEntries(GtkWindow*)’ 79 | MountEntries(GtkWindow* parent); | ^~~~~~~~~~~~ mount_entries.h:79:3: note: conversion of argument 1 would be ill-formed: mainwindow.cpp:340:21: error: ‘class MountEntries’ has no member named ‘exec’ 340 | if (mount_entries.exec()) populate_mount_points(); | ^~~~ mainwindow.cpp: In member function ‘void MainWindow::populate_mount_points()’: mainwindow.cpp:578:31: warning: ‘GtkWidget* gtk_vbox_new(gboolean, gint)’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 578 | button_vbox = gtk_vbox_new(true, 2); | ~~~~~~~~~~~~^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here 61 | GtkWidget * gtk_vbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ mainwindow.cpp: In member function ‘void MainWindow::display_mount_points()’: mainwindow.cpp:630:35: warning: ‘GtkWidget* gtk_hbox_new(gboolean, gint)’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 630 | GtkWidget* hbox = gtk_hbox_new(false, 2); | ~~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:262: /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ mainwindow.cpp:636:27: warning: ‘void gtk_misc_set_alignment(GtkMisc*, gfloat, gfloat)’ is deprecated [-Wdeprecated-declarations] 636 | gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32, from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33: /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:650:24: warning: ‘GtkWidget* gtk_hbox_new(gboolean, gint)’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 650 | hbox = gtk_hbox_new(false, 2); | ~~~~~~~~~~~~^~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ mainwindow.cpp: In member function ‘GtkWidget* MainWindow::get_noentries_widget()’: mainwindow.cpp:686:33: warning: ‘GtkWidget* gtk_hbox_new(gboolean, gint)’ is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations] 686 | GtkWidget* hbox = gtk_hbox_new(false, 2); | ~~~~~~~~~~~~^~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here 63 | GtkWidget * gtk_hbox_new (gboolean homogeneous, | ^~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:364:38: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations] 364 | #define GTK_STOCK_EDIT ((GtkStock)"gtk-edit") | ^~~~~~~~ mainwindow.cpp:689:47: note: in expansion of macro ‘GTK_STOCK_EDIT’ 689 | GtkWidget* image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_BUTTON); | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstock.h:108:16: note: declared here 108 | typedef char * GtkStock; | ^~~~~~~~ mainwindow.cpp:689:46: warning: ‘GtkWidget* gtk_image_new_from_stock(const gchar*, GtkIconSize)’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 689 | GtkWidget* image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_BUTTON); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:696:25: warning: ‘void gtk_misc_set_alignment(GtkMisc*, gfloat, gfloat)’ is deprecated [-Wdeprecated-declarations] 696 | gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp: In member function ‘void MainWindow::tray_icon_action(TrayIcon::MenuItem)’: mainwindow.cpp:714:10: error: too few arguments to function ‘int close(int)’ 714 | close(); | ~~~~~^~ /usr/include/unistd.h:358:12: note: declared here 358 | extern int close (int __fd); | ^~~~~ mainwindow.cpp: In member function ‘void MainWindow::tray_icon_activate()’: mainwindow.cpp:724:39: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 724 | GtkWidget* main_widget = GTK_WIDGET(get_win()); | ^~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2532:57: note: in definition of macro ‘_G_TYPE_CIC’ 2532 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gtk-3.0/gtk/gtkwidget.h:58:44: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_CAST’ 58 | #define GTK_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_CAST ((widget), GTK_TYPE_WIDGET, GtkWidget)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.cpp:724:28: note: in expansion of macro ‘GTK_WIDGET’ 724 | GtkWidget* main_widget = GTK_WIDGET(get_win()); | ^~~~~~~~~~ mainwindow.cpp: In member function ‘void MainWindow::start_hidden_check_cb(bool&)’: mainwindow.cpp:757:24: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 757 | gtk_window_present(get_win()); | ^~~~~~~ | getwd mainwindow.cpp: In member function ‘void MainWindow::present()’: mainwindow.cpp:765:22: error: ‘get_win’ was not declared in this scope; did you mean ‘getwd’? 765 | gtk_window_present(get_win()); | ^~~~~~~ | getwd make[2]: *** [Makefile:445: mainwindow.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1/src' make[1]: *** [Makefile:537: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1' make: *** [Makefile:393: all] Error 2 * ERROR: sys-apps/mount-gtk-1.4.5.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/mount-gtk-1.4.5.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/mount-gtk-1.4.5.1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:mount-gtk-1.4.5.1:20230615-232836.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1' * S: '/var/tmp/portage/sys-apps/mount-gtk-1.4.5.1/work/mount-gtk-1.4.5.1'