Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/drgeo.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1671863569.987006/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zugiy4p8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zugiy4p8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0d7253cfd64748ce867d1dc2a223b4d7', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1671863569.987006/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zugiy4p8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/drgeo.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1669334400 Wrote: /builddir/build/SRPMS/drgeo-1.1.0-47.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/drgeo.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1671863569.987006/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zugiy4p8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zugiy4p8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a1fa7ccba0464539a19ba1908a89888a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1671863569.987006/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zugiy4p8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/drgeo.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1669334400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hz5UwJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf drgeo-1.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/drgeo-1.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd drgeo-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (drgeo-1.1.0-htmlview.patch): + echo 'Patch #0 (drgeo-1.1.0-htmlview.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .htmlview --fuzz=0 patching file glade/drgenius2.glade patching file scm/preferences.scm Patch #1 (drgeo.patch): + echo 'Patch #1 (drgeo.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .general --fuzz=0 patching file geo/drgeo_figure.cc Patch #2 (drgeo-1.1.0-anonymous-type.patch): + echo 'Patch #2 (drgeo-1.1.0-anonymous-type.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .anonymous-type --fuzz=0 patching file geo/drgeo_dialog.cc patching file geo/drgeo_dialog.h patching file geo/drgeo_figure.cc Patch #4 (drgeo-1.1.0-format-security.patch): + echo 'Patch #4 (drgeo-1.1.0-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .format-security --fuzz=0 patching file geo/drgeo_postscriptdrawable.cc Patch #5 (drgeo-configure-c99.patch): + echo 'Patch #5 (drgeo-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .configure-c99 --fuzz=0 patching file configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LBSgnE + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd drgeo-1.1.0 + export GUILE=/usr/bin/guile1.8 + GUILE=/usr/bin/guile1.8 + export GUILE_CONFIG=/usr/bin/guile1.8-config + GUILE_CONFIG=/usr/bin/guile1.8-config + export GUILE_TOOLS=/usr/bin/guile1.8-tools + GUILE_TOOLS=/usr/bin/guile1.8-tools + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-12-24 06:33:55.675700557 +0000 +++ ./configure 2022-12-24 06:33:55.687700437 +0000 @@ -8666,7 +8666,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -8824,7 +8824,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -12370,7 +12370,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -12528,7 +12528,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -17881,7 +17881,7 @@ #if defined (__stub_shl_load) || defined (__stub___shl_load) choke me #else -char (*f) () = shl_load; +__attribute__ ((used)) char (*f) () = shl_load; #endif #ifdef __cplusplus } @@ -18039,7 +18039,7 @@ #if defined (__stub_dlopen) || defined (__stub___dlopen) choke me #else -char (*f) () = dlopen; +__attribute__ ((used)) char (*f) () = dlopen; #endif #ifdef __cplusplus } @@ -20177,7 +20177,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -20506,7 +20506,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -20672,7 +20672,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -20890,7 +20890,7 @@ #if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset) choke me #else -char (*f) () = bind_textdomain_codeset; +__attribute__ ((used)) char (*f) () = bind_textdomain_codeset; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-12-24 06:33:55.687700437 +0000 +++ ./configure 2022-12-24 06:33:55.718700127 +0000 @@ -5848,7 +5848,7 @@ symxfrm='\1 \2\3 \3' # Transform an extracted symbol line into a proper C declaration -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for perl... /usr/bin/perl checking for XML::Parser... ok checking for iconv... /usr/bin/iconv checking for msgfmt... /usr/bin/msgfmt checking for msgmerge... /usr/bin/msgmerge checking for xgettext... /usr/bin/xgettext checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-redhat-linux-gnu-g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... none checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for x86_64-redhat-linux-gnu-g77... no checking for x86_64-redhat-linux-gnu-f77... no checking for x86_64-redhat-linux-gnu-xlf... no checking for x86_64-redhat-linux-gnu-frt... no checking for x86_64-redhat-linux-gnu-pgf77... no checking for x86_64-redhat-linux-gnu-fort77... no checking for x86_64-redhat-linux-gnu-fl32... no checking for x86_64-redhat-linux-gnu-af77... no checking for x86_64-redhat-linux-gnu-f90... no checking for x86_64-redhat-linux-gnu-xlf90... no checking for x86_64-redhat-linux-gnu-pgf90... no checking for x86_64-redhat-linux-gnu-epcf90... no checking for x86_64-redhat-linux-gnu-f95... no checking for x86_64-redhat-linux-gnu-fort... no checking for x86_64-redhat-linux-gnu-xlf95... no checking for x86_64-redhat-linux-gnu-ifc... no checking for x86_64-redhat-linux-gnu-efc... no checking for x86_64-redhat-linux-gnu-pgf95... no checking for x86_64-redhat-linux-gnu-lf95... no checking for x86_64-redhat-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for pkg-config... /usr/bin/pkg-config checking for gtk+-2.0 libglade-2.0 libxml-2.0... yes checking DRGEO_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread checking DRGEO_LIBS... -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lxml2 checking for guile... /usr/bin/guile1.8 checking for guile-config... /usr/bin/guile1.8-config checking for guile-tools... /usr/bin/guile1.8-tools checking libguile compile flags... checking libguile link flags... -lguile checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for catalogs to be installed... az ca cs da de el en_CA en_GB es eu fr ga gl gu hi hr hu it ja ml mr nb ne nl no pl pt pt_BR ru rw sl sq sr sr@Latn sv uk zh_CN zh_TW configure: creating ./config.status ./config.status: line 395: top_builddir: command not found config.status: creating drgeo.spec config.status: creating Makefile config.status: creating geo/Makefile config.status: creating icons/Makefile config.status: creating glade/Makefile config.status: creating po/Makefile.in config.status: creating examples/Makefile config.status: creating examples/figures/Makefile config.status: creating examples/macro/Makefile config.status: creating examples/scheme/Makefile config.status: creating scm/Makefile config.status: creating encode/Makefile config.status: creating plugin/Makefile config.status: creating plugin/drgeo/Makefile config.status: creating plugin/drgeo/progs/Makefile config.status: creating config.h config.status: executing default-1 commands config.status: executing depfiles commands config.status: executing default-2 commands + make -j2 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0' Making all in po make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/po' Making all in geo make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/geo' make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/geo' g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_drawable.o `test -f 'drgeo_drawable.cc' || echo './'`drgeo_drawable.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_gtkdrawable.o `test -f 'drgeo_gtkdrawable.cc' || echo './'`drgeo_gtkdrawable.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from drgeo_gtkdrawable.cc:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/libglade-2.0/glade/glade.h:25: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_drawable.cc:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35, from drgeo_drawable.h:33, from drgeo_drawable.cc:27: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_figure.h:35, from drgeo_drawable.h:33, from drgeo_gtkdrawable.h:28, from drgeo_gtkdrawable.cc:27: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_drawable.cc: In member function 'void drgeoDrawable::updateDescription()': drgeo_drawable.cc:264:20: warning: unused variable 'item' [-Wunused-variable] 264 | geometricObject *item; | ^~~~ drgeo_drawable.cc: In destructor 'virtual drgeoDrawableUI::~drgeoDrawableUI()': drgeo_drawable.cc:313:3: warning: deleting object of abstract class type 'drgeoTool' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 313 | delete animationToolDialogLess; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_drawable.cc:314:3: warning: deleting object of abstract class type 'drgeoTool' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 314 | delete macroPlayToolDialogLess; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_drawable.cc:315:3: warning: deleting object of abstract class type 'drgeoTool' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 315 | delete macroPlayTool; | ^~~~~~~~~~~~~~~~~~~~ drgeo_drawable.cc:316:3: warning: deleting object of abstract class type 'drgeoTool' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 316 | delete printingAreaTool; | ^~~~~~~~~~~~~~~~~~~~~~~ drgeo_drawable.cc:317:3: warning: deleting object of abstract class type 'drgeoTool' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 317 | delete deleteTool; | ^~~~~~~~~~~~~~~~~ drgeo_drawable.cc:318:3: warning: deleting object of abstract class type 'drgeoTool' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 318 | delete macroBuildTool; | ^~~~~~~~~~~~~~~~~~~~~ drgeo_drawable.cc:319:3: warning: deleting object of abstract class type 'drgeoTool' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 319 | delete styleTool; | ^~~~~~~~~~~~~~~~ drgeo_drawable.cc:320:3: warning: deleting object of abstract class type 'drgeoTool' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 320 | delete buildTool; | ^~~~~~~~~~~~~~~~ drgeo_drawable.cc:321:3: warning: deleting object of abstract class type 'drgeoTool' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 321 | delete selectTool; | ^~~~~~~~~~~~~~~~~ drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from drgeo_gtkdrawable.cc:32: ../drgenius_mdi.h: At global scope: ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ drgeo_gtkdrawable.cc: In constructor 'drgeoGtkDrawable::drgeoGtkDrawable(drgeoFigure*, geoView*)': drgeo_gtkdrawable.cc:66:31: warning: unused variable 'widget1' [-Wunused-variable] 66 | GtkWidget *table, *widget, *widget1, *toolbar, *icon; | ^~~~~~~ drgeo_gtkdrawable.cc:66:41: warning: unused variable 'toolbar' [-Wunused-variable] 66 | GtkWidget *table, *widget, *widget1, *toolbar, *icon; | ^~~~~~~ drgeo_gtkdrawable.cc:66:51: warning: unused variable 'icon' [-Wunused-variable] 66 | GtkWidget *table, *widget, *widget1, *toolbar, *icon; | ^~~~ drgeo_gtkdrawable.cc:67:14: warning: unused variable 'counter' [-Wunused-variable] 67 | static int counter = 1; /* Used to generated title for new | ^~~~~~~ drgeo_gtkdrawable.cc:69:9: warning: unused variable 'view_title' [-Wunused-variable] 69 | char *view_title; | ^~~~~~~~~~ drgeo_gtkdrawable.cc: In member function 'virtual void drgeoGtkDrawable::setCursor(drgeoCursor)': drgeo_gtkdrawable.cc:735:10: warning: enumeration value 'none' not handled in switch [-Wswitch] 735 | switch (cursor) | ^ In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_gtkdrawable.cc: In member function 'void drgeoGtkDrawable::moveCallback(GdkEventMotion*)': drgeo_gtkdrawable.cc:911:26: warning: unused variable 'state' [-Wunused-variable] 911 | static GdkModifierType state; | ^~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from drgeo_gtkdrawable.cc:31: drgeo_menu.h:43:1: warning: 'gboolean showGeoMenu(GtkWidget*, GdkEvent*)' declared 'static' but never defined [-Wunused-function] 43 | showGeoMenu (GtkWidget *menu, GdkEvent *event ); | ^~~~~~~~~~~ ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ drgeo_gtkdrawable.cc:1288:1: warning: 'void dummy_cb(GtkWidget*, gpointer)' defined but not used [-Wunused-function] 1288 | dummy_cb (GtkWidget * w, gpointer data) | ^~~~~~~~ drgeo_gtkdrawable.cc:911:26: warning: 'state' defined but not used [-Wunused-variable] 911 | static GdkModifierType state; | ^~~~~ drgeo_gtkdrawable.cc:67:14: warning: 'counter' defined but not used [-Wunused-variable] 67 | static int counter = 1; /* Used to generated title for new | ^~~~~~~ drgeo_gtkdrawable.cc: In member function 'drgeoGtkDrawable::drawPoint(drgeoStyle&, drgeoVector&)': drgeo_gtkdrawable.cc:311:26: warning: 'radius' may be used uninitialized [-Wmaybe-uninitialized] 311 | gdk_draw_rectangle (paintThere, figure_gc, FALSE, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | x - radius, y - radius, radius << 1, radius << 1); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_gtkdrawable.cc:225:13: note: 'radius' was declared here 225 | int x, y, radius; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_latexdrawable.o `test -f 'drgeo_latexdrawable.cc' || echo './'`drgeo_latexdrawable.cc drgeo_gtkdrawable.cc: In member function 'drgeoGtkDrawable::setCursor(drgeoCursor)': drgeo_gtkdrawable.cc:751:22: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized] 751 | gdk_cursor_destroy (c); drgeo_gtkdrawable.cc:732:14: note: 'c' was declared here 732 | GdkCursor *c; | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_postscriptdrawable.o `test -f 'drgeo_postscriptdrawable.cc' || echo './'`drgeo_postscriptdrawable.cc drgeo_postscriptdrawable.cc:112:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 112 | g_printerr ("Can't open encode file "DRGEO_ENCODEDIR "/latin1.ps\n"); | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_figure.h:27, from drgeo_drawable.h:33, from drgeo_latexdrawable.h:27, from drgeo_latexdrawable.cc:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from drgeo_drgeoStyle.h:28, from drgeo_latexdrawable.cc:28: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_latexdrawable.cc: At global scope: drgeo_latexdrawable.cc:32:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 32 | { "dotscale=1.5,", "dotscale=2.5,", "dotscale=2.5," }; | ^~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:32:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 32 | { "dotscale=1.5,", "dotscale=2.5,", "dotscale=2.5," }; | ^~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:32:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 32 | { "dotscale=1.5,", "dotscale=2.5,", "dotscale=2.5," }; | ^~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:35:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 35 | { "dotstyle=*,", "", "dotstyle=square*,", "dotstyle=o,", | ^~~~~~~~~~~~~ drgeo_latexdrawable.cc:35:20: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 35 | { "dotstyle=*,", "", "dotstyle=square*,", "dotstyle=o,", | ^~ drgeo_latexdrawable.cc:35:24: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 35 | { "dotstyle=*,", "", "dotstyle=square*,", "dotstyle=o,", | ^~~~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:35:45: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 35 | { "dotstyle=*,", "", "dotstyle=square*,", "dotstyle=o,", | ^~~~~~~~~~~~~ drgeo_latexdrawable.cc:36:1: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 36 | "dotstlye=square*," }; | ^~~~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:39:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 39 | { "linestyle=dotted,", "linestyle=dashed,", "", "linewidth=0.05," }; | ^~~~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:39:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 39 | { "linestyle=dotted,", "linestyle=dashed,", "", "linewidth=0.05," }; | ^~~~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:39:47: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 39 | { "linestyle=dotted,", "linestyle=dashed,", "", "linewidth=0.05," }; | ^~ drgeo_latexdrawable.cc:39:51: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 39 | { "linestyle=dotted,", "linestyle=dashed,", "", "linewidth=0.05," }; | ^~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:42:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 42 | { "linecolor=black", "linecolor=darkgrey", "linecolor=gray", | ^~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:42:24: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 42 | { "linecolor=black", "linecolor=darkgrey", "linecolor=gray", | ^~~~~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:42:46: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 42 | { "linecolor=black", "linecolor=darkgrey", "linecolor=gray", | ^~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:43:1: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 43 | "linecolor=white", | ^~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:44:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 44 | "linecolor=green", "linecolor=green", "linecolor=blue", "linecolor=blue", | ^~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:44:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 44 | "linecolor=green", "linecolor=green", "linecolor=blue", "linecolor=blue", | ^~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:44:41: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 44 | "linecolor=green", "linecolor=green", "linecolor=blue", "linecolor=blue", | ^~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:44:59: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 44 | "linecolor=green", "linecolor=green", "linecolor=blue", "linecolor=blue", | ^~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:45:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 45 | "linecolor=red", "linecolor=red", "linecolor=yellow", "linecolor=yellow" | ^~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:45:20: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 45 | "linecolor=red", "linecolor=red", "linecolor=yellow", "linecolor=yellow" | ^~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:45:37: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 45 | "linecolor=red", "linecolor=red", "linecolor=yellow", "linecolor=yellow" | ^~~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:45:57: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 45 | "linecolor=red", "linecolor=red", "linecolor=yellow", "linecolor=yellow" | ^~~~~~~~~~~~~~~~~~ drgeo_latexdrawable.cc:49:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | { "black", "darkgrey", "gray", "white", | ^~~~~~~ drgeo_latexdrawable.cc:49:14: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | { "black", "darkgrey", "gray", "white", | ^~~~~~~~~~ drgeo_latexdrawable.cc:49:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | { "black", "darkgrey", "gray", "white", | ^~~~~~ drgeo_latexdrawable.cc:49:34: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | { "black", "darkgrey", "gray", "white", | ^~~~~~~ drgeo_latexdrawable.cc:50:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 50 | "green", "green", "blue", "blue", | ^~~~~~~ drgeo_latexdrawable.cc:50:12: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 50 | "green", "green", "blue", "blue", | ^~~~~~~ drgeo_latexdrawable.cc:50:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 50 | "green", "green", "blue", "blue", | ^~~~~~ drgeo_latexdrawable.cc:50:29: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 50 | "green", "green", "blue", "blue", | ^~~~~~ drgeo_latexdrawable.cc:51:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 51 | "red", "red", "yellow", "yellow" | ^~~~~ drgeo_latexdrawable.cc:51:10: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 51 | "red", "red", "yellow", "yellow" | ^~~~~ drgeo_latexdrawable.cc:51:17: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 51 | "red", "red", "yellow", "yellow" | ^~~~~~~~ drgeo_latexdrawable.cc:51:27: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 51 | "red", "red", "yellow", "yellow" | ^~~~~~~~ drgeo_latexdrawable.cc: In member function 'virtual void drgeoLatexDrawable::drawLine(drgeoStyle&, drgeoVector&, drgeoVector&)': drgeo_latexdrawable.cc:110:56: warning: unused variable 'd' [-Wunused-variable] 110 | double worldLeft, worldTop, worldRight, worldBottom, d; | ^ In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_figure.h:27, from drgeo_drawable.h:33, from drgeo_latexdrawable.h:27, from drgeo_postscriptdrawable.h:27, from drgeo_postscriptdrawable.cc:40: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from drgeo_drgeoStyle.h:28, from drgeo_postscriptdrawable.cc:39: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_flydrawable.o `test -f 'drgeo_flydrawable.cc' || echo './'`drgeo_flydrawable.cc drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_postscriptdrawable.cc: At global scope: drgeo_postscriptdrawable.cc:52:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 52 | { "%% set line style to Invisible\n0 setlinewidth\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:53:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 53 | "%% set line style to Dashed\n0.4 setlinewidth [3] 0 setdash\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:54:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 54 | "%% set line style to Normal\n0.8 setlinewidth [] 0 setdash\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:55:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 55 | "%% set line style to Thick\n1.4 setlinewidth [] 0 setdash\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:63:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 63 | { "%% set color to black\n0 0 0 setrgbcolor\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:64:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 64 | "%% set color to dark gray\n0.35294117647 0.35294117647 0.35294117647 setrgbcolor\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:65:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 65 | "%% set color to gray\n0.66666666667 0.66666666667 0.66666666667 setrgbcolor\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:66:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 66 | "%% set color to white\n1 1 1 setrgbcolor\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:67:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 67 | "%% set color to green\n0 0.92156862745 0 setrgbcolor\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:68:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 68 | "%% set color to dark green\n0 0.39215686275 0 setrgbcolor\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:69:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 69 | "%% set color to dark blue\n0.17647058824 0.21960784314 1 setrgbcolor\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:70:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 70 | "%% set color to blue\n0.3137254902 0.69411764706 1 setrgbcolor\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:71:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 71 | "%% set color to bordeaux\n0.56862745098 0 0 setrgbcolor\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:72:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 72 | "%% set color to red\n0.92156862745 0 0 setrgbcolor\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:73:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 73 | "%% set color to orange\n1 0.6 0.16862745098 setrgbcolor\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_postscriptdrawable.cc:74:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 74 | "%% set color to yellow\n1 0.94117647059 0.12941176471 setrgbcolor\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_figure.o `test -f 'drgeo_figure.cc' || echo './'`drgeo_figure.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_figure.h:27, from drgeo_drawable.h:33, from drgeo_flydrawable.h:27, from drgeo_flydrawable.cc:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from drgeo_drgeoStyle.h:28, from drgeo_flydrawable.cc:28: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_flydrawable.cc: At global scope: drgeo_flydrawable.cc:32:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 32 | { "3", "5", "7" }; | ^~~ drgeo_flydrawable.cc:32:10: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 32 | { "3", "5", "7" }; | ^~~ drgeo_flydrawable.cc:32:15: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 32 | { "3", "5", "7" }; | ^~~ drgeo_flydrawable.cc:35:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 35 | { "dline", "line", "line" }; | ^~~~~~~ drgeo_flydrawable.cc:35:14: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 35 | { "dline", "line", "line" }; | ^~~~~~ drgeo_flydrawable.cc:35:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 35 | { "dline", "line", "line" }; | ^~~~~~ drgeo_flydrawable.cc:38:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 38 | { "0", "1", "1", "2" }; | ^~~ drgeo_flydrawable.cc:38:10: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 38 | { "0", "1", "1", "2" }; | ^~~ drgeo_flydrawable.cc:38:15: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 38 | { "0", "1", "1", "2" }; | ^~~ drgeo_flydrawable.cc:38:20: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 38 | { "0", "1", "1", "2" }; | ^~~ drgeo_flydrawable.cc:41:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 41 | { "black", "darkgrey", "gray", "white", | ^~~~~~~ drgeo_flydrawable.cc:41:14: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 41 | { "black", "darkgrey", "gray", "white", | ^~~~~~~~~~ drgeo_flydrawable.cc:41:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 41 | { "black", "darkgrey", "gray", "white", | ^~~~~~ drgeo_flydrawable.cc:41:34: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 41 | { "black", "darkgrey", "gray", "white", | ^~~~~~~ drgeo_flydrawable.cc:42:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 42 | "green", "mediumspringgreen", "blue", "skyblue", | ^~~~~~~ drgeo_flydrawable.cc:42:12: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 42 | "green", "mediumspringgreen", "blue", "skyblue", | ^~~~~~~~~~~~~~~~~~~ drgeo_flydrawable.cc:42:33: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 42 | "green", "mediumspringgreen", "blue", "skyblue", | ^~~~~~ drgeo_flydrawable.cc:42:41: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 42 | "green", "mediumspringgreen", "blue", "skyblue", | ^~~~~~~~~ drgeo_flydrawable.cc:43:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 43 | "crimson", "orangered", "gold", "lemonchiffon" | ^~~~~~~~~ drgeo_flydrawable.cc:43:14: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 43 | "crimson", "orangered", "gold", "lemonchiffon" | ^~~~~~~~~~~ drgeo_flydrawable.cc:43:27: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 43 | "crimson", "orangered", "gold", "lemonchiffon" | ^~~~~~ drgeo_flydrawable.cc:43:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 43 | "crimson", "orangered", "gold", "lemonchiffon" | ^~~~~~~~~~~~~~ drgeo_flydrawable.cc:47:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 47 | { "black", "darkgrey", "gray", "white", | ^~~~~~~ drgeo_flydrawable.cc:47:14: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 47 | { "black", "darkgrey", "gray", "white", | ^~~~~~~~~~ drgeo_flydrawable.cc:47:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 47 | { "black", "darkgrey", "gray", "white", | ^~~~~~ drgeo_flydrawable.cc:47:34: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 47 | { "black", "darkgrey", "gray", "white", | ^~~~~~~ drgeo_flydrawable.cc:48:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 48 | "green", "mediumspringgreen", "blue", "skyblue", | ^~~~~~~ drgeo_flydrawable.cc:48:12: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 48 | "green", "mediumspringgreen", "blue", "skyblue", | ^~~~~~~~~~~~~~~~~~~ drgeo_flydrawable.cc:48:33: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 48 | "green", "mediumspringgreen", "blue", "skyblue", | ^~~~~~ drgeo_flydrawable.cc:48:41: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 48 | "green", "mediumspringgreen", "blue", "skyblue", | ^~~~~~~~~ drgeo_flydrawable.cc:49:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | "crimson", "orangered", "gold", "lemonchiffon" | ^~~~~~~~~ drgeo_flydrawable.cc:49:14: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | "crimson", "orangered", "gold", "lemonchiffon" | ^~~~~~~~~~~ drgeo_flydrawable.cc:49:27: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | "crimson", "orangered", "gold", "lemonchiffon" | ^~~~~~ drgeo_flydrawable.cc:49:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | "crimson", "orangered", "gold", "lemonchiffon" | ^~~~~~~~~~~~~~ drgeo_flydrawable.cc: In member function 'virtual void drgeoFlyDrawable::drawPoint(drgeoStyle&, drgeoVector&)': drgeo_flydrawable.cc:80:15: warning: unused variable 'selection' [-Wunused-variable] 80 | liste_elem *selection; | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_figure.h:27, from drgeo_figure.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ drgeo_flydrawable.cc: In member function 'virtual void drgeoFlyDrawable::drawLine(drgeoStyle&, drgeoVector&, drgeoVector&)': drgeo_flydrawable.cc:157:56: warning: unused variable 'd' [-Wunused-variable] 157 | double worldLeft, worldTop, worldRight, worldBottom, d; | ^ drgeo_flydrawable.cc: In member function 'virtual void drgeoFlyDrawable::drawSegment(drgeoStyle&, drgeoVector&, drgeoVector&)': drgeo_flydrawable.cc:194:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 194 | command = "line"; | ^~~~~~ drgeo_flydrawable.cc:200:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char*' [-Wformat=] 200 | fprintf (fileHandle, "linewidth %d\n", thickness); | ~^ ~~~~~~~~~ | | | | int char* | %s drgeo_flydrawable.cc:207:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'gchar*' {aka 'char*'} [-Wformat=] 207 | fprintf (fileHandle, "linewidth %d\n", flyLineWidth[drgeoThicknessNormal]); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int gchar* {aka char*} | %s drgeo_flydrawable.cc: In member function 'virtual void drgeoFlyDrawable::drawCircle(drgeoStyle&, drgeoVector&, double)': drgeo_flydrawable.cc:233:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char*' [-Wformat=] 233 | fprintf (fileHandle, "linewidth %d\n", thickness); | ~^ ~~~~~~~~~ | | | | int char* | %s drgeo_flydrawable.cc:239:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'gchar*' {aka 'char*'} [-Wformat=] 239 | fprintf (fileHandle, "linewidth %d\n", flyLineWidth[drgeoThicknessNormal]); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int gchar* {aka char*} | %s drgeo_flydrawable.cc: In member function 'virtual void drgeoFlyDrawable::drawArc(drgeoStyle&, drgeoVector&, double, double, double)': drgeo_flydrawable.cc:257:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char*' [-Wformat=] 257 | fprintf (fileHandle, "linewidth %d\n", thickness); | ~^ ~~~~~~~~~ | | | | int char* | %s drgeo_flydrawable.cc:272:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'gchar*' {aka 'char*'} [-Wformat=] 272 | fprintf (fileHandle, "linewidth %d\n", flyLineWidth[drgeoThicknessNormal]); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int gchar* {aka char*} | %s In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_flydrawable.cc:31:15: warning: 'flyPointSize' defined but not used [-Wunused-variable] 31 | static gchar *flyPointSize[3] = | ^~~~~~~~~~~~ In file included from drgeo_figure.h:35: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_figure.h:37: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_figure.cc: In member function 'gboolean drgeoFigure::saveAs(xmlNodePtr, const gchar*)': drgeo_figure.cc:176:15: warning: unused variable 'c' [-Wunused-variable] 176 | gint nb, a, c; | ^ drgeo_figure.cc: In member function 'gboolean drgeoFigure::exportToFlydraw(const gchar*)': drgeo_figure.cc:283:3: warning: deleting object of abstract class type 'drgeoDrawable' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 283 | delete (fly); | ^~~~~~~~~~~~ drgeo_figure.cc: In member function 'gboolean drgeoFigure::exportToLatex(const gchar*)': drgeo_figure.cc:337:3: warning: deleting object of abstract class type 'drgeoDrawable' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 337 | delete (latex); | ^~~~~~~~~~~~~~ drgeo_figure.cc: In member function 'gboolean drgeoFigure::exportToPostScript(const gchar*)': drgeo_figure.cc:350:58: warning: 'const gchar* g_basename(const gchar*)' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 350 | ret = exportToPostScriptHandle (fileHandle, g_basename (fileName)); | ~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:50: /usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here 207 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ drgeo_figure.cc: In member function 'gboolean drgeoFigure::exportToPostScriptHandle(FILE*, const gchar*)': drgeo_figure.cc:413:3: warning: deleting object of abstract class type 'drgeoDrawable' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 413 | delete (postscript); | ^~~~~~~~~~~~~~~~~~~ drgeo_figure.cc: In member function 'void drgeoFigure::emptyUndoQueueEnd()': drgeo_figure.cc:534:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 534 | while (tmpList = g_list_next (tmpList)) drgeo_figure.cc: In member function 'void drgeoFigure::addToUndoQueue(drgeoCommand*)': drgeo_figure.cc:573:33: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'gint' {aka 'int'} [-Wsign-compare] 573 | if (g_list_length (undoLevel) > preferedUndoLevel ()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ drgeo_figure.cc: In member function 'void drgeoFigure::hideRemovedItems(geometricObject*)': drgeo_figure.cc:792:20: warning: unused variable 'fig' [-Wunused-variable] 792 | geometricObject *fig; | ^~~ drgeo_figure.cc: In member function 'void drgeoFigure::filterItems(liste_elem&, objectCategory)': drgeo_figure.cc:931:18: warning: unused variable 'category' [-Wunused-variable] 931 | objectCategory category; | ^~~~~~~~ drgeo_figure.cc: In member function 'void drgeoFigure::removeKeyFromHash(gpointer)': drgeo_figure.cc:1060:32: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'gpointer' {aka 'void*'} [-Wformat=] 1060 | g_printerr ("Warning: key %X can't be found in hash table\n", key); | ~^ ~~~ | | | | unsigned int gpointer {aka void*} | %p drgeo_figure.cc: In member function 'liste_elem* drgeoFigure::searchLostNode(liste_elem&)': drgeo_figure.cc:1131:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1131 | while (fig = (geometricObject *) myList.lire (0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_figure.cc:1123:9: warning: unused variable 'pos' [-Wunused-variable] 1123 | guint pos, nbFigure; | ^~~ drgeo_figure.cc:1123:14: warning: unused variable 'nbFigure' [-Wunused-variable] 1123 | guint pos, nbFigure; | ^~~~~~~~ drgeo_figure.cc: In member function 'gint drgeoFigure::preferedUndoLevel()': drgeo_figure.cc:1307:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1307 | return atoi (drgeoConfigGet (":undoLevel")); | ^~~~~~~~~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o macro.o `test -f 'macro.cc' || echo './'`macro.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from macro.h:31, from macro.cc:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from macro.h:28: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_figure.h:37, from macro.cc:26: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from macro.cc:41: ../drgenius_mdi.h: At global scope: ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ macro.cc: In member function 'geometricObject* macro::createItem(liste_elem&, noyau_macro*, gboolean, liste_elem*)': macro.cc:211:10: warning: enumeration value 'NO_OBJECT' not handled in switch [-Wswitch] 211 | switch (n->category) | ^ macro.cc:211:10: warning: enumeration value 'POINT' not handled in switch [-Wswitch] macro.cc:211:10: warning: enumeration value 'DIRECTION' not handled in switch [-Wswitch] macro.cc:211:10: warning: enumeration value 'CURVE' not handled in switch [-Wswitch] macro.cc:211:10: warning: enumeration value 'VALUE' not handled in switch [-Wswitch] macro.cc: In member function 'bool drgeoMacroRegistry::load(xmlNodePtr)': macro.cc:326:20: warning: unused variable 'subtree' [-Wunused-variable] 326 | xmlNodePtr tree, subtree; | ^~~~~~~ macro.cc:328:15: warning: unused variable 'parentQty' [-Wunused-variable] 328 | int pi, pf, parentQty, *parent, category, parentNumber; | ^~~~~~~~~ macro.cc:328:27: warning: unused variable 'parent' [-Wunused-variable] 328 | int pi, pf, parentQty, *parent, category, parentNumber; | ^~~~~~ macro.cc:328:45: warning: unused variable 'parentNumber' [-Wunused-variable] 328 | int pi, pf, parentQty, *parent, category, parentNumber; | ^~~~~~~~~~~~ macro.cc: In member function 'bool drgeoMacroRegistry::save(const gchar*, xmlNodePtr)': macro.cc:429:29: warning: unused variable 'subsubtree' [-Wunused-variable] 429 | xmlNodePtr tree, subtree, subsubtree, elem; | ^~~~~~~~~~ macro.cc: In member function 'void drgeoMacroRegistry::add(macro*)': macro.cc:479:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 479 | if (oldMacro = find (aMacro->getName ())) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_macro.o `test -f 'drgeo_macro.cc' || echo './'`drgeo_macro.cc macro.h: In member function 'drgeoMacroRegistry::load(_xmlNode*)': macro.h:172:15: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 172 | strncpy (nom, name, l); | ^ In member function 'macro::macro(char*, char*, int, int)', inlined from 'drgeoMacroRegistry::load(_xmlNode*)' at macro.cc:384:45: macro.h:167:14: note: length computed here 167 | l = strlen (name); | ~~~~~~~^~~~~~ macro.h: In member function 'drgeoMacroRegistry::load(_xmlNode*)': macro.h:180:15: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 180 | strncpy (info, description, l); | ^ In member function 'macro::macro(char*, char*, int, int)', inlined from 'drgeoMacroRegistry::load(_xmlNode*)' at macro.cc:384:45: macro.h:175:14: note: length computed here 175 | l = strlen (description); | ~~~~~~~^~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_gtkmacro.o `test -f 'drgeo_gtkmacro.cc' || echo './'`drgeo_gtkmacro.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_figure.h:27, from drgeo_macro.h:6, from drgeo_macro.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from drgeo_macro.h:4: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_figure.h:37: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from drgeo_gtkmacro.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from drgeo_macro.cc:27: ../drgenius_mdi.h: At global scope: ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ In file included from drgeo_figure.h:39: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/libglade-2.0/glade/glade.h:25: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35, from drgeo_drawable.h:33, from drgeo_gtkmacro.h:29, from drgeo_gtkmacro.cc:26: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from drgeo_gtkmacro.cc:31: ../drgenius_mdi.h: At global scope: ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ In file included from drgeo_macro.h:7: macro.h: In member function 'drgeoMacroBuilder::createMacro()': macro.h:172:15: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 172 | strncpy (nom, name, l); | ^ In member function 'macro::macro(char*, char*, int, int)', inlined from 'drgeoMacroBuilder::createMacro()' at drgeo_macro.cc:253:38: macro.h:167:14: note: length computed here 167 | l = strlen (name); | ~~~~~~~^~~~~~ macro.h: In member function 'drgeoMacroBuilder::createMacro()': macro.h:180:15: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 180 | strncpy (info, description, l); | ^ In member function 'macro::macro(char*, char*, int, int)', inlined from 'drgeoMacroBuilder::createMacro()' at drgeo_macro.cc:253:38: macro.h:175:14: note: length computed here 175 | l = strlen (description); | ~~~~~~~^~~~~~~~~~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ drgeo_gtkmacro.cc:192:1: warning: 'void finish_event_cb(GtkWidget*, gpointer, drgeoGtkMacroBuildDialog*)' defined but not used [-Wunused-function] 192 | finish_event_cb (GtkWidget * widget, gpointer druidpage, | ^~~~~~~~~~~~~~~ drgeo_gtkmacro.cc:186:1: warning: 'void cancel_event_cb(GtkWidget*, drgeoGtkMacroBuildDialog*)' defined but not used [-Wunused-function] 186 | cancel_event_cb (GtkWidget * widget, drgeoGtkMacroBuildDialog * dialog) | ^~~~~~~~~~~~~~~ macro.h: In member function 'drgeoMacroPlayer::setDescription(char*)': macro.h:223:15: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 223 | strncpy (info, description, l); | ^ In member function 'macro::setDescription(char*)', inlined from 'drgeoMacroPlayer::setDescription(char*)' at drgeo_macro.cc:392:37: macro.h:218:14: note: length computed here 218 | l = strlen (description); | ~~~~~~~^~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_tool.o `test -f 'drgeo_tool.cc' || echo './'`drgeo_tool.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o liste_elem.o `test -f 'liste_elem.cc' || echo './'`liste_elem.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mode_obj.o `test -f 'mode_obj.cc' || echo './'`mode_obj.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_figure.h:27, from drgeo_drawable.h:33, from drgeo_tool.h:30, from drgeo_tool.cc:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from drgeo_drgeoVector.h:27, from drgeo_drawable.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_tool.cc: In member function 'virtual void drgeoPrintingAreaTool::finish(drgeoDrawableUI*)': drgeo_tool.cc:146:10: warning: enumeration value 'drgeoStateNeutral' not handled in switch [-Wswitch] 146 | switch (state) | ^ drgeo_tool.cc:146:10: warning: enumeration value 'drgeoStateItemGrabbed' not handled in switch [-Wswitch] drgeo_tool.cc:146:10: warning: enumeration value 'drgeoStateItemDragged' not handled in switch [-Wswitch] drgeo_tool.cc:146:10: warning: enumeration value 'drgeoStateItemChoice' not handled in switch [-Wswitch] drgeo_tool.cc:146:10: warning: enumeration value 'drgeoStateItemSelected' not handled in switch [-Wswitch] drgeo_tool.cc:146:10: warning: enumeration value 'drgeoStateAnimated' not handled in switch [-Wswitch] drgeo_tool.cc: In member function 'virtual void drgeoSelectTool::handleRelease(drgeoDrawableUI*, drgeoVector&)': drgeo_tool.cc:295:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 295 | drawable->showTip (where, "???"); | ^~~~~ drgeo_tool.cc: In member function 'virtual void drgeoSelectTool::handleMouseAt(drgeoDrawableUI*, drgeoVector&)': drgeo_tool.cc:362:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 362 | drawable->showTip (where, "???"); | ^~~~~ drgeo_tool.cc: In member function 'virtual void drgeoBuildTool::handlePress(drgeoDrawableUI*, drgeoVector&)': drgeo_tool.cc:484:7: warning: unused variable 'i' [-Wunused-variable] 484 | int i; | ^ drgeo_tool.cc: In member function 'virtual void drgeoBuildTool::handleRelease(drgeoDrawableUI*, drgeoVector&)': drgeo_tool.cc:566:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 566 | drawable->showTip (where, "???"); | ^~~~~ drgeo_tool.cc: In member function 'virtual void drgeoBuildTool::handleMouseAt(drgeoDrawableUI*, drgeoVector&)': drgeo_tool.cc:613:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 613 | drawable->showTip (where, "???"); | ^~~~~ drgeo_tool.cc:587:24: warning: unused variable 'item' [-Wunused-variable] 587 | geometricObject *item; | ^~~~ drgeo_tool.cc:581:7: warning: unused variable 'i' [-Wunused-variable] 581 | int i; | ^ drgeo_tool.cc: In member function 'virtual void drgeoAnimationDialogLess::handlePress(drgeoDrawableUI*, drgeoVector&)': drgeo_tool.cc:829:7: warning: unused variable 'i' [-Wunused-variable] 829 | int i; | ^ In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from mode_obj.h:28, from mode_obj.cc:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ drgeo_tool.cc: In member function 'drgeoPropertyTool::handleChoice(drgeoDrawableUI*, geometricObject*)': drgeo_tool.cc:1046:28: warning: 'nb' may be used uninitialized [-Wmaybe-uninitialized] 1046 | if (dialog && item && nb > 0) | ~~~^~~ drgeo_tool.cc:1037:8: note: 'nb' was declared here 1037 | gint nb; | ^~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_tool.cc: In member function 'drgeoDeleteTool::handleChoice(drgeoDrawableUI*, geometricObject*)': drgeo_tool.cc:954:33: warning: 'message' may be used uninitialized [-Wmaybe-uninitialized] 954 | if (drawable->askOkCancel (message)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ drgeo_tool.cc:937:9: note: 'message' was declared here 937 | char *message; | ^~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ mode_obj.cc: In member function 'virtual int buildParametersListForGeometricObject::inserer_figure(liste_elem&, geometricObject*)': mode_obj.cc:54:32: warning: array subscript has type 'char' [-Wchar-subscripts] 54 | while (buildMode[a][b] != NO_OBJECT) | ^ mode_obj.cc:54:35: warning: array subscript has type 'char' [-Wchar-subscripts] 54 | while (buildMode[a][b] != NO_OBJECT) | ^ mode_obj.cc:57:34: warning: array subscript has type 'char' [-Wchar-subscripts] 57 | if ((buildMode[a][b] & category_fig) != 0 | ^ mode_obj.cc:57:37: warning: array subscript has type 'char' [-Wchar-subscripts] 57 | if ((buildMode[a][b] & category_fig) != 0 | ^ mode_obj.cc:58:31: warning: array subscript has type 'char' [-Wchar-subscripts] 58 | && mode[a][b] == NO_OBJECT | ^ mode_obj.cc:58:34: warning: array subscript has type 'char' [-Wchar-subscripts] 58 | && mode[a][b] == NO_OBJECT | ^ mode_obj.cc:59:39: warning: array subscript has type 'char' [-Wchar-subscripts] 59 | && cas_possible[a] != NOT_VALID) | ^ mode_obj.cc:62:28: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | mode[a][b] = (objectCategory) position; | ^ mode_obj.cc:62:31: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | mode[a][b] = (objectCategory) position; | ^ mode_obj.cc:68:30: warning: array subscript has type 'char' [-Wchar-subscripts] 68 | cas_possible[a] = NOT_VALID; | ^ mode_obj.cc:71:33: warning: array subscript has type 'char' [-Wchar-subscripts] 71 | c += cas_possible[a]; | ^ mode_obj.cc:75:32: warning: array subscript has type 'char' [-Wchar-subscripts] 75 | if (cas_possible[a] != NOT_VALID) | ^ mode_obj.cc:91:32: warning: array subscript has type 'char' [-Wchar-subscripts] 91 | while (buildMode[pos][b] != NO_OBJECT) | ^~~ mode_obj.cc:91:37: warning: array subscript has type 'char' [-Wchar-subscripts] 91 | while (buildMode[pos][b] != NO_OBJECT) | ^ mode_obj.cc:93:28: warning: array subscript has type 'char' [-Wchar-subscripts] 93 | if (mode[pos][b] == NO_OBJECT) | ^~~ mode_obj.cc:93:33: warning: array subscript has type 'char' [-Wchar-subscripts] 93 | if (mode[pos][b] == NO_OBJECT) | ^ mode_obj.cc:108:36: warning: array subscript has type 'char' [-Wchar-subscripts] 108 | if (cas_possible[a] == NOT_VALID) | ^ mode_obj.cc:112:36: warning: array subscript has type 'char' [-Wchar-subscripts] 112 | while (buildMode[a][b] != NO_OBJECT) | ^ mode_obj.cc:112:39: warning: array subscript has type 'char' [-Wchar-subscripts] 112 | while (buildMode[a][b] != NO_OBJECT) | ^ mode_obj.cc:114:32: warning: array subscript has type 'char' [-Wchar-subscripts] 114 | if (mode[a][b] == NO_OBJECT) | ^ mode_obj.cc:114:35: warning: array subscript has type 'char' [-Wchar-subscripts] 114 | if (mode[a][b] == NO_OBJECT) | ^ mode_obj.cc:136:24: warning: array subscript has type 'char' [-Wchar-subscripts] 136 | cas_possible[a] = VALID; | ^ mode_obj.cc:138:28: warning: array subscript has type 'char' [-Wchar-subscripts] 138 | while (buildMode[a][b] != NO_OBJECT) | ^ mode_obj.cc:138:31: warning: array subscript has type 'char' [-Wchar-subscripts] 138 | while (buildMode[a][b] != NO_OBJECT) | ^ mode_obj.cc:140:20: warning: array subscript has type 'char' [-Wchar-subscripts] 140 | mode[a][b] = NO_OBJECT; | ^ mode_obj.cc:140:23: warning: array subscript has type 'char' [-Wchar-subscripts] 140 | mode[a][b] = NO_OBJECT; | ^ mode_obj.cc:153:32: warning: array subscript has type 'char' [-Wchar-subscripts] 153 | while (buildMode[a][b] != NO_OBJECT) | ^ mode_obj.cc:153:35: warning: array subscript has type 'char' [-Wchar-subscripts] 153 | while (buildMode[a][b] != NO_OBJECT) | ^ mode_obj.cc:155:34: warning: array subscript has type 'char' [-Wchar-subscripts] 155 | if ((buildMode[a][b] & category_fig) != 0 | ^ mode_obj.cc:155:37: warning: array subscript has type 'char' [-Wchar-subscripts] 155 | if ((buildMode[a][b] & category_fig) != 0 | ^ mode_obj.cc:156:31: warning: array subscript has type 'char' [-Wchar-subscripts] 156 | && mode[a][b] == NO_OBJECT | ^ mode_obj.cc:156:34: warning: array subscript has type 'char' [-Wchar-subscripts] 156 | && mode[a][b] == NO_OBJECT | ^ mode_obj.cc:157:39: warning: array subscript has type 'char' [-Wchar-subscripts] 157 | && cas_possible[a] != NOT_VALID) | ^ mode_obj.cc:160:28: warning: array subscript has type 'char' [-Wchar-subscripts] 160 | mode[a][b] = (objectCategory) position; | ^ mode_obj.cc:160:31: warning: array subscript has type 'char' [-Wchar-subscripts] 160 | mode[a][b] = (objectCategory) position; | ^ mode_obj.cc:166:30: warning: array subscript has type 'char' [-Wchar-subscripts] 166 | cas_possible[a] = NOT_VALID; | ^ mode_obj.cc: In member function 'virtual int buildParametersListForGeometricObject::utilisable(geometricObject*)': mode_obj.cc:183:24: warning: array subscript has type 'char' [-Wchar-subscripts] 183 | while (buildMode[a][b] != NO_OBJECT) | ^ mode_obj.cc:183:27: warning: array subscript has type 'char' [-Wchar-subscripts] 183 | while (buildMode[a][b] != NO_OBJECT) | ^ mode_obj.cc:185:26: warning: array subscript has type 'char' [-Wchar-subscripts] 185 | if ((buildMode[a][b] & category_fig) != 0 | ^ mode_obj.cc:185:29: warning: array subscript has type 'char' [-Wchar-subscripts] 185 | if ((buildMode[a][b] & category_fig) != 0 | ^ mode_obj.cc:186:23: warning: array subscript has type 'char' [-Wchar-subscripts] 186 | && mode[a][b] == NO_OBJECT && cas_possible[a] != NOT_VALID) | ^ mode_obj.cc:186:26: warning: array subscript has type 'char' [-Wchar-subscripts] 186 | && mode[a][b] == NO_OBJECT && cas_possible[a] != NOT_VALID) | ^ mode_obj.cc:186:58: warning: array subscript has type 'char' [-Wchar-subscripts] 186 | && mode[a][b] == NO_OBJECT && cas_possible[a] != NOT_VALID) | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o traite.o `test -f 'traite.cc' || echo './'`traite.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_control.o `test -f 'drgeo_control.cc' || echo './'`drgeo_control.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from traite.cc:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../drgenius_mdi.h:28, from drgeo_control.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from mode_obj.h:28, from traite.cc:32: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ In file included from ../geo_view.h:27, from drgeo_control.h:29, from drgeo_control.cc:25: ./drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': ./drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ ./drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': ./drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ ./drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': ./drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ ./drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': ./drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_menu.o `test -f 'drgeo_menu.cc' || echo './'`drgeo_menu.cc In file included from drgeo_figure.h:37, from drgeo_control.h:30: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_control.cc: In member function 'void drgeoControl::setTopControlerWidget(GladeXML*)': drgeo_control.cc:52:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 52 | "pointMenu", (gpointer) this); | ^~~~~~~~~~~ drgeo_control.cc:54:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 54 | "curveMenu", (gpointer) this); | ^~~~~~~~~~~ drgeo_control.cc:56:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 56 | "transformationMenu", (gpointer) this); | ^~~~~~~~~~~~~~~~~~~~ drgeo_control.cc:58:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 58 | "numericMenu", (gpointer) this); | ^~~~~~~~~~~~~ drgeo_control.cc:60:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 60 | "macroMenu", (gpointer) this); | ^~~~~~~~~~~ drgeo_control.cc:62:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 62 | "otherMenu", (gpointer) this); | ^~~~~~~~~~~ drgeo_control.cc:64:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 64 | "moveItem", (gpointer) this); | ^~~~~~~~~~ drgeo_control.cc: In member function 'void drgeoControl::setPointControlerWidget(GladeXML*)': drgeo_control.cc:71:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 71 | "freePointItem", (gpointer) this); | ^~~~~~~~~~~~~~~ drgeo_control.cc:73:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 73 | "middleItem", (gpointer) this); | ^~~~~~~~~~~~ drgeo_control.cc:75:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 75 | "intersectionItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~~ drgeo_control.cc:77:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 77 | "coordinatesItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~ drgeo_control.cc: In member function 'void drgeoControl::setCurveControlerWidget(GladeXML*)': drgeo_control.cc:84:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 84 | "lineItem", (gpointer) this); | ^~~~~~~~~~ drgeo_control.cc:86:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 86 | "halfLineItem", (gpointer) this); | ^~~~~~~~~~~~~~ drgeo_control.cc:88:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 88 | "segmentItem", (gpointer) this); | ^~~~~~~~~~~~~ drgeo_control.cc:90:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 90 | "vectorItem", (gpointer) this); | ^~~~~~~~~~~~ drgeo_control.cc:92:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 92 | "circleItem", (gpointer) this); | ^~~~~~~~~~~~ drgeo_control.cc:94:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 94 | "arcCircleItem", (gpointer) this); | ^~~~~~~~~~~~~~~ drgeo_control.cc:96:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 96 | "locusItem", (gpointer) this); | ^~~~~~~~~~~ drgeo_control.cc:98:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 98 | "polygonItem", (gpointer) this); | ^~~~~~~~~~~~~ drgeo_control.cc: In member function 'void drgeoControl::setTransformationControlerWidget(GladeXML*)': drgeo_control.cc:105:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 105 | "parallelLineItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~~ drgeo_control.cc:107:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 107 | "orthogonalLineItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~~~~ drgeo_control.cc:109:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 109 | "axialSymmetryItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~~~ drgeo_control.cc:111:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 111 | "centralSymmetryItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~~~~~ drgeo_control.cc:113:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 113 | "translationItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~ drgeo_control.cc:115:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 115 | "rotationItem", (gpointer) this); | ^~~~~~~~~~~~~~ drgeo_control.cc:117:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 117 | "scaleItem", (gpointer) this); | ^~~~~~~~~~~ drgeo_control.cc: In member function 'void drgeoControl::setNumericControlerWidget(GladeXML*)': drgeo_control.cc:124:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 124 | "distanceLengthItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~~~~ drgeo_control.cc:126:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 126 | "angleItem", (gpointer) this); | ^~~~~~~~~~~ drgeo_control.cc:128:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 128 | "coordinatesEquationItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_control.cc:130:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 130 | "scriptItem", (gpointer) this); | ^~~~~~~~~~~~ drgeo_control.cc: In member function 'void drgeoControl::setMacroControlerWidget(GladeXML*)': drgeo_control.cc:137:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 137 | "constructMacroItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~~~~ drgeo_control.cc:139:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 139 | "executeMacroItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~~ drgeo_control.cc: In member function 'void drgeoControl::setOtherControlerWidget(GladeXML*)': drgeo_control.cc:146:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 146 | "deleteObjectItem", (gpointer) this); | ^~~~~~~~~~~~~~~~~~ drgeo_control.cc:148:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 148 | "lookItem", (gpointer) this); | ^~~~~~~~~~ drgeo_control.cc:150:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 150 | "propertyItem", (gpointer) this); | ^~~~~~~~~~~~~~ drgeo_control.cc: In member function 'void drgeoControl::setShortcutControlerWidget(GladeXML*)': drgeo_control.cc:157:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 157 | "freePointItemSc", (gpointer) this); | ^~~~~~~~~~~~~~~~~ drgeo_control.cc:159:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 159 | "segmentItemSc", (gpointer) this); | ^~~~~~~~~~~~~~~ drgeo_control.cc:161:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 161 | "lineItemSc", (gpointer) this); | ^~~~~~~~~~~~ drgeo_control.cc:163:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 163 | "distanceLengthItemSc", (gpointer) this); | ^~~~~~~~~~~~~~~~~~~~~~ drgeo_control.cc:165:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 165 | "lookItemSc", (gpointer) this); | ^~~~~~~~~~~~ drgeo_control.cc:167:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 167 | "propertyItemSc", (gpointer) this); | ^~~~~~~~~~~~~~~~ drgeo_control.cc:169:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 169 | "moveItemSc", (gpointer) this); | ^~~~~~~~~~~~ drgeo_control.cc:171:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 171 | "deleteObjectItemSc", (gpointer) this); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h: At global scope: ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from drgeo_control.h:27, from drgeo_menu.h:26, from drgeo_menu.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_toolbar.o `test -f 'drgeo_toolbar.cc' || echo './'`drgeo_toolbar.cc In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gmodule.h:30, from drgeo_control.h:26: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from ../geo_view.h:27, from drgeo_control.h:29: ./drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': ./drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ ./drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': ./drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ ./drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': ./drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ ./drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': ./drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_figure.h:37, from drgeo_control.h:30: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from drgeo_menu.cc:28: ../drgenius_mdi.h: At global scope: ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ drgeo_menu.cc: In constructor 'drgeoMenu::drgeoMenu(geoView*)': drgeo_menu.cc:54:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 54 | fetchWidgetParent (xml,&p_popupMenu, "geoMenu", | ^~~~~~~~~ drgeo_menu.cc:57:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 57 | "zoom200Item", (gpointer) this); | ^~~~~~~~~~~~~ drgeo_menu.cc:59:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 59 | "zoom175Item", (gpointer) this); | ^~~~~~~~~~~~~ drgeo_menu.cc:61:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 61 | "zoom150Item", (gpointer) this); | ^~~~~~~~~~~~~ drgeo_menu.cc:63:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 63 | "zoom125Item", (gpointer) this); | ^~~~~~~~~~~~~ drgeo_menu.cc:65:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 65 | "zoom100Item", (gpointer) this); | ^~~~~~~~~~~~~ drgeo_menu.cc:67:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 67 | "zoom75Item", (gpointer) this); | ^~~~~~~~~~~~ drgeo_menu.cc:69:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 69 | "zoom50Item", (gpointer) this); | ^~~~~~~~~~~~ drgeo_menu.cc:71:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 71 | "zoom25Item", (gpointer) this); | ^~~~~~~~~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ drgeo_menu.cc: In member function 'drgeoMenu::setZoomFactor(drgeoZoomFactor)': /usr/include/glib-2.0/gobject/gtype.h:2505:48: warning: 'activeZoom' may be used uninitialized [-Wmaybe-uninitialized] 2505 | ((ct*) (void *) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_menu.cc:97:14: note: 'activeZoom' was declared here 97 | GtkWidget *activeZoom; | ^~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_dialog.o `test -f 'drgeo_dialog.cc' || echo './'`drgeo_dialog.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_toolbar.h:26, from drgeo_toolbar.cc:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from ../geo_view.h:27, from drgeo_control.h:29, from drgeo_toolbar.h:28: ./drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': ./drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ ./drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': ./drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ ./drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': ./drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ ./drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': ./drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_figure.h:37, from drgeo_control.h:30: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_toolbar.cc: In constructor 'drgeoToolbar::drgeoToolbar(geoView*)': drgeo_toolbar.cc:42:38: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 42 | fetchWidgetParent (xml,&p_toolbar, "menuBar", | ^~~~~~~~~ drgeo_toolbar.cc:44:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 44 | fetchWidgetParent (xml,&p_zoomEntry, "zoomEntry", | ^~~~~~~~~~~ drgeo_toolbar.cc:54:42: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 54 | fetchWidgetParent (xml,&p_shortcutBar, "shortcutBar", | ^~~~~~~~~~~~~ drgeo_toolbar.cc:63:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 63 | fetchWidgetParent (xml,&p_pointBar, "pointBar", | ^~~~~~~~~~ drgeo_toolbar.cc:72:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 72 | fetchWidgetParent (xml,&p_curveBar, "curveBar", | ^~~~~~~~~~ drgeo_toolbar.cc:80:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 80 | "transformationBar", | ^~~~~~~~~~~~~~~~~~~ drgeo_toolbar.cc:87:41: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 87 | fetchWidgetParent (xml,&p_numericBar, "numericBar", | ^~~~~~~~~~~~ drgeo_toolbar.cc:94:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 94 | fetchWidgetParent (xml,&p_macroBar, "macroBar", | ^~~~~~~~~~ drgeo_toolbar.cc:101:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 101 | fetchWidgetParent (xml,&p_otherBar, "otherBar", | ^~~~~~~~~~ drgeo_toolbar.cc: In function 'void on_zoom_valeur_changed(GtkEditable*, gpointer)': drgeo_toolbar.cc:308:16: warning: variable 'figure' set but not used [-Wunused-but-set-variable] 308 | drgeoFigure *figure; | ^~~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_dialog.cc:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35, from drgeo_dialog.h:26, from drgeo_dialog.cc:27: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_type.o `test -f 'drgeo_type.cc' || echo './'`drgeo_type.cc In file included from drgeo_figure.h:37: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from drgeo_dialog.cc:31: ../drgenius_mdi.h: At global scope: ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ In file included from drgeo_figure.h:39: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ drgeo_dialog.cc:39:21: warning: 'selected_figure' defined but not used [-Wunused-variable] 39 | static drgeoFigure *selected_figure; | ^~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o xml.o `test -f 'xml.cc' || echo './'`xml.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_drgeoVector.o `test -f 'drgeo_drgeoVector.cc' || echo './'`drgeo_drgeoVector.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_geometricObject.o `test -f 'drgeo_geometricObject.cc' || echo './'`drgeo_geometricObject.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_point.o `test -f 'drgeo_point.cc' || echo './'`drgeo_point.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_geometricObject.cc:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ drgeo_geometricObject.cc: At global scope: drgeo_geometricObject.cc:31:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | "Black", "DarkGrey", "Grey", "White", "DarkGreen", "Green", "DarkBlue", | ^~~~~~~ drgeo_geometricObject.cc:31:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | "Black", "DarkGrey", "Grey", "White", "DarkGreen", "Green", "DarkBlue", | ^~~~~~~~~~ drgeo_geometricObject.cc:31:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | "Black", "DarkGrey", "Grey", "White", "DarkGreen", "Green", "DarkBlue", | ^~~~~~ drgeo_geometricObject.cc:31:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | "Black", "DarkGrey", "Grey", "White", "DarkGreen", "Green", "DarkBlue", | ^~~~~~~ drgeo_geometricObject.cc:31:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | "Black", "DarkGrey", "Grey", "White", "DarkGreen", "Green", "DarkBlue", | ^~~~~~~~~~~ drgeo_geometricObject.cc:31:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | "Black", "DarkGrey", "Grey", "White", "DarkGreen", "Green", "DarkBlue", | ^~~~~~~ drgeo_geometricObject.cc:31:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 31 | "Black", "DarkGrey", "Grey", "White", "DarkGreen", "Green", "DarkBlue", | ^~~~~~~~~~ drgeo_geometricObject.cc:32:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 32 | "Blue", | ^~~~~~ drgeo_geometricObject.cc:33:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | "Bordeaux", "Red", "Orange", "Yellow" | ^~~~~~~~~~ drgeo_geometricObject.cc:33:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | "Bordeaux", "Red", "Orange", "Yellow" | ^~~~~ drgeo_geometricObject.cc:33:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | "Bordeaux", "Red", "Orange", "Yellow" | ^~~~~~~~ drgeo_geometricObject.cc:33:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | "Bordeaux", "Red", "Orange", "Yellow" | ^~~~~~~~ drgeo_geometricObject.cc:36:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | static char *thicknessName[3] = { "Dashed", "Normal", "Thick" }; | ^~~~~~~~ drgeo_geometricObject.cc:36:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | static char *thicknessName[3] = { "Dashed", "Normal", "Thick" }; | ^~~~~~~~ drgeo_geometricObject.cc:36:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | static char *thicknessName[3] = { "Dashed", "Normal", "Thick" }; | ^~~~~~~ drgeo_geometricObject.cc:38:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | { "Round", "Cross", "Rectangular", "RoundEmpty", "RectangularEmpty" }; | ^~~~~~~ drgeo_geometricObject.cc:38:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | { "Round", "Cross", "Rectangular", "RoundEmpty", "RectangularEmpty" }; | ^~~~~~~ drgeo_geometricObject.cc:38:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | { "Round", "Cross", "Rectangular", "RoundEmpty", "RectangularEmpty" }; | ^~~~~~~~~~~~~ drgeo_geometricObject.cc:38:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | { "Round", "Cross", "Rectangular", "RoundEmpty", "RectangularEmpty" }; | ^~~~~~~~~~~~ drgeo_geometricObject.cc:38:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | { "Round", "Cross", "Rectangular", "RoundEmpty", "RectangularEmpty" }; | ^~~~~~~~~~~~~~~~~~ drgeo_geometricObject.cc: In destructor 'virtual geometricObject::~geometricObject()': drgeo_geometricObject.cc:176:8: warning: unused variable 'nb' [-Wunused-variable] 176 | gint nb; | ^~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_point.h:27, from drgeo_point.cc:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from drgeo_geometricObject.cc:28: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_geometricObject.cc: In member function 'drgeoThicknessType geometricObject::preferedThickness(gchar*)': drgeo_geometricObject.cc:392:1: warning: control reaches end of non-void function [-Wreturn-type] 392 | } | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_point.cc:30: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_point.cc: In constructor 'point::point(drgeoVector&, liste_elem&, pointType, gboolean, liste_elem*)': drgeo_point.cc:36:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 36 | style.color = preferedColor (":pointColor"); | ^~~~~~~~~~~~~ drgeo_point.cc:37:37: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 37 | style.pointShape = preferedShape (":pointShape"); | ^~~~~~~~~~~~~ drgeo_point.cc:38:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 38 | style.thick = preferedThickness (":pointSize"); | ^~~~~~~~~~~~ drgeo_point.cc: In constructor 'point::point(gdouble, liste_elem&, gboolean, liste_elem*)': drgeo_point.cc:65:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 65 | style.color = preferedColor (":pointColor"); | ^~~~~~~~~~~~~ drgeo_point.cc:66:37: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 66 | style.pointShape = preferedShape (":pointShape"); | ^~~~~~~~~~~~~ drgeo_point.cc:67:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 67 | style.thick = preferedThickness (":pointSize"); | ^~~~~~~~~~~~ drgeo_point.cc: In constructor 'point::point(liste_elem&, pointType, gboolean, liste_elem*, gint)': drgeo_point.cc:86:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 86 | style.color = preferedColor (":pointColor"); | ^~~~~~~~~~~~~ drgeo_point.cc:87:37: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 87 | style.pointShape = preferedShape (":pointShape"); | ^~~~~~~~~~~~~ drgeo_point.cc:88:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 88 | style.thick = preferedThickness (":pointSize"); | ^~~~~~~~~~~~ drgeo_point.cc:92:10: warning: enumeration value 'FREE' not handled in switch [-Wswitch] 92 | switch (type) | ^ drgeo_point.cc:92:10: warning: enumeration value 'ON_CURVE' not handled in switch [-Wswitch] drgeo_point.cc:94:5: warning: case value '1' not in enumerated type 'pointType' [-Wswitch] 94 | case ROTATION: | ^~~~ drgeo_point.cc:110:5: warning: case value '2' not in enumerated type 'pointType' [-Wswitch] 110 | case SYMMETRY: | ^~~~ drgeo_point.cc:121:5: warning: case value '4' not in enumerated type 'pointType' [-Wswitch] 121 | case REFLEXION: | ^~~~ drgeo_point.cc:132:5: warning: case value '8' not in enumerated type 'pointType' [-Wswitch] 132 | case TRANSLATION: | ^~~~ drgeo_point.cc:95:5: warning: case value '16' not in enumerated type 'pointType' [-Wswitch] 95 | case SCALE: | ^~~~ drgeo_point.cc: In member function 'virtual void point::save(xmlNodePtr, liste_elem&)': drgeo_point.cc:309:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 309 | save_attribute (item, this, "Rotation"); | ^~~~~~~~~~ drgeo_point.cc:312:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 312 | save_attribute (item, this, "Scale"); | ^~~~~~~ drgeo_point.cc:315:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 315 | save_attribute (item, this, "Symmetry"); | ^~~~~~~~~~ drgeo_point.cc:318:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 318 | save_attribute (item, this, "Reflexion"); | ^~~~~~~~~~~ drgeo_point.cc:321:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 321 | save_attribute (item, this, "Translation"); | ^~~~~~~~~~~~~ drgeo_point.cc:324:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 324 | save_attribute (item, this, "Coordinate"); | ^~~~~~~~~~~~ drgeo_point.cc:327:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 327 | save_attribute (item, this, "Intersection"); | ^~~~~~~~~~~~~~ drgeo_point.cc:334:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 334 | save_attribute (item, this, "Middle_segment"); | ^~~~~~~~~~~~~~~~ drgeo_point.cc:337:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 337 | save_attribute (item, this, "Middle_2pts"); | ^~~~~~~~~~~~~ drgeo_point.cc:351:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 351 | save_attribute (item, this, "Free"); | ^~~~~~ drgeo_point.cc:361:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 361 | save_attribute (item, this, "On_curve"); | ^~~~~~~~~~ drgeo_point.cc:348:18: warning: variable 'subitem' set but not used [-Wunused-but-set-variable] 348 | xmlNodePtr subitem; | ^~~~~~~ drgeo_point.cc: In member function 'virtual void point::initName()': drgeo_point.cc:487:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 487 | strinsmsg (typeName, name, "%1"); | ^~~~ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_point.cc: In member function 'drgeoPointType point::preferedShape(gchar*)': drgeo_point.cc:559:1: warning: control reaches end of non-void function [-Wreturn-type] 559 | } | ^ drgeo_geometricObject.cc: In function 'strinsmsg(char*, char*, char*)': drgeo_geometricObject.cc:423:15: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 423 | strncpy (ins, msg, strlen (msg)); | ^ drgeo_geometricObject.cc:423:15: note: length computed here 423 | strncpy (ins, msg, strlen (msg)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_repere.o `test -f 'drgeo_repere.cc' || echo './'`drgeo_repere.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_direction.o `test -f 'drgeo_direction.cc' || echo './'`drgeo_direction.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_repere.h:27, from drgeo_repere.cc:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_direction.h:27, from drgeo_direction.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from drgeo_repere.cc:29: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_repere.cc: In member function 'virtual void repere::initName()': drgeo_repere.cc:162:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 162 | strinsmsg (typeName, name, "%1"); | ^~~~ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ drgeo_direction.cc: In constructor 'direction::direction(liste_elem&, transformationType, gboolean, liste_elem*)': drgeo_direction.cc:32:10: warning: enumeration value 'TRANSFORMATION' not handled in switch [-Wswitch] 32 | switch (type) | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_vector.o `test -f 'drgeo_vector.cc' || echo './'`drgeo_vector.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_buildObject.o `test -f 'drgeo_buildObject.cc' || echo './'`drgeo_buildObject.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_figure.h:27, from drgeo_buildObject.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_direction.h:27, from drgeo_vector.h:27, from drgeo_vector.cc:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from drgeo_figure.h:37: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_vector.cc:31: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_vector.cc: In constructor 'vector::vector(liste_elem&, vectorType, gboolean, liste_elem*)': drgeo_vector.cc:36:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 36 | style.color = preferedColor (":vectorColor"); | ^~~~~~~~~~~~~~ drgeo_vector.cc:37:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 37 | style.thick = preferedThickness (":vectorStyle"); | ^~~~~~~~~~~~~~ drgeo_vector.cc: In member function 'virtual void vector::initName()': drgeo_vector.cc:189:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 189 | strinsmsg (typeName, name, "%1"); | ^~~~ drgeo_vector.cc: In member function 'virtual void vector::save(xmlNodePtr, liste_elem&)': drgeo_vector.cc:204:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 204 | save_attribute (item, this, "Rotation"); | ^~~~~~~~~~ drgeo_vector.cc:207:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 207 | save_attribute (item, this, "Scale"); | ^~~~~~~ drgeo_vector.cc:210:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 210 | save_attribute (item, this, "Symmetry"); | ^~~~~~~~~~ drgeo_vector.cc:213:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 213 | save_attribute (item, this, "Reflexion"); | ^~~~~~~~~~~ drgeo_vector.cc:216:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 216 | save_attribute (item, this, "Translation"); | ^~~~~~~~~~~~~ drgeo_vector.cc:219:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 219 | save_attribute (item, this, "2pts"); | ^~~~~~ drgeo_vector.cc:195:20: warning: variable 'subitem' set but not used [-Wunused-but-set-variable] 195 | xmlNodePtr item, subitem; | ^~~~~~~ drgeo_buildObject.cc: In function 'buildMiddlePoint(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:78:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 78 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:60:20: note: 'item' was declared here 60 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildCoordinatePoint(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:132:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 132 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:119:20: note: 'item' was declared here 119 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildLine(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:155:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 155 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:142:20: note: 'item' was declared here 142 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildHalfLine(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:178:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 178 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:165:20: note: 'item' was declared here 165 | geometricObject *item; | ^~~~ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_buildObject.cc: In function 'buildSegment(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:201:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 201 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:188:20: note: 'item' was declared here 188 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildCircle(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:255:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 255 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:232:20: note: 'item' was declared here 232 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildArcCircle(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:278:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 278 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:265:20: note: 'item' was declared here 265 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildLocus(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:300:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 300 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:288:20: note: 'item' was declared here 288 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildPolygon(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:323:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 323 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:310:20: note: 'item' was declared here 310 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildParallelLine(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:346:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 346 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:333:20: note: 'item' was declared here 333 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildOrthogonalLine(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:369:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 369 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:356:20: note: 'item' was declared here 356 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildReflexion(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:428:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 428 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:379:20: note: 'item' was declared here 379 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildSymmetry(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:487:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 487 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:438:20: note: 'item' was declared here 438 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildTranslation(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:541:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 541 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:497:20: note: 'item' was declared here 497 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildRotation(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:600:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 600 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:551:20: note: 'item' was declared here 551 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildScale(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:659:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 659 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:610:20: note: 'item' was declared here 610 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildNumeric(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:718:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 718 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:669:20: note: 'item' was declared here 669 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildAngle(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:747:29: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 747 | if (figure->doesItemExist (item)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ drgeo_buildObject.cc:728:20: note: 'item' was declared here 728 | geometricObject *item; | ^~~~ drgeo_buildObject.cc: In function 'buildScript(int, drgeoVector&, drgeoFigure*)': drgeo_buildObject.cc:843:25: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 843 | build = g_list_append (build, (gpointer) item); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ drgeo_buildObject.cc:823:20: note: 'item' was declared here 823 | geometricObject *item; | ^~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_line.o `test -f 'drgeo_line.cc' || echo './'`drgeo_line.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_halfLine.o `test -f 'drgeo_halfLine.cc' || echo './'`drgeo_halfLine.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_direction.h:27, from drgeo_line.h:27, from drgeo_line.cc:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_direction.h:27, from drgeo_halfLine.h:27, from drgeo_halfLine.cc:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_line.cc:30: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_line.cc: In constructor 'line::line(liste_elem&, lineType, gboolean, liste_elem*)': drgeo_line.cc:35:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 35 | style.color = preferedColor (":lineColor"); | ^~~~~~~~~~~~ drgeo_line.cc:36:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 36 | style.thick = preferedThickness (":lineStyle"); | ^~~~~~~~~~~~ drgeo_line.cc: In member function 'virtual void line::initName()': drgeo_line.cc:221:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 221 | strinsmsg (typeName, name, "%1"); | ^~~~ drgeo_line.cc: In member function 'virtual void line::save(xmlNodePtr, liste_elem&)': drgeo_line.cc:236:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 236 | save_attribute (item, this, "Rotation"); | ^~~~~~~~~~ drgeo_line.cc:239:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 239 | save_attribute (item, this, "Scale"); | ^~~~~~~ drgeo_line.cc:242:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 242 | save_attribute (item, this, "Symmetry"); | ^~~~~~~~~~ drgeo_line.cc:245:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 245 | save_attribute (item, this, "Reflexion"); | ^~~~~~~~~~~ drgeo_line.cc:248:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 248 | save_attribute (item, this, "Translation"); | ^~~~~~~~~~~~~ drgeo_line.cc:251:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 251 | save_attribute (item, this, "2pts"); | ^~~~~~ drgeo_line.cc:254:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 254 | save_attribute (item, this, "pt_slope"); | ^~~~~~~~~~ drgeo_line.cc:257:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 257 | save_attribute (item, this, "parallel"); | ^~~~~~~~~~ drgeo_line.cc:260:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 260 | save_attribute (item, this, "perpendicular"); | ^~~~~~~~~~~~~~~ drgeo_line.cc: In member function 'virtual gboolean line::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_line.cc:390:10: warning: enumeration value 'NO_OBJECT' not handled in switch [-Wswitch] 390 | switch (c.getCategory ()) | ^ drgeo_line.cc:390:10: warning: enumeration value 'CONSTRAINED_PT' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'FREE_PT' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'FREE_PT_ON_CURVE' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'VECTOR' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'REPERE' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'ANGLE' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'NUMERIC' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'EQUATION' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'POLYGON' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'SCRIPT' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'POINT' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'DIRECTION' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'CURVE' not handled in switch [-Wswitch] drgeo_line.cc:390:10: warning: enumeration value 'VALUE' not handled in switch [-Wswitch] In file included from drgeo_halfLine.cc:30: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_halfLine.cc: In constructor 'halfLine::halfLine(liste_elem&, halfLineType, gboolean, liste_elem*)': drgeo_halfLine.cc:35:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 35 | style.color = preferedColor (":halfLineColor"); | ^~~~~~~~~~~~~~~~ drgeo_halfLine.cc:36:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 36 | style.thick = preferedThickness (":halfLineStyle"); | ^~~~~~~~~~~~~~~~ drgeo_halfLine.cc: In member function 'virtual void halfLine::initName()': drgeo_halfLine.cc:171:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 171 | strinsmsg (typeName, name, "%1"); | ^~~~ drgeo_halfLine.cc: In member function 'virtual void halfLine::save(xmlNodePtr, liste_elem&)': drgeo_halfLine.cc:185:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 185 | save_attribute (item, this, "Rotation"); | ^~~~~~~~~~ drgeo_halfLine.cc:188:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 188 | save_attribute (item, this, "Scale"); | ^~~~~~~ drgeo_halfLine.cc:191:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 191 | save_attribute (item, this, "Symmetry"); | ^~~~~~~~~~ drgeo_halfLine.cc:194:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 194 | save_attribute (item, this, "Reflexion"); | ^~~~~~~~~~~ drgeo_halfLine.cc:197:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 197 | save_attribute (item, this, "Translation"); | ^~~~~~~~~~~~~ drgeo_halfLine.cc:200:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 200 | save_attribute (item, this, "2pts"); | ^~~~~~ drgeo_halfLine.cc: In member function 'virtual gboolean halfLine::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_halfLine.cc:314:10: warning: enumeration value 'NO_OBJECT' not handled in switch [-Wswitch] 314 | switch (c.getCategory ()) | ^ drgeo_halfLine.cc:314:10: warning: enumeration value 'CONSTRAINED_PT' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'FREE_PT' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'FREE_PT_ON_CURVE' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'VECTOR' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'LOCUS' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'REPERE' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'ANGLE' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'NUMERIC' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'EQUATION' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'POLYGON' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'SCRIPT' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'POINT' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'DIRECTION' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'CURVE' not handled in switch [-Wswitch] drgeo_halfLine.cc:314:10: warning: enumeration value 'VALUE' not handled in switch [-Wswitch] In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_line.cc: In member function 'virtual gboolean line::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_line.cc:408:1: warning: control reaches end of non-void function [-Wreturn-type] 408 | } | ^ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_halfLine.cc: In member function 'virtual gboolean halfLine::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_halfLine.cc:334:1: warning: control reaches end of non-void function [-Wreturn-type] 334 | } | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_segment.o `test -f 'drgeo_segment.cc' || echo './'`drgeo_segment.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_circle.o `test -f 'drgeo_circle.cc' || echo './'`drgeo_circle.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_circle.h:27, from drgeo_circle.cc:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_direction.h:27, from drgeo_segment.h:27, from drgeo_segment.cc:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_circle.cc:33: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_circle.cc: In constructor 'circle::circle(liste_elem&, circleType, gboolean, liste_elem*)': drgeo_circle.cc:38:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 38 | style.color = preferedColor (":circleColor"); | ^~~~~~~~~~~~~~ drgeo_circle.cc:39:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 39 | style.thick = preferedThickness (":circleStyle"); | ^~~~~~~~~~~~~~ drgeo_circle.cc:45:5: warning: case value '1' not in enumerated type 'circleType' [-Wswitch] 45 | case ROTATION: | ^~~~ drgeo_circle.cc:60:5: warning: case value '2' not in enumerated type 'circleType' [-Wswitch] 60 | case SYMMETRY: | ^~~~ drgeo_circle.cc:71:5: warning: case value '4' not in enumerated type 'circleType' [-Wswitch] 71 | case REFLEXION: | ^~~~ drgeo_circle.cc:82:5: warning: case value '8' not in enumerated type 'circleType' [-Wswitch] 82 | case TRANSLATION: | ^~~~ drgeo_circle.cc:46:5: warning: case value '16' not in enumerated type 'circleType' [-Wswitch] 46 | case SCALE: | ^~~~ drgeo_circle.cc: In member function 'virtual void circle::initName()': drgeo_circle.cc:263:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 263 | strinsmsg (typeName, name, "%1"); | ^~~~ drgeo_circle.cc: In member function 'virtual void circle::save(xmlNodePtr, liste_elem&)': drgeo_circle.cc:277:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 277 | save_attribute (item, this, "Rotation"); | ^~~~~~~~~~ drgeo_circle.cc:280:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 280 | save_attribute (item, this, "Scale"); | ^~~~~~~ drgeo_circle.cc:283:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 283 | save_attribute (item, this, "Symmetry"); | ^~~~~~~~~~ drgeo_circle.cc:286:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 286 | save_attribute (item, this, "Reflexion"); | ^~~~~~~~~~~ drgeo_circle.cc:289:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 289 | save_attribute (item, this, "Translation"); | ^~~~~~~~~~~~~ drgeo_circle.cc:292:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 292 | save_attribute (item, this, "2pts"); | ^~~~~~ drgeo_circle.cc:295:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 295 | save_attribute (item, this, "segment"); | ^~~~~~~~~ drgeo_circle.cc:298:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 298 | save_attribute (item, this, "radius"); | ^~~~~~~~ In file included from drgeo_segment.cc:30: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_circle.cc: In member function 'virtual gboolean circle::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_circle.cc:426:10: warning: enumeration value 'NO_OBJECT' not handled in switch [-Wswitch] 426 | switch (c.getCategory ()) | ^ drgeo_circle.cc:426:10: warning: enumeration value 'CONSTRAINED_PT' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'FREE_PT' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'FREE_PT_ON_CURVE' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'VECTOR' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'LOCUS' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'REPERE' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'ANGLE' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'NUMERIC' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'EQUATION' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'POLYGON' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'SCRIPT' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'POINT' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'DIRECTION' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'CURVE' not handled in switch [-Wswitch] drgeo_circle.cc:426:10: warning: enumeration value 'VALUE' not handled in switch [-Wswitch] drgeo_segment.cc: In constructor 'segment::segment(liste_elem&, segmentType, gboolean, liste_elem*)': drgeo_segment.cc:35:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 35 | style.color = preferedColor (":segmentColor"); | ^~~~~~~~~~~~~~~ drgeo_segment.cc:36:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 36 | style.thick = preferedThickness (":segmentStyle"); | ^~~~~~~~~~~~~~~ drgeo_segment.cc: In member function 'virtual void segment::initName()': drgeo_segment.cc:172:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 172 | strinsmsg (typeName, name, "%1"); | ^~~~ drgeo_segment.cc: In member function 'virtual void segment::save(xmlNodePtr, liste_elem&)': drgeo_segment.cc:186:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 186 | save_attribute (item, this, "Rotation"); | ^~~~~~~~~~ drgeo_segment.cc:189:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 189 | save_attribute (item, this, "Scale"); | ^~~~~~~ drgeo_segment.cc:192:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 192 | save_attribute (item, this, "Symmetry"); | ^~~~~~~~~~ drgeo_segment.cc:195:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 195 | save_attribute (item, this, "Reflexion"); | ^~~~~~~~~~~ drgeo_segment.cc:198:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 198 | save_attribute (item, this, "Translation"); | ^~~~~~~~~~~~~ drgeo_segment.cc:201:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 201 | save_attribute (item, this, "2pts"); | ^~~~~~ drgeo_segment.cc: In member function 'virtual gboolean segment::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_segment.cc:300:10: warning: enumeration value 'NO_OBJECT' not handled in switch [-Wswitch] 300 | switch (c.getCategory ()) | ^ drgeo_segment.cc:300:10: warning: enumeration value 'CONSTRAINED_PT' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'FREE_PT' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'FREE_PT_ON_CURVE' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'VECTOR' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'LOCUS' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'REPERE' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'ANGLE' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'NUMERIC' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'EQUATION' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'POLYGON' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'SCRIPT' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'POINT' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'DIRECTION' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'CURVE' not handled in switch [-Wswitch] drgeo_segment.cc:300:10: warning: enumeration value 'VALUE' not handled in switch [-Wswitch] In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_circle.cc: In member function 'virtual gboolean circle::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_circle.cc:460:1: warning: control reaches end of non-void function [-Wreturn-type] 460 | } | ^ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_segment.cc: In member function 'virtual gboolean segment::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_segment.cc:318:1: warning: control reaches end of non-void function [-Wreturn-type] 318 | } | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_arcCircle.o `test -f 'drgeo_arcCircle.cc' || echo './'`drgeo_arcCircle.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_value.o `test -f 'drgeo_value.cc' || echo './'`drgeo_value.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_string.h:27, from drgeo_value.h:27, from drgeo_value.cc:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_arcCircle.h:27, from drgeo_arcCircle.cc:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_value.cc:26: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_angle.o `test -f 'drgeo_angle.cc' || echo './'`drgeo_angle.cc In file included from drgeo_arcCircle.cc:33: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_arcCircle.cc: In constructor 'arcCircle::arcCircle(liste_elem&, arcCircleType, gboolean, liste_elem*)': drgeo_arcCircle.cc:39:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 39 | style.color = preferedColor (":arcCircleColor"); | ^~~~~~~~~~~~~~~~~ drgeo_arcCircle.cc:40:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 40 | style.thick = preferedThickness (":arcCircleStyle"); | ^~~~~~~~~~~~~~~~~ drgeo_arcCircle.cc:46:5: warning: case value '1' not in enumerated type 'arcCircleType' [-Wswitch] 46 | case ROTATION: | ^~~~ drgeo_arcCircle.cc:62:5: warning: case value '2' not in enumerated type 'arcCircleType' [-Wswitch] 62 | case SYMMETRY: | ^~~~ drgeo_arcCircle.cc:73:5: warning: case value '4' not in enumerated type 'arcCircleType' [-Wswitch] 73 | case REFLEXION: | ^~~~ drgeo_arcCircle.cc:84:5: warning: case value '8' not in enumerated type 'arcCircleType' [-Wswitch] 84 | case TRANSLATION: | ^~~~ drgeo_arcCircle.cc:47:5: warning: case value '16' not in enumerated type 'arcCircleType' [-Wswitch] 47 | case SCALE: | ^~~~ drgeo_arcCircle.cc: In member function 'virtual void arcCircle::initName()': drgeo_arcCircle.cc:287:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 287 | strinsmsg (typeName, name, "%1"); | ^~~~ drgeo_arcCircle.cc: In member function 'virtual void arcCircle::save(xmlNodePtr, liste_elem&)': drgeo_arcCircle.cc:301:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 301 | save_attribute (item, this, "Rotation"); | ^~~~~~~~~~ drgeo_arcCircle.cc:304:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 304 | save_attribute (item, this, "Scale"); | ^~~~~~~ drgeo_arcCircle.cc:307:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 307 | save_attribute (item, this, "Symmetry"); | ^~~~~~~~~~ drgeo_arcCircle.cc:310:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 310 | save_attribute (item, this, "Reflexion"); | ^~~~~~~~~~~ drgeo_arcCircle.cc:313:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 313 | save_attribute (item, this, "Translation"); | ^~~~~~~~~~~~~ drgeo_arcCircle.cc:316:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 316 | save_attribute (item, this, "3pts"); | ^~~~~~ drgeo_arcCircle.cc: In member function 'virtual drgeoVector& arcCircle::getClosestPoint(drgeoVector&)': drgeo_arcCircle.cc:442:1: warning: no return statement in function returning non-void [-Wreturn-type] 442 | } | ^ drgeo_arcCircle.cc: In member function 'virtual gboolean arcCircle::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_arcCircle.cc:473:10: warning: enumeration value 'NO_OBJECT' not handled in switch [-Wswitch] 473 | switch (c.getCategory ()) | ^ drgeo_arcCircle.cc:473:10: warning: enumeration value 'CONSTRAINED_PT' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'FREE_PT' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'FREE_PT_ON_CURVE' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'VECTOR' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'LOCUS' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'REPERE' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'ANGLE' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'NUMERIC' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'EQUATION' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'POLYGON' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'SCRIPT' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'POINT' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'DIRECTION' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'CURVE' not handled in switch [-Wswitch] drgeo_arcCircle.cc:473:10: warning: enumeration value 'VALUE' not handled in switch [-Wswitch] In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgeo_arcCircle.cc: In member function 'virtual gboolean arcCircle::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_arcCircle.cc:522:1: warning: control reaches end of non-void function [-Wreturn-type] 522 | } | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_numeric.o `test -f 'drgeo_numeric.cc' || echo './'`drgeo_numeric.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_string.h:27, from drgeo_value.h:27, from drgeo_angle.h:27, from drgeo_angle.cc:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_angle.cc:32: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_angle.cc: In constructor 'angle::angle(drgeoVector&, liste_elem&, angleType, gboolean, liste_elem*)': drgeo_angle.cc:37:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 37 | style.color = preferedColor (":angleColor"); | ^~~~~~~~~~~~~ drgeo_angle.cc:38:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 38 | style.thick = preferedThickness (":angleStyle"); | ^~~~~~~~~~~~~ drgeo_angle.cc: In constructor 'angle::angle(xmlNodePtr, GHashTable*, liste_elem*)': drgeo_angle.cc:64:10: warning: unused variable 'aval' [-Wunused-variable] 64 | double aval = 0; | ^~~~ drgeo_angle.cc: In member function 'virtual void angle::initName()': drgeo_angle.cc:242:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 242 | strinsmsg (typeName, name, "%1"); | ^~~~ drgeo_angle.cc: In member function 'virtual void angle::save(xmlNodePtr, liste_elem&)': drgeo_angle.cc:257:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 257 | save_attribute (item, this, "3pts"); | ^~~~~~ drgeo_angle.cc:260:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 260 | save_attribute (item, this, "vectors"); | ^~~~~~~~~ drgeo_angle.cc:248:20: warning: variable 'subitem' set but not used [-Wunused-but-set-variable] 248 | xmlNodePtr item, subitem; | ^~~~~~~ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_string.o `test -f 'drgeo_string.cc' || echo './'`drgeo_string.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_string.h:27, from drgeo_value.h:27, from drgeo_numeric.h:27, from drgeo_numeric.cc:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_numeric.cc:34: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_numeric.cc: In constructor 'numeric::numeric(drgeoVector&, liste_elem&, numericType, gboolean, liste_elem*)': drgeo_numeric.cc:41:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 41 | style.color = preferedColor (":scalarColor"); | ^~~~~~~~~~~~~~ drgeo_numeric.cc:46:10: warning: enumeration value 'FREE_VALUE' not handled in switch [-Wswitch] 46 | switch (type) | ^ drgeo_numeric.cc: In constructor 'numeric::numeric(drgeoVector&, gdouble, numericType, gboolean)': drgeo_numeric.cc:96:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 96 | style.color = preferedColor (":scalarColor"); | ^~~~~~~~~~~~~~ drgeo_numeric.cc:100:10: warning: enumeration value 'SEGMENT_LENGTH' not handled in switch [-Wswitch] 100 | switch (type) | ^ drgeo_numeric.cc:100:10: warning: enumeration value 'VECTOR_NORM' not handled in switch [-Wswitch] drgeo_numeric.cc:100:10: warning: enumeration value 'DISTANCE_2PTS' not handled in switch [-Wswitch] drgeo_numeric.cc:100:10: warning: enumeration value 'DISTANCE_PT_CIRCLE' not handled in switch [-Wswitch] drgeo_numeric.cc:100:10: warning: enumeration value 'DISTANCE_PT_LINE' not handled in switch [-Wswitch] drgeo_numeric.cc:100:10: warning: enumeration value 'CIRCLE_PERIMETER' not handled in switch [-Wswitch] drgeo_numeric.cc:100:10: warning: enumeration value 'LINE_SLOPE' not handled in switch [-Wswitch] drgeo_numeric.cc:100:10: warning: enumeration value 'ARC_CIRCLE_LENGTH' not handled in switch [-Wswitch] drgeo_numeric.cc:100:10: warning: enumeration value 'POINT_ABSCISSA' not handled in switch [-Wswitch] drgeo_numeric.cc:100:10: warning: enumeration value 'POINT_ORDINATE' not handled in switch [-Wswitch] drgeo_numeric.cc:100:10: warning: enumeration value 'VECTOR_ABSCISSA' not handled in switch [-Wswitch] drgeo_numeric.cc:100:10: warning: enumeration value 'VECTOR_ORDINATE' not handled in switch [-Wswitch] drgeo_numeric.cc: In member function 'virtual void numeric::initName()': drgeo_numeric.cc:282:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 282 | strinsmsg (typeName, parentName, "%1"); | ^~~~ drgeo_numeric.cc:293:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 293 | strinsmsg (typeName, parentName, "%1"); | ^~~~ drgeo_numeric.cc:304:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 304 | strinsmsg (typeName, parentName, "%1"); | ^~~~ drgeo_numeric.cc:315:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 315 | strinsmsg (typeName, parentName, "%1"); | ^~~~ drgeo_numeric.cc:334:49: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 334 | strinsmsg (typeName, item0->getName (), "%1"); | ^~~~ drgeo_numeric.cc:336:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 336 | strinsmsg (typeName, vide, "%1"); | ^~~~ drgeo_numeric.cc:338:49: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 338 | strinsmsg (typeName, item1->getName (), "%2"); | ^~~~ drgeo_numeric.cc:340:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 340 | strinsmsg (typeName, vide, "%2"); | ^~~~ drgeo_numeric.cc:352:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 352 | strinsmsg (typeName, parentName, "%1"); | ^~~~ drgeo_numeric.cc:364:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 364 | strinsmsg (typeName, parentName, "%1"); | ^~~~ drgeo_numeric.cc: In member function 'virtual void numeric::save(xmlNodePtr, liste_elem&)': drgeo_numeric.cc:385:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 385 | save_attribute (item, this, "segment_length"); | ^~~~~~~~~~~~~~~~ drgeo_numeric.cc:388:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 388 | save_attribute (item, this, "vector_norm"); | ^~~~~~~~~~~~~ drgeo_numeric.cc:391:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 391 | save_attribute (item, this, "distance_2pts"); | ^~~~~~~~~~~~~~~ drgeo_numeric.cc:394:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 394 | save_attribute (item, this, "distance_pt_circle"); | ^~~~~~~~~~~~~~~~~~~~ drgeo_numeric.cc:397:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 397 | save_attribute (item, this, "distance_pt_line"); | ^~~~~~~~~~~~~~~~~~ drgeo_numeric.cc:400:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 400 | save_attribute (item, this, "circle_perimeter"); | ^~~~~~~~~~~~~~~~~~ drgeo_numeric.cc:403:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 403 | save_attribute (item, this, "slope"); | ^~~~~~~ drgeo_numeric.cc:406:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 406 | save_attribute (item, this, "arc_length"); | ^~~~~~~~~~~~ drgeo_numeric.cc:409:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 409 | save_attribute (item, this, "value"); | ^~~~~~~ drgeo_numeric.cc:415:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 415 | save_attribute (item, this, "pt_abscissa"); | ^~~~~~~~~~~~~ drgeo_numeric.cc:418:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 418 | save_attribute (item, this, "pt_ordinate"); | ^~~~~~~~~~~~~ drgeo_numeric.cc:421:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 421 | save_attribute (item, this, "vector_abscissa"); | ^~~~~~~~~~~~~~~~~ drgeo_numeric.cc:424:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 424 | save_attribute (item, this, "vector_ordinate"); | ^~~~~~~~~~~~~~~~~ drgeo_numeric.cc:376:20: warning: variable 'subitem' set but not used [-Wunused-but-set-variable] 376 | xmlNodePtr item, subitem; | ^~~~~~~ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_string.h:27, from drgeo_string.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_equation.o `test -f 'drgeo_equation.cc' || echo './'`drgeo_equation.cc In file included from drgeo_string.cc:25: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_locus.o `test -f 'drgeo_locus.cc' || echo './'`drgeo_locus.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_string.h:27, from drgeo_equation.h:27, from drgeo_equation.cc:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_locus.h:27, from drgeo_locus.cc:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from drgeo_equation.cc:28: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_equation.cc: In member function 'virtual void equation::initName()': drgeo_equation.cc:183:34: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 183 | strinsmsg (typeName, name, "%1"); | ^~~~ drgeo_equation.cc:163:9: warning: unused variable 'vide' [-Wunused-variable] 163 | gchar vide[1] = { 0 }; | ^~~~ drgeo_equation.cc: In member function 'virtual void equation::save(xmlNodePtr, liste_elem&)': drgeo_equation.cc:200:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 200 | save_attribute (item, this, "line"); | ^~~~~~ drgeo_equation.cc:203:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 203 | save_attribute (item, this, "circle"); | ^~~~~~~~ drgeo_equation.cc:191:20: warning: variable 'subitem' set but not used [-Wunused-but-set-variable] 191 | xmlNodePtr item, subitem; | ^~~~~~~ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_locus.cc:27: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_locus.cc: In constructor 'locus::locus(liste_elem&, gboolean, liste_elem*)': drgeo_locus.cc:42:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 42 | style.color = preferedColor (":locusColor"); | ^~~~~~~~~~~~~ drgeo_locus.cc:43:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 43 | style.thick = preferedThickness (":locusStyle"); | ^~~~~~~~~~~~~ drgeo_locus.cc: In member function 'virtual void locus::update(drgeoDrawable&)': drgeo_locus.cc:104:49: warning: unused variable 'd' [-Wunused-variable] 104 | gdouble x, x0, step, step0, stepMin, stepMax, d; | ^ drgeo_locus.cc: In member function 'virtual void locus::initName()': drgeo_locus.cc:315:51: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 315 | strinsmsg (typeName, constrained->getName (), "%1"); | ^~~~ drgeo_locus.cc:317:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 317 | strinsmsg (typeName, vide, "%1"); | ^~~~ drgeo_locus.cc:319:44: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 319 | strinsmsg (typeName, free->getName (), "%2"); | ^~~~ drgeo_locus.cc:321:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 321 | strinsmsg (typeName, vide, "%2"); | ^~~~ drgeo_locus.cc:323:45: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 323 | strinsmsg (typeName, curve->getName (), "%3"); | ^~~~ drgeo_locus.cc:325:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 325 | strinsmsg (typeName, vide, "%3"); | ^~~~ drgeo_locus.cc: In member function 'virtual void locus::save(xmlNodePtr, liste_elem&)': drgeo_locus.cc:336:31: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 336 | save_attribute (item, this, "None"); | ^~~~~~ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_command.o `test -f 'drgeo_command.cc' || echo './'`drgeo_command.cc g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_gtkstyle.o `test -f 'drgeo_gtkstyle.cc' || echo './'`drgeo_gtkstyle.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_command.h:27, from drgeo_command.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35, from drgeo_command.h:42: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_figure.h:37: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_command.cc: In constructor 'drgeoCreateItemCommand::drgeoCreateItemCommand(drgeoFigure*, geometricObject*)': drgeo_command.cc:191:49: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'gpointer' {aka 'void*'} [-Wformat=] 191 | g_printerr ("parent on hash with key %X\n", tmpkey); | ~^ ~~~~~~ | | | | | gpointer {aka void*} | unsigned int | %p drgeo_command.cc: In member function 'virtual void drgeoCreateItemCommand::execute()': drgeo_command.cc:227:58: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'geometricObject*' [-Wformat=] 227 | g_printerr ("First instantiation of item with key %X\n", item); | ~^ ~~~~ | | | | | geometricObject* | unsigned int In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from drgeo_gtkstyle.cc:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/libglade-2.0/glade/glade.h:25: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35, from drgeo_drawable.h:33, from drgeo_gtkstyle.h:29, from drgeo_gtkstyle.cc:27: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_gtkproperty.o `test -f 'drgeo_gtkproperty.cc' || echo './'`drgeo_gtkproperty.cc drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from drgeo_gtkstyle.cc:32: ../drgenius_mdi.h: At global scope: ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ drgeo_gtkstyle.cc: In function 'GtkWidget* connectAllColor(GladeXML*, drgeoGtkStyleDialog*)': drgeo_gtkstyle.cc:134:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 134 | connectWithData (xml, d, "black", | ^~~~~~~ drgeo_gtkstyle.cc:136:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 136 | connectWithData (xml, d, "darkgrey", | ^~~~~~~~~~ drgeo_gtkstyle.cc:138:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 138 | connectWithData (xml, d, "grey", | ^~~~~~ drgeo_gtkstyle.cc:140:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 140 | connectWithData (xml, d, "white", | ^~~~~~~ drgeo_gtkstyle.cc:142:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 142 | connectWithData (xml, d, "darkgreen", | ^~~~~~~~~~~ drgeo_gtkstyle.cc:144:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 144 | connectWithData (xml, d, "green", | ^~~~~~~ drgeo_gtkstyle.cc:146:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 146 | connectWithData (xml, d, "darkblue", | ^~~~~~~~~~ drgeo_gtkstyle.cc:148:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 148 | connectWithData (xml, d, "blue", | ^~~~~~ drgeo_gtkstyle.cc:150:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 150 | connectWithData (xml, d, "bordeaux", | ^~~~~~~~~~ drgeo_gtkstyle.cc:152:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 152 | connectWithData (xml, d, "red", GTK_SIGNAL_FUNC (style_color_button_cb), 9); | ^~~~~ drgeo_gtkstyle.cc:153:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 153 | connectWithData (xml, d, "orange", | ^~~~~~~~ drgeo_gtkstyle.cc:155:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 155 | connectWithData (xml, d, "yellow", | ^~~~~~~~ drgeo_gtkstyle.cc:157:1: warning: no return statement in function returning non-void [-Wreturn-type] 157 | } | ^ drgeo_gtkstyle.cc: In function 'void connectStyle(GladeXML*, drgeoGtkStyleDialog*)': drgeo_gtkstyle.cc:173:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 173 | connectWithData (xml, d, "dashed", | ^~~~~~~~ drgeo_gtkstyle.cc:175:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 175 | connectWithData (xml, d, "normal", | ^~~~~~~~ drgeo_gtkstyle.cc:177:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 177 | connectWithData (xml, d, "large", | ^~~~~~~ drgeo_gtkstyle.cc: In function 'void connectVisibility(GladeXML*, drgeoGtkStyleDialog*)': drgeo_gtkstyle.cc:185:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 185 | connectWithData (xml, d, "masked", | ^~~~~~~~ drgeo_gtkstyle.cc:187:28: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 187 | connectWithData (xml, d, "unmasked", | ^~~~~~~~~~ drgeo_gtkstyle.cc: In function 'void adjustColorDialog(GladeXML*, geometricObject*)': drgeo_gtkstyle.cc:197:10: warning: enumeration value 'drgeoColorTips' not handled in switch [-Wswitch] 197 | switch (item->getStyle ().color) | ^ drgeo_gtkstyle.cc:197:10: warning: enumeration value 'drgeoColorPrintingArea' not handled in switch [-Wswitch] drgeo_gtkstyle.cc:197:10: warning: enumeration value 'drgeoColorNumber' not handled in switch [-Wswitch] drgeo_gtkstyle.cc: In function 'void adjustVisibilityDialog(GladeXML*, geometricObject*)': drgeo_gtkstyle.cc:277:10: warning: enumeration value 'alway' not handled in switch [-Wswitch] 277 | switch (item->getStyle ().mask) | ^ drgeo_gtkstyle.cc: In member function 'virtual void drgeoGtkStyleDialog::edit(geometricObject*)': drgeo_gtkstyle.cc:331:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 331 | connectWithData (xml, this, "round", | ^~~~~~~ drgeo_gtkstyle.cc:333:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 333 | connectWithData (xml, this, "cross", | ^~~~~~~ drgeo_gtkstyle.cc:335:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 335 | connectWithData (xml, this, "square", | ^~~~~~~~ drgeo_gtkstyle.cc:337:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 337 | connectWithData (xml, this, "roundEmpty", | ^~~~~~~~~~~~ drgeo_gtkstyle.cc:339:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 339 | connectWithData (xml, this, "squareEmpty", | ^~~~~~~~~~~~~ drgeo_gtkstyle.cc:342:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 342 | connectWithData (xml, this, "small", | ^~~~~~~ drgeo_gtkstyle.cc:344:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 344 | connectWithData (xml, this, "normal", | ^~~~~~~~ drgeo_gtkstyle.cc:346:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 346 | connectWithData (xml, this, "large", | ^~~~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ drgeo_gtkstyle.cc:79:1: warning: 'void style_fill_button_cb(GtkWidget*, gpointer)' defined but not used [-Wunused-function] 79 | style_fill_button_cb (GtkWidget * widget, gpointer data) | ^~~~~~~~~~~~~~~~~~~~ In function 'adjustStyleDialog(_GladeXML*, geometricObject*)', inlined from 'drgeoGtkStyleDialog::edit(geometricObject*)' at drgeo_gtkstyle.cc:439:25: /usr/include/glib-2.0/gobject/gtype.h:2505:48: warning: 'widget' may be used uninitialized [-Wmaybe-uninitialized] 2505 | ((ct*) (void *) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_gtkstyle.cc: In member function 'drgeoGtkStyleDialog::edit(geometricObject*)': drgeo_gtkstyle.cc:254:14: note: 'widget' was declared here 254 | GtkWidget *widget; | ^~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2505:48: warning: 'widget' may be used uninitialized [-Wmaybe-uninitialized] 2505 | ((ct*) (void *) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_gtkstyle.cc:308:14: note: 'widget' was declared here 308 | GtkWidget *widget; | ^~~~~~ In function 'adjustColorDialog(_GladeXML*, geometricObject*)', inlined from 'drgeoGtkStyleDialog::edit(geometricObject*)' at drgeo_gtkstyle.cc:519:21: /usr/include/glib-2.0/gobject/gtype.h:2505:48: warning: 'widget' may be used uninitialized [-Wmaybe-uninitialized] 2505 | ((ct*) (void *) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_gtkstyle.cc: In member function 'drgeoGtkStyleDialog::edit(geometricObject*)': drgeo_gtkstyle.cc:195:14: note: 'widget' was declared here 195 | GtkWidget *widget; | ^~~~~~ In function 'adjustVisibilityDialog(_GladeXML*, geometricObject*)', inlined from 'drgeoGtkStyleDialog::edit(geometricObject*)' at drgeo_gtkstyle.cc:521:26: /usr/include/glib-2.0/gobject/gtype.h:2505:48: warning: 'widget' may be used uninitialized [-Wmaybe-uninitialized] 2505 | ((ct*) (void *) g_type_check_instance_cast ((GTypeInstance*) ip, gt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_gtkstyle.cc: In member function 'drgeoGtkStyleDialog::edit(geometricObject*)': drgeo_gtkstyle.cc:275:14: note: 'widget' was declared here 275 | GtkWidget *widget; | ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_polygon.o `test -f 'drgeo_polygon.cc' || echo './'`drgeo_polygon.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from drgeo_gtkproperty.cc:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/libglade-2.0/glade/glade.h:25: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_figure.h:35, from drgeo_drawable.h:33, from drgeo_gtkproperty.h:28, from drgeo_gtkproperty.cc:27: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from drgeo_gtkproperty.cc:34: ../drgenius_mdi.h: At global scope: ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ In file included from drgeo_figure.h:39: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_polygon.h:27, from drgeo_polygon.cc:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_polygon.cc:31: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_script.o `test -f 'drgeo_script.cc' || echo './'`drgeo_script.cc drgeo_polygon.cc: In constructor 'polygon::polygon(liste_elem&, polygonType, gboolean, liste_elem*)': drgeo_polygon.cc:38:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 38 | style.color = preferedColor (":polygonColor"); | ^~~~~~~~~~~~~~~ drgeo_polygon.cc:48:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 48 | while (item = (gpointer) parents.lire (0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_polygon.cc:51:5: warning: case value '1' not in enumerated type 'polygonType' [-Wswitch] 51 | case ROTATION: | ^~~~ drgeo_polygon.cc:68:5: warning: case value '2' not in enumerated type 'polygonType' [-Wswitch] 68 | case SYMMETRY: | ^~~~ drgeo_polygon.cc:90:5: warning: case value '4' not in enumerated type 'polygonType' [-Wswitch] 90 | case REFLEXION: | ^~~~ drgeo_polygon.cc:79:5: warning: case value '8' not in enumerated type 'polygonType' [-Wswitch] 79 | case TRANSLATION: | ^~~~ drgeo_polygon.cc:52:5: warning: case value '16' not in enumerated type 'polygonType' [-Wswitch] 52 | case SCALE: | ^~~~ drgeo_polygon.cc: In member function 'virtual void polygon::save(xmlNodePtr, liste_elem&)': drgeo_polygon.cc:252:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 252 | save_attribute (item, this, "npts"); | ^~~~~~ drgeo_polygon.cc:255:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 255 | save_attribute (item, this, "Rotation"); | ^~~~~~~~~~ drgeo_polygon.cc:258:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 258 | save_attribute (item, this, "Scale"); | ^~~~~~~ drgeo_polygon.cc:261:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 261 | save_attribute (item, this, "Symmetry"); | ^~~~~~~~~~ drgeo_polygon.cc:264:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 264 | save_attribute (item, this, "Reflexion"); | ^~~~~~~~~~~ drgeo_polygon.cc:267:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 267 | save_attribute (item, this, "Translation"); | ^~~~~~~~~~~~~ drgeo_polygon.cc: In member function 'virtual void polygon::updateDescription()': drgeo_polygon.cc:288:23: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 288 | for (nb = 0; nb < g_list_length (parentList); nb++) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_polygon.cc: In member function 'virtual void polygon::initName()': drgeo_polygon.cc:396:23: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] 396 | for (nb = 0; nb < g_list_length (parentList); nb++) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_polygon.cc:408:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 408 | strinsmsg (typeName, name, "%1"); | ^~~~ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_scm_interface.o `test -f 'drgeo_scm_interface.cc' || echo './'`drgeo_scm_interface.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_geometricObject.h:27, from drgeo_string.h:27, from drgeo_value.h:27, from drgeo_script.h:28, from drgeo_script.cc:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_script.cc:27: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgeo_script.cc: In constructor 'script::script(drgeoVector&, liste_elem&, scriptType, gchar*, gboolean, liste_elem*)': drgeo_script.cc:37:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 37 | style.color = preferedColor (":scalarColor"); | ^~~~~~~~~~~~~~ drgeo_script.cc:47:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 47 | while (item = (gpointer) parents.lire (0)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_script.cc: In destructor 'virtual script::~script()': drgeo_script.cc:106:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'script*' [-Wformat=] 106 | tmpScript = g_strdup_printf ("(undefine script%d)", this); | ~^ ~~~~ | | | | int script* drgeo_script.cc: In member function 'virtual void script::update(drgeoDrawable&)': drgeo_script.cc:124:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'script*' [-Wformat=] 124 | tmpScript = g_strdup_printf ("(script%d", this); | ~^ ~~~~ | | | | int script* drgeo_script.cc:125:19: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 125 | for (nb = 0; nb < g_list_length (parentList); nb++) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_script.cc:127:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'gpointer' {aka 'void*'} [-Wformat=] 127 | tmp1 = g_strdup_printf (" %d", g_list_nth_data (parentList, nb)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int gpointer {aka void*} | %p drgeo_script.cc: In member function 'virtual void script::initName()': drgeo_script.cc:176:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 176 | strinsmsg (typeName, name, "%1"); | ^~~~ drgeo_script.cc: In member function 'virtual void script::save(xmlNodePtr, liste_elem&)': drgeo_script.cc:191:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 191 | save_attribute (item, this, "nitems"); | ^~~~~~~~ drgeo_script.cc:182:20: warning: variable 'subitem' set but not used [-Wunused-but-set-variable] 182 | xmlNodePtr item, subitem; | ^~~~~~~ drgeo_script.cc: In member function 'virtual void script::updateDescription()': drgeo_script.cc:224:23: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 224 | for (nb = 0; nb < g_list_length (parentList); nb++) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_script.cc: In member function 'void script::setScript(gchar*)': drgeo_script.cc:248:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'script*' [-Wformat=] 248 | tmpScript = g_strdup_printf ("(define (script%d", this); | ~^ ~~~~ | | | | int script* drgeo_script.cc:249:19: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 249 | for (nb = 1; nb <= g_list_length (parentList); nb++) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drgeo_figure.h:39, from drgeo_drawable.h:33: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from drgeo_script.cc:28: drgeo_scm_helper.h:38:13: warning: 'void dgs_error_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 38 | static void dgs_error_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from ../drgenius_mdi.h:28, from drgeo_scm_interface.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_scm_api.o `test -f 'drgeo_scm_api.cc' || echo './'`drgeo_scm_api.cc ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ In file included from drgeo_figure.h:35, from drgeo_scm_interface.h:28, from drgeo_scm_interface.cc:25: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from drgeo_figure.h:37: drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ ../drgenius_mdi.h: At global scope: ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ In file included from drgeo_figure.h:39: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from drgeo_scm_interface.cc:26: drgeo_scm_helper.h:38:13: warning: 'void dgs_error_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 38 | static void dgs_error_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~~~ In member function 'ScmInterface::setObjectName(scm_unused_struct*, geometricObject*)', inlined from 'ScmInterface::make_rotation(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)' at drgeo_scm_interface.cc:181:17: drgeo_scm_interface.cc:795:18: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 795 | item->initName (); | ~~~~~~~~~~~~~~~^~ drgeo_scm_interface.cc: In member function 'ScmInterface::make_rotation(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)': drgeo_scm_interface.cc:134:20: note: 'item' was declared here 134 | geometricObject *item, *myObject; | ^~~~ In member function 'ScmInterface::setObjectName(scm_unused_struct*, geometricObject*)', inlined from 'ScmInterface::make_scale(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)' at drgeo_scm_interface.cc:235:17: drgeo_scm_interface.cc:795:18: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 795 | item->initName (); | ~~~~~~~~~~~~~~~^~ drgeo_scm_interface.cc: In member function 'ScmInterface::make_scale(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)': drgeo_scm_interface.cc:188:20: note: 'item' was declared here 188 | geometricObject *item, *myObject; | ^~~~ In member function 'ScmInterface::setObjectName(scm_unused_struct*, geometricObject*)', inlined from 'ScmInterface::make_symmetry(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)' at drgeo_scm_interface.cc:287:17: drgeo_scm_interface.cc:795:18: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 795 | item->initName (); | ~~~~~~~~~~~~~~~^~ drgeo_scm_interface.cc: In member function 'ScmInterface::make_symmetry(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)': drgeo_scm_interface.cc:242:20: note: 'item' was declared here 242 | geometricObject *item, *myObject; | ^~~~ In member function 'ScmInterface::setObjectName(scm_unused_struct*, geometricObject*)', inlined from 'ScmInterface::make_reflexion(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)' at drgeo_scm_interface.cc:339:17: drgeo_scm_interface.cc:795:18: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 795 | item->initName (); | ~~~~~~~~~~~~~~~^~ drgeo_scm_interface.cc: In member function 'ScmInterface::make_reflexion(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)': drgeo_scm_interface.cc:294:20: note: 'item' was declared here 294 | geometricObject *item, *myObject; | ^~~~ In member function 'ScmInterface::setObjectName(scm_unused_struct*, geometricObject*)', inlined from 'ScmInterface::make_translation(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)' at drgeo_scm_interface.cc:387:17: drgeo_scm_interface.cc:795:18: warning: 'item' may be used uninitialized [-Wmaybe-uninitialized] 795 | item->initName (); | ~~~~~~~~~~~~~~~^~ drgeo_scm_interface.cc: In member function 'ScmInterface::make_translation(scm_unused_struct*, scm_unused_struct*, scm_unused_struct*)': drgeo_scm_interface.cc:346:20: note: 'item' was declared here 346 | geometricObject *item, *myObject; | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_scm_helper.h:27, from drgeo_scm_api.cc:32: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_scm_api.cc:33: drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_scm_helper.o `test -f 'drgeo_scm_helper.cc' || echo './'`drgeo_scm_helper.cc drgeo_scm_helper.h: At global scope: drgeo_scm_helper.h:38:13: warning: 'void dgs_error_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 38 | static void dgs_error_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBRARY_DIR=\""/usr/share/geo/"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_ENCODEDIR=\""/usr/share/drgeo/encode"\" -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_gtkhelpers.o `test -f 'drgeo_gtkhelpers.cc' || echo './'`drgeo_gtkhelpers.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_scm_helper.h:27, from drgeo_scm_helper.cc:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_gtkhelpers.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from drgeo_scm_helper.cc:28: ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ In file included from drgeo_scm_helper.cc:26: drgeo_scm_helper.cc: In function 'scm_unused_struct* standard_handler(void*, SCM, SCM)': drgeo_scm_helper.cc:91:38: warning: too many arguments for format [-Wformat-extra-args] 91 | _("Error! Just got the following error tag: %s\n"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ ../drgenius_mdi.h: At global scope: ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgeo_gtkhelpers.cc:30: ../drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ drgeo_gtkhelpers.cc: In function 'gint open_help_cb(GtkWidget*, const char*)': drgeo_gtkhelpers.cc:98:41: warning: too many arguments for format [-Wformat-extra-args] 98 | _("This help directory does not exist:\n'%s'\nMaybe the manual is not installed or it is not yet translated in your language.\n\nIf you want to translate the manual contact ofset@ofset.org."), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_gtkhelpers.cc:32:25: note: in definition of macro '_' 32 | #define _(x) gettext (x) | ^ drgeo_gtkhelpers.cc:117:45: warning: too many arguments for format [-Wformat-extra-args] 117 | _("A default online manual\nin English will be used."), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_gtkhelpers.cc:32:25: note: in definition of macro '_' 32 | #define _(x) gettext (x) | ^ drgeo_gtkhelpers.cc:129:45: warning: too many arguments for format [-Wformat-extra-args] 129 | _("No default online manual can be found."), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgeo_gtkhelpers.cc:32:25: note: in definition of macro '_' 32 | #define _(x) gettext (x) | ^ drgeo_gtkhelpers.cc:140:37: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 140 | str = g_strconcat (drgeoConfigGet(":htmlViewer"), " ", | ^~~~~~~~~~~~~ In file included from drgeo_gtkhelpers.cc:29: ../drgenius_config.h: At global scope: ../drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ../drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ../drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ../drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ ../drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ ../drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ rm -f libgeo.a ar cru libgeo.a drgeo_drawable.o drgeo_gtkdrawable.o drgeo_latexdrawable.o drgeo_postscriptdrawable.o drgeo_flydrawable.o drgeo_figure.o macro.o drgeo_macro.o drgeo_gtkmacro.o drgeo_tool.o liste_elem.o mode_obj.o traite.o drgeo_control.o drgeo_menu.o drgeo_toolbar.o drgeo_dialog.o drgeo_type.o xml.o drgeo_drgeoVector.o drgeo_geometricObject.o drgeo_point.o drgeo_repere.o drgeo_direction.o drgeo_vector.o drgeo_buildObject.o drgeo_line.o drgeo_halfLine.o drgeo_segment.o drgeo_circle.o drgeo_arcCircle.o drgeo_value.o drgeo_angle.o drgeo_numeric.o drgeo_string.o drgeo_equation.o drgeo_locus.o drgeo_command.o drgeo_gtkstyle.o drgeo_gtkproperty.o drgeo_polygon.o drgeo_script.o drgeo_scm_interface.o drgeo_scm_api.o drgeo_scm_helper.o drgeo_gtkhelpers.o ranlib libgeo.a make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/geo' make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/geo' Making all in examples make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples' Making all in figures make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples/figures' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples/figures' Making all in macro make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples/macro' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples/macro' Making all in scheme make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples/scheme' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples/scheme' make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples' make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples' Making all in icons make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/icons' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/icons' Making all in glade make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/glade' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/glade' Making all in scm make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/scm' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/scm' Making all in plugin make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin' Making all in drgeo make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo' Making all in progs make[4]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo/progs' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo/progs' make[4]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo' make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo' make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin' make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin' Making all in encode make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/encode' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/encode' make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0' g++ -DHAVE_CONFIG_H -I. -I. -I. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_SCMDIR=\""/usr/share/drgeo/scm"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_ICONDIR=\""/usr/share/pixmaps"\" -I/usr/include -I./geo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgenius_main.o `test -f 'drgenius_main.cc' || echo './'`drgenius_main.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_SCMDIR=\""/usr/share/drgeo/scm"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_ICONDIR=\""/usr/share/pixmaps"\" -I/usr/include -I./geo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgenius_mdi.o `test -f 'drgenius_mdi.cc' || echo './'`drgenius_mdi.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgenius_main.cc:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from drgenius_mdi.cc:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/libglade-2.0/glade/glade.h:25: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgenius_mdi.cc:27: drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ In file included from ./geo/drgeo_figure.h:35, from drgenius_mdi.cc:28: ./geo/drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': ./geo/drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': ./geo/drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': ./geo/drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': ./geo/drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from ./geo/drgeo_figure.h:37: ./geo/drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': ./geo/drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from drgenius_main.cc:33: drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ In file included from ./geo/drgeo_figure.h:35, from ./geo/drgeo_scm_interface.h:28, from drgenius_main.cc:36: ./geo/drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': ./geo/drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': ./geo/drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': ./geo/drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': ./geo/drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from ./geo/drgeo_figure.h:37: ./geo/drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': ./geo/drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ drgenius_mdi.h: At global scope: drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ In file included from drgenius_main.cc:34: drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ drgenius_main.cc:46:14: warning: 'file_name' defined but not used [-Wunused-variable] 46 | static char *file_name = NULL; | ^~~~~~~~~ drgenius_mdi.cc: In constructor 'drgeniusMDI::drgeniusMDI()': drgenius_mdi.cc:58:14: warning: unused variable 'w' [-Wunused-variable] 58 | GtkWidget *w; | ^ In file included from ./geo/drgeo_geometricObject.h:32: drgenius_mdi.cc: In member function 'void drgeniusMDI::openSession(gchar*)': drgenius_mdi.cc:149:42: warning: too many arguments for format [-Wformat-extra-args] 149 | _("Error loading file '%s'"), | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc:162:40: warning: too many arguments for format [-Wformat-extra-args] 162 | "'%s' is not a Dr. Geo XML file", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgenius_mdi.cc: In member function 'void drgeniusMDI::addMacroMenuItem(gchar*, gchar*)': drgenius_mdi.cc:509:25: warning: unused variable 'tips' [-Wunused-variable] 509 | GtkWidget *w, *item, *tips; | ^~~~ drgenius_mdi.cc: In function 'gboolean on_drgeoMain_delete_event(GtkWidget*, GdkEvent*, gpointer)': drgenius_mdi.cc:592:33: warning: too many arguments for format [-Wformat-extra-args] 592 | _("Are you sure to quit Dr. Geo?"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void open_ok_cb(GtkWidget*, GtkWidget*)': drgenius_mdi.cc:643:39: warning: too many arguments for format [-Wformat-extra-args] 643 | _("Can't open file '%s'"), | ^~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void evaluate_ok_cb(GtkWidget*, GtkWidget*)': drgenius_mdi.cc:703:39: warning: too many arguments for format [-Wformat-extra-args] 703 | _("Can't open file '%s'"), | ^~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void really_save(gint, GtkWidget*)': drgenius_mdi.cc:767:39: warning: too many arguments for format [-Wformat-extra-args] 767 | _("Error saving to '%s'!"), | ^~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void really_save_session(gint, GtkWidget*)': drgenius_mdi.cc:797:39: warning: too many arguments for format [-Wformat-extra-args] 797 | _("Error saving to '%s'!"), | ^~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void really_export_figure_flydraw(gint, GtkWidget*)': drgenius_mdi.cc:829:39: warning: too many arguments for format [-Wformat-extra-args] 829 | _("Error exporting to '%s'!"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void really_export_figure_latex(gint, GtkWidget*)': drgenius_mdi.cc:859:39: warning: too many arguments for format [-Wformat-extra-args] 859 | _("Error exporting to '%s'!"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void really_export_figure_postscript(gint, GtkWidget*)': drgenius_mdi.cc:890:39: warning: too many arguments for format [-Wformat-extra-args] 890 | _("Error exporting to '%s'!"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void really_export_figure_png(gint, GtkWidget*)': drgenius_mdi.cc:925:39: warning: too many arguments for format [-Wformat-extra-args] 925 | _("Error exporting to '%s'!"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc:943:39: warning: too many arguments for format [-Wformat-extra-args] 943 | _("Error exporting to '%s'!\nExporting to PNG required the Image Magick package.\nInstall it and try again!"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void save_ok_cb(GtkWidget*, GtkWidget*)': drgenius_mdi.cc:1003:39: warning: too many arguments for format [-Wformat-extra-args] 1003 | _("File '%s' exists!\nOverwrite?"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void save_as_cb(GtkWidget*, gpointer)': drgenius_mdi.cc:1033:54: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1033 | drgeoConfigGet (":figureFile")); | ^~~~~~~~~~~~~ drgenius_mdi.cc: In function 'void save_session_ok_cb(GtkWidget*, GtkWidget*)': drgenius_mdi.cc:1087:39: warning: too many arguments for format [-Wformat-extra-args] 1087 | _("File '%s' exists!\nOverwrite?"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void export_figure_flydraw_ok_cb(GtkWidget*, GtkWidget*)': drgenius_mdi.cc:1112:39: warning: too many arguments for format [-Wformat-extra-args] 1112 | _("File '%s' exists!\nOverwrite?"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void export_figure_latex_ok_cb(GtkWidget*, GtkWidget*)': drgenius_mdi.cc:1138:39: warning: too many arguments for format [-Wformat-extra-args] 1138 | _("File '%s' exists!\nOverwrite?"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void export_figure_postscript_ok_cb(GtkWidget*, GtkWidget*)': drgenius_mdi.cc:1165:39: warning: too many arguments for format [-Wformat-extra-args] 1165 | _("File '%s' exists!\nOverwrite?"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void export_figure_png_ok_cb(GtkWidget*, GtkWidget*)': drgenius_mdi.cc:1192:39: warning: too many arguments for format [-Wformat-extra-args] 1192 | _("File '%s' exists!\nOverwrite?"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void save_multiple_cb(GtkWidget*, gpointer)': drgenius_mdi.cc:1215:8: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1215 | N_("Interactive 2D Figure"), | ^~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:29:16: note: in definition of macro 'N_' 29 | #define N_(x) x | ^ drgenius_mdi.cc:1216:8: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1216 | N_("Console"), | ^~~~~~~~~ ./geo/define.h:29:16: note: in definition of macro 'N_' 29 | #define N_(x) x | ^ drgenius_mdi.cc:1217:8: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1217 | N_("Text Buffer"), | ^~~~~~~~~~~~~ ./geo/define.h:29:16: note: in definition of macro 'N_' 29 | #define N_(x) x | ^ drgenius_mdi.cc:1280:16: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1280 | text[0] = N_("Macro-construction"); | ^~~~~~~~~~~~~~~~~~~~ ./geo/define.h:29:16: note: in definition of macro 'N_' 29 | #define N_(x) x | ^ drgenius_mdi.cc: In function 'void print_view(gint, GtkOptionMenu*, int, PrintDestination*)': drgenius_mdi.cc:1365:43: warning: too many arguments for format [-Wformat-extra-args] 1365 | _("Error printing the current figure!"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc:1345:24: warning: unused variable 'errorNumber' [-Wunused-variable] 1345 | int selectedPrinter, errorNumber; | ^~~~~~~~~~~ drgenius_mdi.cc: In function 'void export_figure_to_flydraw_cb(GtkWidget*, gpointer)': drgenius_mdi.cc:1409:39: warning: too many arguments for format [-Wformat-extra-args] 1409 | _("Only geometric figure\ncan be exported to Flydraw!"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc:1419:38: warning: 'const gchar* g_basename(const gchar*)' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1419 | split = g_strsplit (g_basename (child->filename ()), ".", 2); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:50: /usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here 207 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ drgenius_mdi.cc:1424:42: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1424 | fileName = g_strdup (drgeoConfigGet (":flydrawFile")); | ^~~~~~~~~~~~~~ drgenius_mdi.cc: In function 'void export_figure_to_latex_cb(GtkWidget*, gpointer)': drgenius_mdi.cc:1461:39: warning: too many arguments for format [-Wformat-extra-args] 1461 | _("Only geomteric figure\ncan be exported to LaTex!"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc:1471:38: warning: 'const gchar* g_basename(const gchar*)' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1471 | split = g_strsplit (g_basename (child->filename ()), ".", 2); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here 207 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ drgenius_mdi.cc:1476:42: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1476 | fileName = g_strdup (drgeoConfigGet (":latexFile")); | ^~~~~~~~~~~~ drgenius_mdi.cc: In function 'void export_figure_to_postscript_cb(GtkWidget*, gpointer)': drgenius_mdi.cc:1513:39: warning: too many arguments for format [-Wformat-extra-args] 1513 | _("Only geomteric figure\ncan be exported to PostScript!"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc:1522:38: warning: 'const gchar* g_basename(const gchar*)' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1522 | split = g_strsplit (g_basename (child->filename()), ".", 2); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here 207 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ drgenius_mdi.cc:1527:42: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1527 | fileName = g_strdup (drgeoConfigGet (":psFile")); | ^~~~~~~~~ drgenius_mdi.cc: In function 'void export_figure_to_png_cb(GtkWidget*, gpointer)': drgenius_mdi.cc:1566:39: warning: too many arguments for format [-Wformat-extra-args] 1566 | _("Only geomteric figure\ncan be exported to PNG!"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc:1575:38: warning: 'const gchar* g_basename(const gchar*)' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1575 | split = g_strsplit (g_basename (child->filename()), ".", 2); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here 207 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ drgenius_mdi.cc:1581:55: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1581 | split = g_strsplit (g_basename (drgeoConfigGet (":psFile")), ".", 2); | ^~~~~~~~~ drgenius_mdi.cc:1581:38: warning: 'const gchar* g_basename(const gchar*)' is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations] 1581 | split = g_strsplit (g_basename (drgeoConfigGet (":psFile")), ".", 2); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here 207 | const gchar *g_basename (const gchar *file_name); | ^~~~~~~~~~ drgenius_mdi.cc: In function 'void close_cb(GtkWidget*, gpointer)': drgenius_mdi.cc:1705:33: warning: too many arguments for format [-Wformat-extra-args] 1705 | _("Are you sure to close this figure?"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_mdi.cc: In function 'void dialogSaveSession_response(gint, GtkTreeSelection*)': drgenius_mdi.cc:1829:58: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1829 | drgeoConfigGet (":sessionFile")); | ^~~~~~~~~~~~~~ drgenius_mdi.cc: In function 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)': drgenius_mdi.cc:1882:42: warning: too many arguments for format [-Wformat-extra-args] 1882 | "saveSelectedRow: Unknown data type '%s' to save\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drgenius_mdi.cc: In function 'void setAnimationMode(gdouble)': drgenius_mdi.cc:1961:14: warning: unused variable 'label' [-Wunused-variable] 1961 | GtkWidget *label; | ^~~~~ drgenius_mdi.cc:1962:16: warning: unused variable 'text' [-Wunused-variable] 1962 | const gchar *text; | ^~~~ drgenius_mdi.h: At global scope: drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ In file included from ./geo/drgeo_figure.h:39: ./drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ./drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ./drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ./drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from drgenius_mdi.cc:37: ./geo/drgeo_scm_helper.h:38:13: warning: 'void dgs_error_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 38 | static void dgs_error_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~~~ drgenius_mdi.cc: In function 'gboolean on_drgeoMain_delete_event(GtkWidget*, GdkEvent*, gpointer)': drgenius_mdi.cc:606:1: warning: control reaches end of non-void function [-Wreturn-type] 606 | } | ^ drgenius_mdi.cc: At global scope: drgenius_mdi.cc:1934:1: warning: 'gboolean is_clist_row_selected(GtkCList*, gint)' defined but not used [-Wunused-function] 1934 | is_clist_row_selected (GtkCList * clist, gint row) | ^~~~~~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_SCMDIR=\""/usr/share/drgeo/scm"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_ICONDIR=\""/usr/share/pixmaps"\" -I/usr/include -I./geo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgenius_config.o `test -f 'drgenius_config.cc' || echo './'`drgenius_config.cc drgenius_mdi.cc: In function 'save_multiple_cb': drgenius_mdi.cc:1271:26: warning: 'text[0]' may be used uninitialized [-Wmaybe-uninitialized] 1271 | gtk_tree_store_set (store, &iter, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 1272 | 0, text[0], | ~~~~~~~~~~~ 1273 | 1, text[1], | ~~~~~~~~~~~ 1274 | 2, child, | ~~~~~~~~~ 1275 | -1); | ~~~ drgenius_mdi.cc:1214:10: note: 'text[0]' was declared here 1214 | gchar *text[2], *dataName[] = { | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from drgenius_config.h:29, from drgenius_config.cc:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/libglade-2.0/glade/glade.h:25: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from drgenius_config.cc:30: drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ drgenius_config.cc: In function 'void drgeoConfigSet(gchar*, gchar*)': drgenius_config.cc:57:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 57 | drgeoConfigSetGen (attr, value, "userConf"); | ^~~~~~~~~~ drgenius_config.cc: In function 'void drgeoConfigSetDialog(gchar*, gchar*)': drgenius_config.cc:63:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 63 | drgeoConfigSetGen (attr, value, "dialogConf"); | ^~~~~~~~~~~~ drgenius_config.cc: In function 'void cachePreferedValue()': drgenius_config.cc:166:44: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 166 | numericPrecision = atoi (drgeoConfigGet (":numericPrecision")); | ^~~~~~~~~~~~~~~~~~~ drgenius_config.cc: In function 'void updateDialogFromUserPreferences(GtkObject*)': drgenius_config.cc:236:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 236 | w = drgeoConfigWidget ("point", ":pointColor", xmlPropertyBox); | ^~~~~~~ drgenius_config.cc:236:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 236 | w = drgeoConfigWidget ("point", ":pointColor", xmlPropertyBox); | ^~~~~~~~~~~~~ drgenius_config.cc:240:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 240 | w = drgeoConfigWidget ("point", ":pointShape", xmlPropertyBox); | ^~~~~~~ drgenius_config.cc:240:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 240 | w = drgeoConfigWidget ("point", ":pointShape", xmlPropertyBox); | ^~~~~~~~~~~~~ drgenius_config.cc:244:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 244 | w = drgeoConfigWidget ("point", ":pointSize", xmlPropertyBox); | ^~~~~~~ drgenius_config.cc:244:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 244 | w = drgeoConfigWidget ("point", ":pointSize", xmlPropertyBox); | ^~~~~~~~~~~~ drgenius_config.cc:254:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 254 | w = drgeoConfigWidget ("polygon", ":polygonColor", xmlPropertyBox); | ^~~~~~~~~ drgenius_config.cc:254:37: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 254 | w = drgeoConfigWidget ("polygon", ":polygonColor", xmlPropertyBox); | ^~~~~~~~~~~~~~~ drgenius_config.cc:264:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 264 | w = drgeoConfigWidget ("segment", ":segmentColor", xmlPropertyBox); | ^~~~~~~~~ drgenius_config.cc:264:37: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 264 | w = drgeoConfigWidget ("segment", ":segmentColor", xmlPropertyBox); | ^~~~~~~~~~~~~~~ drgenius_config.cc:268:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 268 | w = drgeoConfigWidget ("segment", ":segmentStyle", xmlPropertyBox); | ^~~~~~~~~ drgenius_config.cc:268:37: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 268 | w = drgeoConfigWidget ("segment", ":segmentStyle", xmlPropertyBox); | ^~~~~~~~~~~~~~~ drgenius_config.cc:278:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 278 | w = drgeoConfigWidget ("halfline", ":halfLineColor", xmlPropertyBox); | ^~~~~~~~~~ drgenius_config.cc:278:38: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 278 | w = drgeoConfigWidget ("halfline", ":halfLineColor", xmlPropertyBox); | ^~~~~~~~~~~~~~~~ drgenius_config.cc:282:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 282 | w = drgeoConfigWidget ("halfline", ":halfLineStyle", xmlPropertyBox); | ^~~~~~~~~~ drgenius_config.cc:282:38: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 282 | w = drgeoConfigWidget ("halfline", ":halfLineStyle", xmlPropertyBox); | ^~~~~~~~~~~~~~~~ drgenius_config.cc:292:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 292 | w = drgeoConfigWidget ("line", ":lineColor", xmlPropertyBox); | ^~~~~~ drgenius_config.cc:292:34: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 292 | w = drgeoConfigWidget ("line", ":lineColor", xmlPropertyBox); | ^~~~~~~~~~~~ drgenius_config.cc:296:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 296 | w = drgeoConfigWidget ("line", ":lineStyle", xmlPropertyBox); | ^~~~~~ drgenius_config.cc:296:34: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 296 | w = drgeoConfigWidget ("line", ":lineStyle", xmlPropertyBox); | ^~~~~~~~~~~~ drgenius_config.cc:304:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 304 | w = drgeoConfigWidget ("vector", ":vectorColor", xmlPropertyBox); | ^~~~~~~~ drgenius_config.cc:304:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 304 | w = drgeoConfigWidget ("vector", ":vectorColor", xmlPropertyBox); | ^~~~~~~~~~~~~~ drgenius_config.cc:308:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 308 | w = drgeoConfigWidget ("vector", ":vectorStyle", xmlPropertyBox); | ^~~~~~~~ drgenius_config.cc:308:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 308 | w = drgeoConfigWidget ("vector", ":vectorStyle", xmlPropertyBox); | ^~~~~~~~~~~~~~ drgenius_config.cc:316:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 316 | w = drgeoConfigWidget ("circle", ":circleColor", xmlPropertyBox); | ^~~~~~~~ drgenius_config.cc:316:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 316 | w = drgeoConfigWidget ("circle", ":circleColor", xmlPropertyBox); | ^~~~~~~~~~~~~~ drgenius_config.cc:320:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 320 | w = drgeoConfigWidget ("circle", ":circleStyle", xmlPropertyBox); | ^~~~~~~~ drgenius_config.cc:320:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 320 | w = drgeoConfigWidget ("circle", ":circleStyle", xmlPropertyBox); | ^~~~~~~~~~~~~~ drgenius_config.cc:328:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 328 | w = drgeoConfigWidget ("arccircle", ":arcCircleColor", xmlPropertyBox); | ^~~~~~~~~~~ drgenius_config.cc:328:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 328 | w = drgeoConfigWidget ("arccircle", ":arcCircleColor", xmlPropertyBox); | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:332:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 332 | w = drgeoConfigWidget ("arccircle", ":arcCircleStyle", xmlPropertyBox); | ^~~~~~~~~~~ drgenius_config.cc:332:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 332 | w = drgeoConfigWidget ("arccircle", ":arcCircleStyle", xmlPropertyBox); | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:340:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 340 | w = drgeoConfigWidget ("locus", ":locusColor", xmlPropertyBox); | ^~~~~~~ drgenius_config.cc:340:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 340 | w = drgeoConfigWidget ("locus", ":locusColor", xmlPropertyBox); | ^~~~~~~~~~~~~ drgenius_config.cc:344:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 344 | w = drgeoConfigWidget ("locus", ":locusStyle", xmlPropertyBox); | ^~~~~~~ drgenius_config.cc:344:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 344 | w = drgeoConfigWidget ("locus", ":locusStyle", xmlPropertyBox); | ^~~~~~~~~~~~~ drgenius_config.cc:352:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 352 | w = drgeoConfigWidget ("angle", ":angleColor", xmlPropertyBox); | ^~~~~~~ drgenius_config.cc:352:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 352 | w = drgeoConfigWidget ("angle", ":angleColor", xmlPropertyBox); | ^~~~~~~~~~~~~ drgenius_config.cc:356:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 356 | w = drgeoConfigWidget ("angle", ":angleStyle", xmlPropertyBox); | ^~~~~~~ drgenius_config.cc:356:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 356 | w = drgeoConfigWidget ("angle", ":angleStyle", xmlPropertyBox); | ^~~~~~~~~~~~~ drgenius_config.cc:364:26: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 364 | w = drgeoConfigWidget ("scalar", ":scalarColor", xmlPropertyBox); | ^~~~~~~~ drgenius_config.cc:364:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 364 | w = drgeoConfigWidget ("scalar", ":scalarColor", xmlPropertyBox); | ^~~~~~~~~~~~~~ drgenius_config.cc:370:52: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 370 | atof (drgeoConfigGet (":numericPrecision"))); | ^~~~~~~~~~~~~~~~~~~ drgenius_config.cc:376:52: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 376 | atof (drgeoConfigGet (":undoLevel"))); | ^~~~~~~~~~~~ In file included from drgenius_config.cc:26: drgenius_config.cc:379:56: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 379 | gtk_entry_set_text (GTK_ENTRY (w), _(drgeoConfigGet (":figureName"))); | ^~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ drgenius_config.cc:382:54: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 382 | gtk_entry_set_text (GTK_ENTRY (w), drgeoConfigGet (":figureFile")); | ^~~~~~~~~~~~~ drgenius_config.cc:385:54: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 385 | gtk_entry_set_text (GTK_ENTRY (w), drgeoConfigGet (":flydrawFile")); | ^~~~~~~~~~~~~~ drgenius_config.cc:388:54: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 388 | gtk_entry_set_text (GTK_ENTRY (w), drgeoConfigGet (":latexFile")); | ^~~~~~~~~~~~ drgenius_config.cc:391:54: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 391 | gtk_entry_set_text (GTK_ENTRY (w), drgeoConfigGet (":psFile")); | ^~~~~~~~~ drgenius_config.cc:394:54: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 394 | gtk_entry_set_text (GTK_ENTRY (w), drgeoConfigGet (":sessionFile")); | ^~~~~~~~~~~~~~ drgenius_config.cc:397:54: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 397 | gtk_entry_set_text (GTK_ENTRY (w), drgeoConfigGet (":htmlViewer")); | ^~~~~~~~~~~~~ drgenius_config.cc: In function 'void updateUserPreferencesFromDialog(GtkObject*)': drgenius_config.cc:404:14: warning: unused variable 'w' [-Wunused-variable] 404 | GtkWidget *w; | ^ drgenius_config.cc: In function 'void initPreferencesBox()': drgenius_config.cc:436:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 436 | connectWithData (xmlPropertyBox, "pointBlack", | ^~~~~~~~~~~~ drgenius_config.cc:438:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 438 | connectWithData (xmlPropertyBox, "pointDarkgrey", | ^~~~~~~~~~~~~~~ drgenius_config.cc:440:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 440 | connectWithData (xmlPropertyBox, "pointGrey", | ^~~~~~~~~~~ drgenius_config.cc:442:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 442 | connectWithData (xmlPropertyBox, "pointWhite", | ^~~~~~~~~~~~ drgenius_config.cc:444:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 444 | connectWithData (xmlPropertyBox, "pointDarkgreen", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:446:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 446 | connectWithData (xmlPropertyBox, "pointGreen", | ^~~~~~~~~~~~ drgenius_config.cc:448:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 448 | connectWithData (xmlPropertyBox, "pointDarkblue", | ^~~~~~~~~~~~~~~ drgenius_config.cc:450:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 450 | connectWithData (xmlPropertyBox, "pointBlue", | ^~~~~~~~~~~ drgenius_config.cc:452:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 452 | connectWithData (xmlPropertyBox, "pointBordeaux", | ^~~~~~~~~~~~~~~ drgenius_config.cc:454:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 454 | connectWithData (xmlPropertyBox, "pointRed", | ^~~~~~~~~~ drgenius_config.cc:456:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 456 | connectWithData (xmlPropertyBox, "pointOrange", | ^~~~~~~~~~~~~ drgenius_config.cc:458:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 458 | connectWithData (xmlPropertyBox, "pointYellow", | ^~~~~~~~~~~~~ drgenius_config.cc:461:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 461 | connectWithData (xmlPropertyBox, "pointRound", | ^~~~~~~~~~~~ drgenius_config.cc:463:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 463 | connectWithData (xmlPropertyBox, "pointSquare", | ^~~~~~~~~~~~~ drgenius_config.cc:465:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 465 | connectWithData (xmlPropertyBox, "pointCross", | ^~~~~~~~~~~~ drgenius_config.cc:467:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 467 | connectWithData (xmlPropertyBox, "pointRoundEmpty", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:469:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 469 | connectWithData (xmlPropertyBox, "pointSquareEmpty", | ^~~~~~~~~~~~~~~~~~ drgenius_config.cc:472:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 472 | connectWithData (xmlPropertyBox, "pointSmall", | ^~~~~~~~~~~~ drgenius_config.cc:474:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 474 | connectWithData (xmlPropertyBox, "pointNormal", | ^~~~~~~~~~~~~ drgenius_config.cc:476:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 476 | connectWithData (xmlPropertyBox, "pointLarge", | ^~~~~~~~~~~~ drgenius_config.cc:480:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 480 | connectWithData (xmlPropertyBox, "polygonBlack", | ^~~~~~~~~~~~~~ drgenius_config.cc:482:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 482 | connectWithData (xmlPropertyBox, "polygonDarkgrey", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:484:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 484 | connectWithData (xmlPropertyBox, "polygonGrey", | ^~~~~~~~~~~~~ drgenius_config.cc:486:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 486 | connectWithData (xmlPropertyBox, "polygonWhite", | ^~~~~~~~~~~~~~ drgenius_config.cc:488:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 488 | connectWithData (xmlPropertyBox, "polygonDarkgreen", | ^~~~~~~~~~~~~~~~~~ drgenius_config.cc:490:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 490 | connectWithData (xmlPropertyBox, "polygonGreen", | ^~~~~~~~~~~~~~ drgenius_config.cc:492:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 492 | connectWithData (xmlPropertyBox, "polygonDarkblue", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:494:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 494 | connectWithData (xmlPropertyBox, "polygonBlue", | ^~~~~~~~~~~~~ drgenius_config.cc:496:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 496 | connectWithData (xmlPropertyBox, "polygonBordeaux", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:498:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 498 | connectWithData (xmlPropertyBox, "polygonRed", | ^~~~~~~~~~~~ drgenius_config.cc:500:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 500 | connectWithData (xmlPropertyBox, "polygonOrange", | ^~~~~~~~~~~~~~~ drgenius_config.cc:502:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 502 | connectWithData (xmlPropertyBox, "polygonYellow", | ^~~~~~~~~~~~~~~ drgenius_config.cc:506:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 506 | connectWithData (xmlPropertyBox, "segmentBlack", | ^~~~~~~~~~~~~~ drgenius_config.cc:508:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 508 | connectWithData (xmlPropertyBox, "segmentDarkgrey", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:510:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 510 | connectWithData (xmlPropertyBox, "segmentGrey", | ^~~~~~~~~~~~~ drgenius_config.cc:512:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 512 | connectWithData (xmlPropertyBox, "segmentWhite", | ^~~~~~~~~~~~~~ drgenius_config.cc:514:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 514 | connectWithData (xmlPropertyBox, "segmentDarkgreen", | ^~~~~~~~~~~~~~~~~~ drgenius_config.cc:516:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 516 | connectWithData (xmlPropertyBox, "segmentGreen", | ^~~~~~~~~~~~~~ drgenius_config.cc:518:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 518 | connectWithData (xmlPropertyBox, "segmentDarkblue", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:520:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 520 | connectWithData (xmlPropertyBox, "segmentBlue", | ^~~~~~~~~~~~~ drgenius_config.cc:522:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 522 | connectWithData (xmlPropertyBox, "segmentBordeaux", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:524:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 524 | connectWithData (xmlPropertyBox, "segmentRed", | ^~~~~~~~~~~~ drgenius_config.cc:526:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 526 | connectWithData (xmlPropertyBox, "segmentOrange", | ^~~~~~~~~~~~~~~ drgenius_config.cc:528:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 528 | connectWithData (xmlPropertyBox, "segmentYellow", | ^~~~~~~~~~~~~~~ drgenius_config.cc:531:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 531 | connectWithData (xmlPropertyBox, "segmentSmall", | ^~~~~~~~~~~~~~ drgenius_config.cc:533:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 533 | connectWithData (xmlPropertyBox, "segmentNormal", | ^~~~~~~~~~~~~~~ drgenius_config.cc:535:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 535 | connectWithData (xmlPropertyBox, "segmentLarge", | ^~~~~~~~~~~~~~ drgenius_config.cc:538:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 538 | connectWithData (xmlPropertyBox, "halflineBlack", | ^~~~~~~~~~~~~~~ drgenius_config.cc:540:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 540 | connectWithData (xmlPropertyBox, "halflineDarkgrey", | ^~~~~~~~~~~~~~~~~~ drgenius_config.cc:542:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 542 | connectWithData (xmlPropertyBox, "halflineGrey", | ^~~~~~~~~~~~~~ drgenius_config.cc:544:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 544 | connectWithData (xmlPropertyBox, "halflineWhite", | ^~~~~~~~~~~~~~~ drgenius_config.cc:546:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 546 | connectWithData (xmlPropertyBox, "halflineDarkgreen", | ^~~~~~~~~~~~~~~~~~~ drgenius_config.cc:548:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 548 | connectWithData (xmlPropertyBox, "halflineGreen", | ^~~~~~~~~~~~~~~ drgenius_config.cc:550:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 550 | connectWithData (xmlPropertyBox, "halflineDarkblue", | ^~~~~~~~~~~~~~~~~~ drgenius_config.cc:552:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 552 | connectWithData (xmlPropertyBox, "halflineBlue", | ^~~~~~~~~~~~~~ drgenius_config.cc:554:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 554 | connectWithData (xmlPropertyBox, "halflineBordeaux", | ^~~~~~~~~~~~~~~~~~ drgenius_config.cc:556:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 556 | connectWithData (xmlPropertyBox, "halflineRed", | ^~~~~~~~~~~~~ drgenius_config.cc:558:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 558 | connectWithData (xmlPropertyBox, "halflineOrange", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:560:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 560 | connectWithData (xmlPropertyBox, "halflineYellow", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:563:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 563 | connectWithData (xmlPropertyBox, "halflineSmall", | ^~~~~~~~~~~~~~~ drgenius_config.cc:565:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 565 | connectWithData (xmlPropertyBox, "halflineNormal", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:567:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 567 | connectWithData (xmlPropertyBox, "halflineLarge", | ^~~~~~~~~~~~~~~ drgenius_config.cc:570:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 570 | connectWithData (xmlPropertyBox, "lineBlack", | ^~~~~~~~~~~ drgenius_config.cc:572:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 572 | connectWithData (xmlPropertyBox, "lineDarkgrey", | ^~~~~~~~~~~~~~ drgenius_config.cc:574:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 574 | connectWithData (xmlPropertyBox, "lineGrey", | ^~~~~~~~~~ drgenius_config.cc:576:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 576 | connectWithData (xmlPropertyBox, "lineWhite", | ^~~~~~~~~~~ drgenius_config.cc:578:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 578 | connectWithData (xmlPropertyBox, "lineDarkgreen", | ^~~~~~~~~~~~~~~ drgenius_config.cc:580:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 580 | connectWithData (xmlPropertyBox, "lineGreen", | ^~~~~~~~~~~ drgenius_config.cc:582:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 582 | connectWithData (xmlPropertyBox, "lineDarkblue", | ^~~~~~~~~~~~~~ drgenius_config.cc:584:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 584 | connectWithData (xmlPropertyBox, "lineBlue", | ^~~~~~~~~~ drgenius_config.cc:586:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 586 | connectWithData (xmlPropertyBox, "lineBordeaux", | ^~~~~~~~~~~~~~ drgenius_config.cc:588:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 588 | connectWithData (xmlPropertyBox, "lineRed", | ^~~~~~~~~ drgenius_config.cc:590:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 590 | connectWithData (xmlPropertyBox, "lineOrange", | ^~~~~~~~~~~~ drgenius_config.cc:592:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 592 | connectWithData (xmlPropertyBox, "lineYellow", | ^~~~~~~~~~~~ drgenius_config.cc:595:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 595 | connectWithData (xmlPropertyBox, "lineSmall", | ^~~~~~~~~~~ drgenius_config.cc:597:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 597 | connectWithData (xmlPropertyBox, "lineNormal", | ^~~~~~~~~~~~ drgenius_config.cc:599:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 599 | connectWithData (xmlPropertyBox, "lineLarge", | ^~~~~~~~~~~ drgenius_config.cc:602:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 602 | connectWithData (xmlPropertyBox, "vectorBlack", | ^~~~~~~~~~~~~ drgenius_config.cc:604:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 604 | connectWithData (xmlPropertyBox, "vectorDarkgrey", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:606:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 606 | connectWithData (xmlPropertyBox, "vectorGrey", | ^~~~~~~~~~~~ drgenius_config.cc:608:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 608 | connectWithData (xmlPropertyBox, "vectorWhite", | ^~~~~~~~~~~~~ drgenius_config.cc:610:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 610 | connectWithData (xmlPropertyBox, "vectorDarkgreen", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:612:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 612 | connectWithData (xmlPropertyBox, "vectorGreen", | ^~~~~~~~~~~~~ drgenius_config.cc:614:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 614 | connectWithData (xmlPropertyBox, "vectorDarkblue", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:616:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 616 | connectWithData (xmlPropertyBox, "vectorBlue", | ^~~~~~~~~~~~ drgenius_config.cc:618:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 618 | connectWithData (xmlPropertyBox, "vectorBordeaux", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:620:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 620 | connectWithData (xmlPropertyBox, "vectorRed", | ^~~~~~~~~~~ drgenius_config.cc:622:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 622 | connectWithData (xmlPropertyBox, "vectorOrange", | ^~~~~~~~~~~~~~ drgenius_config.cc:624:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 624 | connectWithData (xmlPropertyBox, "vectorYellow", | ^~~~~~~~~~~~~~ drgenius_config.cc:627:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 627 | connectWithData (xmlPropertyBox, "vectorSmall", | ^~~~~~~~~~~~~ drgenius_config.cc:629:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 629 | connectWithData (xmlPropertyBox, "vectorNormal", | ^~~~~~~~~~~~~~ drgenius_config.cc:631:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 631 | connectWithData (xmlPropertyBox, "vectorLarge", | ^~~~~~~~~~~~~ drgenius_config.cc:634:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 634 | connectWithData (xmlPropertyBox, "circleBlack", | ^~~~~~~~~~~~~ drgenius_config.cc:636:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 636 | connectWithData (xmlPropertyBox, "circleDarkgrey", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:638:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 638 | connectWithData (xmlPropertyBox, "circleGrey", | ^~~~~~~~~~~~ drgenius_config.cc:640:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 640 | connectWithData (xmlPropertyBox, "circleWhite", | ^~~~~~~~~~~~~ drgenius_config.cc:642:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 642 | connectWithData (xmlPropertyBox, "circleDarkgreen", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:644:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 644 | connectWithData (xmlPropertyBox, "circleGreen", | ^~~~~~~~~~~~~ drgenius_config.cc:646:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 646 | connectWithData (xmlPropertyBox, "circleDarkblue", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:648:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 648 | connectWithData (xmlPropertyBox, "circleBlue", | ^~~~~~~~~~~~ drgenius_config.cc:650:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 650 | connectWithData (xmlPropertyBox, "circleBordeaux", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:652:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 652 | connectWithData (xmlPropertyBox, "circleRed", | ^~~~~~~~~~~ drgenius_config.cc:654:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 654 | connectWithData (xmlPropertyBox, "circleOrange", | ^~~~~~~~~~~~~~ drgenius_config.cc:656:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 656 | connectWithData (xmlPropertyBox, "circleYellow", | ^~~~~~~~~~~~~~ drgenius_config.cc:659:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 659 | connectWithData (xmlPropertyBox, "circleSmall", | ^~~~~~~~~~~~~ drgenius_config.cc:661:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 661 | connectWithData (xmlPropertyBox, "circleNormal", | ^~~~~~~~~~~~~~ drgenius_config.cc:663:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 663 | connectWithData (xmlPropertyBox, "circleLarge", | ^~~~~~~~~~~~~ drgenius_config.cc:666:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 666 | connectWithData (xmlPropertyBox, "arccircleBlack", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:668:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 668 | connectWithData (xmlPropertyBox, "arccircleDarkgrey", | ^~~~~~~~~~~~~~~~~~~ drgenius_config.cc:670:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 670 | connectWithData (xmlPropertyBox, "arccircleGrey", | ^~~~~~~~~~~~~~~ drgenius_config.cc:672:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 672 | connectWithData (xmlPropertyBox, "arccircleWhite", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:674:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 674 | connectWithData (xmlPropertyBox, "arccircleDarkgreen", | ^~~~~~~~~~~~~~~~~~~~ drgenius_config.cc:676:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 676 | connectWithData (xmlPropertyBox, "arccircleGreen", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:678:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 678 | connectWithData (xmlPropertyBox, "arccircleDarkblue", | ^~~~~~~~~~~~~~~~~~~ drgenius_config.cc:680:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 680 | connectWithData (xmlPropertyBox, "arccircleBlue", | ^~~~~~~~~~~~~~~ drgenius_config.cc:682:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 682 | connectWithData (xmlPropertyBox, "arccircleBordeaux", | ^~~~~~~~~~~~~~~~~~~ drgenius_config.cc:684:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 684 | connectWithData (xmlPropertyBox, "arccircleRed", | ^~~~~~~~~~~~~~ drgenius_config.cc:686:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 686 | connectWithData (xmlPropertyBox, "arccircleOrange", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:688:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 688 | connectWithData (xmlPropertyBox, "arccircleYellow", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:691:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 691 | connectWithData (xmlPropertyBox, "arccircleSmall", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:693:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 693 | connectWithData (xmlPropertyBox, "arccircleNormal", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:695:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 695 | connectWithData (xmlPropertyBox, "arccircleLarge", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:698:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 698 | connectWithData (xmlPropertyBox, "locusBlack", | ^~~~~~~~~~~~ drgenius_config.cc:700:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 700 | connectWithData (xmlPropertyBox, "locusDarkgrey", | ^~~~~~~~~~~~~~~ drgenius_config.cc:702:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 702 | connectWithData (xmlPropertyBox, "locusGrey", | ^~~~~~~~~~~ drgenius_config.cc:704:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 704 | connectWithData (xmlPropertyBox, "locusWhite", | ^~~~~~~~~~~~ drgenius_config.cc:706:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 706 | connectWithData (xmlPropertyBox, "locusDarkgreen", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:708:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 708 | connectWithData (xmlPropertyBox, "locusGreen", | ^~~~~~~~~~~~ drgenius_config.cc:710:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 710 | connectWithData (xmlPropertyBox, "locusDarkblue", | ^~~~~~~~~~~~~~~ drgenius_config.cc:712:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 712 | connectWithData (xmlPropertyBox, "locusBlue", | ^~~~~~~~~~~ drgenius_config.cc:714:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 714 | connectWithData (xmlPropertyBox, "locusBordeaux", | ^~~~~~~~~~~~~~~ drgenius_config.cc:716:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 716 | connectWithData (xmlPropertyBox, "locusRed", | ^~~~~~~~~~ drgenius_config.cc:718:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 718 | connectWithData (xmlPropertyBox, "locusOrange", | ^~~~~~~~~~~~~ drgenius_config.cc:720:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 720 | connectWithData (xmlPropertyBox, "locusYellow", | ^~~~~~~~~~~~~ drgenius_config.cc:723:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 723 | connectWithData (xmlPropertyBox, "locusSmall", | ^~~~~~~~~~~~ drgenius_config.cc:725:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 725 | connectWithData (xmlPropertyBox, "locusNormal", | ^~~~~~~~~~~~~ drgenius_config.cc:727:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 727 | connectWithData (xmlPropertyBox, "locusLarge", | ^~~~~~~~~~~~ drgenius_config.cc:730:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 730 | connectWithData (xmlPropertyBox, "angleBlack", | ^~~~~~~~~~~~ drgenius_config.cc:732:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 732 | connectWithData (xmlPropertyBox, "angleDarkgrey", | ^~~~~~~~~~~~~~~ drgenius_config.cc:734:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 734 | connectWithData (xmlPropertyBox, "angleGrey", | ^~~~~~~~~~~ drgenius_config.cc:736:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 736 | connectWithData (xmlPropertyBox, "angleWhite", | ^~~~~~~~~~~~ drgenius_config.cc:738:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 738 | connectWithData (xmlPropertyBox, "angleDarkgreen", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:740:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 740 | connectWithData (xmlPropertyBox, "angleGreen", | ^~~~~~~~~~~~ drgenius_config.cc:742:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 742 | connectWithData (xmlPropertyBox, "angleDarkblue", | ^~~~~~~~~~~~~~~ drgenius_config.cc:744:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 744 | connectWithData (xmlPropertyBox, "angleBlue", | ^~~~~~~~~~~ drgenius_config.cc:746:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 746 | connectWithData (xmlPropertyBox, "angleBordeaux", | ^~~~~~~~~~~~~~~ drgenius_config.cc:748:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 748 | connectWithData (xmlPropertyBox, "angleRed", | ^~~~~~~~~~ drgenius_config.cc:750:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 750 | connectWithData (xmlPropertyBox, "angleOrange", | ^~~~~~~~~~~~~ drgenius_config.cc:752:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 752 | connectWithData (xmlPropertyBox, "angleYellow", | ^~~~~~~~~~~~~ drgenius_config.cc:755:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 755 | connectWithData (xmlPropertyBox, "angleSmall", | ^~~~~~~~~~~~ drgenius_config.cc:757:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 757 | connectWithData (xmlPropertyBox, "angleNormal", | ^~~~~~~~~~~~~ drgenius_config.cc:759:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 759 | connectWithData (xmlPropertyBox, "angleLarge", | ^~~~~~~~~~~~ drgenius_config.cc:762:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 762 | connectWithData (xmlPropertyBox, "scalarBlack", | ^~~~~~~~~~~~~ drgenius_config.cc:764:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 764 | connectWithData (xmlPropertyBox, "scalarDarkgrey", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:766:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 766 | connectWithData (xmlPropertyBox, "scalarGrey", | ^~~~~~~~~~~~ drgenius_config.cc:768:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 768 | connectWithData (xmlPropertyBox, "scalarWhite", | ^~~~~~~~~~~~~ drgenius_config.cc:770:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 770 | connectWithData (xmlPropertyBox, "scalarDarkgreen", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc:772:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 772 | connectWithData (xmlPropertyBox, "scalarGreen", | ^~~~~~~~~~~~~ drgenius_config.cc:774:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 774 | connectWithData (xmlPropertyBox, "scalarDarkblue", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:776:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 776 | connectWithData (xmlPropertyBox, "scalarBlue", | ^~~~~~~~~~~~ drgenius_config.cc:778:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 778 | connectWithData (xmlPropertyBox, "scalarBordeaux", | ^~~~~~~~~~~~~~~~ drgenius_config.cc:780:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 780 | connectWithData (xmlPropertyBox, "scalarRed", | ^~~~~~~~~~~ drgenius_config.cc:782:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 782 | connectWithData (xmlPropertyBox, "scalarOrange", | ^~~~~~~~~~~~~~ drgenius_config.cc:784:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 784 | connectWithData (xmlPropertyBox, "scalarYellow", | ^~~~~~~~~~~~~~ drgenius_config.cc: In function 'void setDialogColor(gchar*, drgeoColorType)': drgenius_config.cc:803:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 803 | drgeoConfigSetDialog (attr, "Black"); | ^~~~~~~ drgenius_config.cc:806:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 806 | drgeoConfigSetDialog (attr, "Darkgrey"); | ^~~~~~~~~~ drgenius_config.cc:809:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 809 | drgeoConfigSetDialog (attr, "Grey"); | ^~~~~~ drgenius_config.cc:812:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 812 | drgeoConfigSetDialog (attr, "White"); | ^~~~~~~ drgenius_config.cc:815:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 815 | drgeoConfigSetDialog (attr, "Darkgreen"); | ^~~~~~~~~~~ drgenius_config.cc:818:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 818 | drgeoConfigSetDialog (attr, "Green"); | ^~~~~~~ drgenius_config.cc:821:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 821 | drgeoConfigSetDialog (attr, "Darkblue"); | ^~~~~~~~~~ drgenius_config.cc:824:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 824 | drgeoConfigSetDialog (attr, "Blue"); | ^~~~~~ drgenius_config.cc:827:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 827 | drgeoConfigSetDialog (attr, "Bordeaux"); | ^~~~~~~~~~ drgenius_config.cc:830:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 830 | drgeoConfigSetDialog (attr, "Red"); | ^~~~~ drgenius_config.cc:833:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 833 | drgeoConfigSetDialog (attr, "Orange"); | ^~~~~~~~ drgenius_config.cc:836:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 836 | drgeoConfigSetDialog (attr, "Yellow"); | ^~~~~~~~ drgenius_config.cc:800:14: warning: enumeration value 'drgeoColorTips' not handled in switch [-Wswitch] 800 | switch (color) | ^ drgenius_config.cc:800:14: warning: enumeration value 'drgeoColorPrintingArea' not handled in switch [-Wswitch] drgenius_config.cc:800:14: warning: enumeration value 'drgeoColorNumber' not handled in switch [-Wswitch] drgenius_config.cc: In function 'void setDialogStyle(gchar*, drgeoThicknessType)': drgenius_config.cc:847:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 847 | drgeoConfigSetDialog (attr, "Small"); | ^~~~~~~ drgenius_config.cc:850:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 850 | drgeoConfigSetDialog (attr, "Normal"); | ^~~~~~~~ drgenius_config.cc:853:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 853 | drgeoConfigSetDialog (attr, "Large"); | ^~~~~~~ drgenius_config.cc: In function 'void on_pointColor_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:866:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 866 | setDialogColor (":pointColor", | ^~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_pointShape_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:881:33: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 881 | drgeoConfigSetDialog (":pointShape", "Round"); | ^~~~~~~~~~~~~ drgenius_config.cc:881:48: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 881 | drgeoConfigSetDialog (":pointShape", "Round"); | ^~~~~~~ drgenius_config.cc:884:33: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 884 | drgeoConfigSetDialog (":pointShape", "Cross"); | ^~~~~~~~~~~~~ drgenius_config.cc:884:48: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 884 | drgeoConfigSetDialog (":pointShape", "Cross"); | ^~~~~~~ drgenius_config.cc:887:33: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 887 | drgeoConfigSetDialog (":pointShape", "Squarre"); | ^~~~~~~~~~~~~ drgenius_config.cc:887:48: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 887 | drgeoConfigSetDialog (":pointShape", "Squarre"); | ^~~~~~~~~ drgenius_config.cc:890:33: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 890 | drgeoConfigSetDialog (":pointShape", "RoundEmpty"); | ^~~~~~~~~~~~~ drgenius_config.cc:890:48: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 890 | drgeoConfigSetDialog (":pointShape", "RoundEmpty"); | ^~~~~~~~~~~~ drgenius_config.cc:893:33: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 893 | drgeoConfigSetDialog (":pointShape", "SquareEmpty"); | ^~~~~~~~~~~~~ drgenius_config.cc:893:48: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 893 | drgeoConfigSetDialog (":pointShape", "SquareEmpty"); | ^~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_pointSize_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:902:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 902 | setDialogStyle (":pointSize", | ^~~~~~~~~~~~ drgenius_config.cc: In function 'void on_polygonColor_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:911:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 911 | setDialogColor (":polygonColor", | ^~~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_segmentColor_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:920:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 920 | setDialogColor (":segmentColor", | ^~~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_segmentStyle_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:927:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 927 | setDialogStyle (":segmentStyle", | ^~~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_halflineColor_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:936:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 936 | setDialogColor (":halfLineColor", | ^~~~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_halflineStyle_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:943:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 943 | setDialogStyle (":halfLineStyle", | ^~~~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_lineColor_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:952:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 952 | setDialogColor (":lineColor", | ^~~~~~~~~~~~ drgenius_config.cc: In function 'void on_lineStyle_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:959:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 959 | setDialogStyle (":lineStyle", | ^~~~~~~~~~~~ drgenius_config.cc: In function 'void on_vectorColor_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:968:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 968 | setDialogColor (":vectorColor", | ^~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_vectorStyle_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:975:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 975 | setDialogStyle (":vectorStyle", | ^~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_circleColor_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:984:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 984 | setDialogColor (":circleColor", | ^~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_circleStyle_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:991:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 991 | setDialogStyle (":circleStyle", | ^~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_arccircleColor_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:1000:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1000 | setDialogColor (":arcCircleColor", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_arccircleStyle_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:1007:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1007 | setDialogStyle (":arcCircleStyle", | ^~~~~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_locusColor_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:1016:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1016 | setDialogColor (":locusColor", | ^~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_locusStyle_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:1023:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1023 | setDialogStyle (":locusStyle", | ^~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_angleColor_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:1032:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1032 | setDialogColor (":angleColor", | ^~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_angleStyle_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:1039:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1039 | setDialogStyle (":angleStyle", | ^~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_scalarColor_toggled(GtkToggleButton*, gpointer)': drgenius_config.cc:1048:21: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1048 | setDialogColor (":scalarColor", | ^~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_numeric_changed(GtkWidget*, gpointer)': drgenius_config.cc:1058:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1058 | drgeoConfigSetDialog (":numericPrecision", str); | ^~~~~~~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_undo_changed(GtkWidget*, gpointer)': drgenius_config.cc:1069:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1069 | drgeoConfigSetDialog (":undoLevel", str); | ^~~~~~~~~~~~ drgenius_config.cc: In function 'void on_figureName_changed(GtkWidget*, gpointer)': drgenius_config.cc:1074:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1074 | drgeoConfigSetDialog (":figureName", (gchar *) | ^~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_htmlViewer_changed(GtkWidget*, gpointer)': drgenius_config.cc:1079:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1079 | drgeoConfigSetDialog (":htmlViewer", (gchar *) | ^~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_figureFile_changed(GtkWidget*, gpointer)': drgenius_config.cc:1084:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1084 | drgeoConfigSetDialog (":figureFile", (gchar *) | ^~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_sessionFile_changed(GtkWidget*, gpointer)': drgenius_config.cc:1089:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1089 | drgeoConfigSetDialog (":sessionFile", (gchar *) | ^~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_flydrawFile_changed(GtkWidget*, gpointer)': drgenius_config.cc:1094:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1094 | drgeoConfigSetDialog (":flydrawFile", (gchar *) | ^~~~~~~~~~~~~~ drgenius_config.cc: In function 'void on_latexFile_changed(GtkWidget*, gpointer)': drgenius_config.cc:1099:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1099 | drgeoConfigSetDialog (":latexFile", (gchar *) | ^~~~~~~~~~~~ drgenius_config.cc: In function 'void on_psFile_changed(GtkWidget*, gpointer)': drgenius_config.cc:1104:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 1104 | drgeoConfigSetDialog (":psFile", (gchar *) | ^~~~~~~~~ drgenius_config.h: At global scope: drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ drgenius_config.cc:55:1: warning: 'void drgeoConfigSet(gchar*, gchar*)' defined but not used [-Wunused-function] 55 | drgeoConfigSet(gchar *attr, gchar *value) | ^~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_SCMDIR=\""/usr/share/drgeo/scm"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_ICONDIR=\""/usr/share/pixmaps"\" -I/usr/include -I./geo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_adaptDialog.o `test -f 'drgeo_adaptDialog.cc' || echo './'`drgeo_adaptDialog.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_SCMDIR=\""/usr/share/drgeo/scm"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_ICONDIR=\""/usr/share/pixmaps"\" -I/usr/include -I./geo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgenius_view.o `test -f 'drgenius_view.cc' || echo './'`drgenius_view.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from /usr/include/libglade-2.0/glade/glade-xml.h:26, from /usr/include/libglade-2.0/glade/glade.h:28, from drgeo_adaptDialog.cc:30: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/libglade-2.0/glade/glade.h:25: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from geo_view.h:27, from drgeo_adaptDialog.h:29, from drgeo_adaptDialog.cc:31: ./geo/drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': ./geo/drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': ./geo/drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': ./geo/drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': ./geo/drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from ./geo/drgeo_figure.h:37, from drgeo_adaptDialog.cc:32: ./geo/drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': ./geo/drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ In file included from drgeo_adaptDialog.cc:34: drgenius_mdi.h: At global scope: drgenius_mdi.h:98:74: warning: 'visibility' attribute ignored [-Wattributes] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^ drgeo_adaptDialog.cc:47:5: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 47 | { "pointMenu", "curveMenu", "transformationMenu", "numericMenu", | ^~~~~~~~~~~ drgeo_adaptDialog.cc:47:18: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 47 | { "pointMenu", "curveMenu", "transformationMenu", "numericMenu", | ^~~~~~~~~~~ drgeo_adaptDialog.cc:47:31: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 47 | { "pointMenu", "curveMenu", "transformationMenu", "numericMenu", | ^~~~~~~~~~~~~~~~~~~~ drgeo_adaptDialog.cc:47:53: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 47 | { "pointMenu", "curveMenu", "transformationMenu", "numericMenu", | ^~~~~~~~~~~~~ drgeo_adaptDialog.cc:48:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 48 | "macroMenu", "otherMenu", "moveItem", "freePoint", "middle", | ^~~~~~~~~~~ drgeo_adaptDialog.cc:48:16: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 48 | "macroMenu", "otherMenu", "moveItem", "freePoint", "middle", | ^~~~~~~~~~~ drgeo_adaptDialog.cc:48:29: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 48 | "macroMenu", "otherMenu", "moveItem", "freePoint", "middle", | ^~~~~~~~~~ drgeo_adaptDialog.cc:48:41: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 48 | "macroMenu", "otherMenu", "moveItem", "freePoint", "middle", | ^~~~~~~~~~~ drgeo_adaptDialog.cc:48:54: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 48 | "macroMenu", "otherMenu", "moveItem", "freePoint", "middle", | ^~~~~~~~ drgeo_adaptDialog.cc:49:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | "intersection", "coordinatesPoint", "line", "halfLine", "segment", | ^~~~~~~~~~~~~~ drgeo_adaptDialog.cc:49:19: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | "intersection", "coordinatesPoint", "line", "halfLine", "segment", | ^~~~~~~~~~~~~~~~~~ drgeo_adaptDialog.cc:49:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | "intersection", "coordinatesPoint", "line", "halfLine", "segment", | ^~~~~~ drgeo_adaptDialog.cc:49:47: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | "intersection", "coordinatesPoint", "line", "halfLine", "segment", | ^~~~~~~~~~ drgeo_adaptDialog.cc:49:59: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 49 | "intersection", "coordinatesPoint", "line", "halfLine", "segment", | ^~~~~~~~~ drgeo_adaptDialog.cc:50:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 50 | "vector", "circle", "arcCircle", "locus", "polygon", | ^~~~~~~~ drgeo_adaptDialog.cc:50:13: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 50 | "vector", "circle", "arcCircle", "locus", "polygon", | ^~~~~~~~ drgeo_adaptDialog.cc:50:23: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 50 | "vector", "circle", "arcCircle", "locus", "polygon", | ^~~~~~~~~~~ drgeo_adaptDialog.cc:50:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 50 | "vector", "circle", "arcCircle", "locus", "polygon", | ^~~~~~~ drgeo_adaptDialog.cc:50:45: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 50 | "vector", "circle", "arcCircle", "locus", "polygon", | ^~~~~~~~~ drgeo_adaptDialog.cc:51:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 51 | "parallel", "perpendicular", "reflexion", "symmetry", "translation", | ^~~~~~~~~~ drgeo_adaptDialog.cc:51:15: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 51 | "parallel", "perpendicular", "reflexion", "symmetry", "translation", | ^~~~~~~~~~~~~~~ drgeo_adaptDialog.cc:51:32: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 51 | "parallel", "perpendicular", "reflexion", "symmetry", "translation", | ^~~~~~~~~~~ drgeo_adaptDialog.cc:51:45: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 51 | "parallel", "perpendicular", "reflexion", "symmetry", "translation", | ^~~~~~~~~~ drgeo_adaptDialog.cc:51:57: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 51 | "parallel", "perpendicular", "reflexion", "symmetry", "translation", | ^~~~~~~~~~~~~ drgeo_adaptDialog.cc:52:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 52 | "rotation", "scale", "distance", "angle", "equation", "script", | ^~~~~~~~~~ drgeo_adaptDialog.cc:52:15: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 52 | "rotation", "scale", "distance", "angle", "equation", "script", | ^~~~~~~ drgeo_adaptDialog.cc:52:24: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 52 | "rotation", "scale", "distance", "angle", "equation", "script", | ^~~~~~~~~~ drgeo_adaptDialog.cc:52:36: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 52 | "rotation", "scale", "distance", "angle", "equation", "script", | ^~~~~~~ drgeo_adaptDialog.cc:52:45: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 52 | "rotation", "scale", "distance", "angle", "equation", "script", | ^~~~~~~~~~ drgeo_adaptDialog.cc:52:57: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 52 | "rotation", "scale", "distance", "angle", "equation", "script", | ^~~~~~~~ drgeo_adaptDialog.cc:53:3: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 53 | "buildMacro", "runMacro", "deleteItem", "styleItem", "propertyItem" | ^~~~~~~~~~~~ drgeo_adaptDialog.cc:53:17: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 53 | "buildMacro", "runMacro", "deleteItem", "styleItem", "propertyItem" | ^~~~~~~~~~ drgeo_adaptDialog.cc:53:29: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 53 | "buildMacro", "runMacro", "deleteItem", "styleItem", "propertyItem" | ^~~~~~~~~~~~ drgeo_adaptDialog.cc:53:43: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 53 | "buildMacro", "runMacro", "deleteItem", "styleItem", "propertyItem" | ^~~~~~~~~~~ drgeo_adaptDialog.cc:53:56: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 53 | "buildMacro", "runMacro", "deleteItem", "styleItem", "propertyItem" | ^~~~~~~~~~~~~~ drgeo_adaptDialog.cc: In function 'void on_pointMenuHide_clicked(GtkWidget*, gpointer)': drgeo_adaptDialog.cc:123:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 123 | setSensitiveState ("freePoint", activated); | ^~~~~~~~~~~ drgeo_adaptDialog.cc:124:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 124 | setSensitiveState ("middle", activated); | ^~~~~~~~ drgeo_adaptDialog.cc:125:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 125 | setSensitiveState ("intersection", activated); | ^~~~~~~~~~~~~~ drgeo_adaptDialog.cc:126:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 126 | setSensitiveState ("coordinatesPoint", activated); | ^~~~~~~~~~~~~~~~~~ drgeo_adaptDialog.cc: In function 'void on_curveMenuHide_clicked(GtkWidget*, gpointer)': drgeo_adaptDialog.cc:138:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 138 | setSensitiveState ("line", activated); | ^~~~~~ drgeo_adaptDialog.cc:139:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 139 | setSensitiveState ("halfLine", activated); | ^~~~~~~~~~ drgeo_adaptDialog.cc:140:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 140 | setSensitiveState ("segment", activated); | ^~~~~~~~~ drgeo_adaptDialog.cc:141:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 141 | setSensitiveState ("vector", activated); | ^~~~~~~~ drgeo_adaptDialog.cc:142:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 142 | setSensitiveState ("circle", activated); | ^~~~~~~~ drgeo_adaptDialog.cc:143:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 143 | setSensitiveState ("arcCircle", activated); | ^~~~~~~~~~~ drgeo_adaptDialog.cc:144:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 144 | setSensitiveState ("locus", activated); | ^~~~~~~ drgeo_adaptDialog.cc:145:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 145 | setSensitiveState ("polygon", activated); | ^~~~~~~~~ drgeo_adaptDialog.cc: In function 'void on_transformationMenuHide_clicked(GtkWidget*, gpointer)': drgeo_adaptDialog.cc:156:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 156 | setSensitiveState ("parallel", activated); | ^~~~~~~~~~ drgeo_adaptDialog.cc:157:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 157 | setSensitiveState ("perpendicular", activated); | ^~~~~~~~~~~~~~~ drgeo_adaptDialog.cc:158:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 158 | setSensitiveState ("reflexion", activated); | ^~~~~~~~~~~ drgeo_adaptDialog.cc:159:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 159 | setSensitiveState ("symmetry", activated); | ^~~~~~~~~~ drgeo_adaptDialog.cc:160:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 160 | setSensitiveState ("translation", activated); | ^~~~~~~~~~~~~ drgeo_adaptDialog.cc:161:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 161 | setSensitiveState ("rotation", activated); | ^~~~~~~~~~ drgeo_adaptDialog.cc:162:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 162 | setSensitiveState ("scale", activated); | ^~~~~~~ drgeo_adaptDialog.cc: In function 'void on_numericMenuHide_clicked(GtkWidget*, gpointer)': drgeo_adaptDialog.cc:173:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 173 | setSensitiveState ("distance", activated); | ^~~~~~~~~~ drgeo_adaptDialog.cc:174:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 174 | setSensitiveState ("angle", activated); | ^~~~~~~ drgeo_adaptDialog.cc:175:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 175 | setSensitiveState ("equation", activated); | ^~~~~~~~~~ drgeo_adaptDialog.cc:176:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 176 | setSensitiveState ("script", activated); | ^~~~~~~~ drgeo_adaptDialog.cc: In function 'void on_macroMenuHide_clicked(GtkWidget*, gpointer)': drgeo_adaptDialog.cc:187:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 187 | setSensitiveState ("buildMacro", activated); | ^~~~~~~~~~~~ drgeo_adaptDialog.cc:188:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 188 | setSensitiveState ("runMacro", activated); | ^~~~~~~~~~ drgeo_adaptDialog.cc: In function 'void on_otherMenuHide_clicked(GtkWidget*, gpointer)': drgeo_adaptDialog.cc:199:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 199 | setSensitiveState ("moveItem", activated); | ^~~~~~~~~~ drgeo_adaptDialog.cc:200:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 200 | setSensitiveState ("deleteItem", activated); | ^~~~~~~~~~~~ drgeo_adaptDialog.cc:201:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 201 | setSensitiveState ("styleItem", activated); | ^~~~~~~~~~~ drgeo_adaptDialog.cc:202:22: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 202 | setSensitiveState ("propertyItem", activated); | ^~~~~~~~~~~~~~ In file included from ./geo/drgeo_figure.h:39: ./drgenius_config.h: At global scope: ./drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ./drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ./drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ./drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from drgeo_adaptDialog.cc:33: ./geo/drgeo_menu.h:43:1: warning: 'gboolean showGeoMenu(GtkWidget*, GdkEvent*)' declared 'static' but never defined [-Wunused-function] 43 | showGeoMenu (GtkWidget *menu, GdkEvent *event ); | ^~~~~~~~~~~ drgenius_mdi.h:84:13: warning: 'void dialogSaveSession_response(gint, GtkTreeSelection*)' declared 'static' but never defined [-Wunused-function] 84 | static void dialogSaveSession_response (gint r, GtkTreeSelection *select); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drgenius_mdi.h:85:13: warning: 'void saveSelectedRow(GtkTreeModel*, GtkTreePath*, GtkTreeIter*, gpointer)' declared 'static' but never defined [-Wunused-function] 85 | static void saveSelectedRow (GtkTreeModel *model, GtkTreePath *path, | ^~~~~~~~~~~~~~~ drgenius_mdi.h:87:13: warning: 'void on_notebook_switchPage(GtkNotebook*, GtkNotebookPage*, gint, gpointer)' declared 'static' but never defined [-Wunused-function] 87 | static void on_notebook_switchPage (GtkNotebook *notebook, | ^~~~~~~~~~~~~~~~~~~~~~ drgenius_mdi.h:90:13: warning: 'void on_windowsMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 90 | static void on_windowsMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~~~ drgenius_mdi.h:91:13: warning: 'void on_macroMenu_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 91 | static void on_macroMenu_cb (GtkWidget * widget, gpointer v); | ^~~~~~~~~~~~~~~ drgenius_mdi.h:98:29: warning: 'void nothing_cb(GtkWidget*, gpointer)' declared 'static' but never defined [-Wunused-function] 98 | G_MODULE_EXPORT static void nothing_cb (GtkWidget * widget, gpointer data); | ^~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgenius_view.h:27, from drgenius_view.cc:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_SCMDIR=\""/usr/share/drgeo/scm"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_ICONDIR=\""/usr/share/pixmaps"\" -I/usr/include -I./geo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o geo_view.o `test -f 'geo_view.cc' || echo './'`geo_view.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_SCMDIR=\""/usr/share/drgeo/scm"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_ICONDIR=\""/usr/share/pixmaps"\" -I/usr/include -I./geo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o editor_view.o `test -f 'editor_view.cc' || echo './'`editor_view.cc In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgenius_view.h:27, from editor_view.h:26, from editor_view.cc:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgenius_view.h:27, from geo_view.h:26, from geo_view.cc:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ In file included from geo_view.h:27: ./geo/drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getPointAt(gdouble)': ./geo/drgeo_geometricObject.h:81:3: warning: no return statement in function returning non-void [-Wreturn-type] 81 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual drgeoVector& geometricObject::getClosestPoint(drgeoVector&)': ./geo/drgeo_geometricObject.h:84:3: warning: no return statement in function returning non-void [-Wreturn-type] 84 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual gdouble geometricObject::getAbscissa(drgeoVector&)': ./geo/drgeo_geometricObject.h:87:3: warning: no return statement in function returning non-void [-Wreturn-type] 87 | }; | ^ ./geo/drgeo_geometricObject.h: In member function 'virtual gboolean geometricObject::getIntersection(geometricObject&, drgeoVector&, gint)': ./geo/drgeo_geometricObject.h:91:3: warning: no return statement in function returning non-void [-Wreturn-type] 91 | }; | ^ In file included from ./geo/drgeo_figure.h:37, from geo_view.cc:24: ./geo/drgeo_drawable.h: In member function 'virtual gboolean drgeoDrawable::tipOn()': ./geo/drgeo_drawable.h:104:6: warning: no return statement in function returning non-void [-Wreturn-type] 104 | {} | ^ g++ -DHAVE_CONFIG_H -I. -I. -I. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_SCMDIR=\""/usr/share/drgeo/scm"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_ICONDIR=\""/usr/share/pixmaps"\" -I/usr/include -I./geo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_init.o `test -f 'drgeo_init.cc' || echo './'`drgeo_init.cc In file included from ./geo/drgeo_geometricObject.h:32: geo_view.cc: In constructor 'geoView::geoView(xmlNodePtr)': geo_view.cc:55:49: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 55 | p_name = g_strdup_printf (_(drgeoConfigGet (":figureName")), counter++); | ^~~~~~~~~~~~~ ./geo/define.h:28:25: note: in definition of macro '_' 28 | #define _(x) gettext (x) | ^ In file included from ./geo/drgeo_figure.h:39: ./drgenius_config.h: At global scope: ./drgenius_config.h:36:13: warning: 'void drgeoConfigSetGen(gchar*, gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 36 | static void drgeoConfigSetGen(gchar *attr, gchar *value, gchar *conf); | ^~~~~~~~~~~~~~~~~ ./drgenius_config.h:37:13: warning: 'void drgeoConfigSet(gchar*, const gchar*)' declared 'static' but never defined [-Wunused-function] 37 | static void drgeoConfigSet(gchar *attr, const gchar *value); | ^~~~~~~~~~~~~~ ./drgenius_config.h:38:13: warning: 'void drgeoConfigSetDialog(gchar*, gchar*)' declared 'static' but never defined [-Wunused-function] 38 | static void drgeoConfigSetDialog(gchar *attr, gchar *value); | ^~~~~~~~~~~~~~~~~~~~ ./drgenius_config.h:40:20: warning: 'GtkWidget* drgeoConfigWidget(gchar*, gchar*, GladeXML*)' declared 'static' but never defined [-Wunused-function] 40 | static GtkWidget * drgeoConfigWidget (gchar * item, | ^~~~~~~~~~~~~~~~~ In file included from geo_view.cc:25: ./geo/drgeo_menu.h:43:1: warning: 'gboolean showGeoMenu(GtkWidget*, GdkEvent*)' declared 'static' but never defined [-Wunused-function] 43 | showGeoMenu (GtkWidget *menu, GdkEvent *event ); | ^~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I. -I. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DDRGEO_GLADEDIR=\""/usr/share/drgeo/glade"\" -DDRGEO_SCMDIR=\""/usr/share/drgeo/scm"\" -DDRGEO_HELPDIR=\""/usr/share/drgeo/help"\" -DDRGEO_ICONDIR=\""/usr/share/pixmaps"\" -I/usr/include -I./geo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drgeo_printer.o `test -f 'drgeo_printer.cc' || echo './'`drgeo_printer.cc drgeo_init.cc: In function 'void drgeoInit()': drgeo_init.cc:31:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 31 | SCM ret; | ^~~ LC_ALL=C ./intltool-merge -d -u -c ./po/.intltool-merge-cache ./po drgeo.desktop.in drgeo.desktop Generating and caching the translation database WARNING: ./po/it.po is not in UTF-8 but ISO-8859-1, converting... In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from drgeo_printer.cc:31: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ 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-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ Merging translations into drgeo.desktop. /bin/sh ./libtool --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o drgeo -export-dynamic drgenius_main.o drgenius_mdi.o drgenius_config.o drgeo_adaptDialog.o drgenius_view.o geo_view.o editor_view.o drgeo_init.o drgeo_printer.o ./geo/libgeo.a -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lxml2 -lguile -lcrypt mkdir .libs g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o drgeo drgenius_main.o drgenius_mdi.o drgenius_config.o drgeo_adaptDialog.o drgenius_view.o geo_view.o editor_view.o drgeo_init.o drgeo_printer.o -Wl,--export-dynamic ./geo/libgeo.a -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lxml2 -lguile -lcrypt make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0' make[1]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VPqHlk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd drgeo-1.1.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64 'INSTALL=/usr/bin/install -p' Making install in po make[1]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/po' if test -n ""; then \ /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share; \ else \ /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share; \ fi mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/az/LC_MESSAGES installing az.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/az/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ca/LC_MESSAGES installing ca.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ca/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/cs/LC_MESSAGES installing cs.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/cs/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/da/LC_MESSAGES installing da.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/da/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/de/LC_MESSAGES installing de.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/de/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/el/LC_MESSAGES installing el.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/el/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/en_CA/LC_MESSAGES installing en_CA.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/en_CA/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/en_GB/LC_MESSAGES installing en_GB.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/en_GB/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/es/LC_MESSAGES installing es.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/es/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/eu/LC_MESSAGES installing eu.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/eu/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/fr/LC_MESSAGES installing fr.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/fr/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ga/LC_MESSAGES installing ga.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ga/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/gl/LC_MESSAGES installing gl.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/gl/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/gu/LC_MESSAGES installing gu.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/gu/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/hi/LC_MESSAGES installing hi.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/hi/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/hr/LC_MESSAGES installing hr.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/hr/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/hu/LC_MESSAGES installing hu.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/hu/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/it/LC_MESSAGES installing it.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/it/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ja/LC_MESSAGES installing ja.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ja/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ml/LC_MESSAGES installing ml.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ml/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/mr/LC_MESSAGES installing mr.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/mr/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/nb/LC_MESSAGES installing nb.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/nb/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ne/LC_MESSAGES installing ne.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ne/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/nl/LC_MESSAGES installing nl.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/nl/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/no/LC_MESSAGES installing no.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/no/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/pl/LC_MESSAGES installing pl.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/pl/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/pt/LC_MESSAGES installing pt.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/pt/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/pt_BR/LC_MESSAGES installing pt_BR.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/pt_BR/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ru/LC_MESSAGES installing ru.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/ru/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/rw/LC_MESSAGES installing rw.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/rw/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/sl/LC_MESSAGES installing sl.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/sl/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/sq/LC_MESSAGES installing sq.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/sq/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/sr/LC_MESSAGES installing sr.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/sr/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/sr@Latn/LC_MESSAGES installing sr@Latn.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/sr@Latn/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/sv/LC_MESSAGES installing sv.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/sv/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/uk/LC_MESSAGES installing uk.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/uk/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/zh_CN/LC_MESSAGES installing zh_CN.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/zh_CN/LC_MESSAGES/drgeo.mo mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/zh_TW/LC_MESSAGES installing zh_TW.gmo as /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/locale/zh_TW/LC_MESSAGES/drgeo.mo if test "drgeo" = "glib"; then \ if test -n ""; then \ /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/glib-2.0/gettext/po; \ else \ /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/glib-2.0/gettext/po; \ fi; \ /usr/bin/install -p -m 644 ./Makefile.in.in \ /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/glib-2.0/gettext/po/Makefile.in.in; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/po' Making install in geo make[1]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/geo' make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/geo' make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/geo' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/geo' make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/geo' make[1]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/geo' Making install in examples make[1]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples' Making install in figures make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples/figures' make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples/figures' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures /usr/bin/install -p -m 644 circle-locus.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/circle-locus.fgeo /usr/bin/install -p -m 644 conics.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/conics.fgeo /usr/bin/install -p -m 644 euler-line.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/euler-line.fgeo /usr/bin/install -p -m 644 cercle-inscrit.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/cercle-inscrit.fgeo /usr/bin/install -p -m 644 orthocenter-locus.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/orthocenter-locus.fgeo /usr/bin/install -p -m 644 parallelogramme.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/parallelogramme.fgeo /usr/bin/install -p -m 644 triangle-scale.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/triangle-scale.fgeo /usr/bin/install -p -m 644 polygons.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/polygons.fgeo /usr/bin/install -p -m 644 triangle_rectangle1.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/triangle_rectangle1.fgeo /usr/bin/install -p -m 644 mercedes.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/mercedes.fgeo /usr/bin/install -p -m 644 saliera.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/saliera.fgeo /usr/bin/install -p -m 644 slope.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/slope.fgeo /usr/bin/install -p -m 644 sinusoide.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/sinusoide.fgeo /usr/bin/install -p -m 644 symmetry-axe-2.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/symmetry-axe-2.fgeo /usr/bin/install -p -m 644 symmetry-center.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/symmetry-center.fgeo /usr/bin/install -p -m 644 angle-inscrit.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/angle-inscrit.fgeo /usr/bin/install -p -m 644 trigo1.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/trigo1.fgeo /usr/bin/install -p -m 644 moyenne-prop.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/moyenne-prop.fgeo /usr/bin/install -p -m 644 partage-segment.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/partage-segment.fgeo /usr/bin/install -p -m 644 varignon.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/varignon.fgeo /usr/bin/install -p -m 644 triangles-homothetiques.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/triangles-homothetiques.fgeo /usr/bin/install -p -m 644 orthocentre-symetique.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/orthocentre-symetique.fgeo /usr/bin/install -p -m 644 signed-distance.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/signed-distance.fgeo /usr/bin/install -p -m 644 problem1.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/problem1.fgeo /usr/bin/install -p -m 644 accel.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/accel.fgeo /usr/bin/install -p -m 644 accel.big5.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/accel.big5.fgeo /usr/bin/install -p -m 644 lens.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/lens.fgeo /usr/bin/install -p -m 644 duality.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/duality.fgeo /usr/bin/install -p -m 644 refraction.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/refraction.fgeo /usr/bin/install -p -m 644 fonctions_associees.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/fonctions_associees.fgeo /usr/bin/install -p -m 644 light6.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/light6.fgeo /usr/bin/install -p -m 644 wheel.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/wheel.fgeo /usr/bin/install -p -m 644 baballe.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/baballe.fgeo /usr/bin/install -p -m 644 braik_conic.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/braik_conic.fgeo /usr/bin/install -p -m 644 steiner_conic.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/steiner_conic.fgeo /usr/bin/install -p -m 644 polygon-7.fgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/figures/polygon-7.fgeo make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples/figures' make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples/figures' Making install in macro make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples/macro' make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples/macro' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/macros mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/macros /usr/bin/install -p -m 644 bissectrice.mgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/macros/bissectrice.mgeo /usr/bin/install -p -m 644 orthocentre.mgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/macros/orthocentre.mgeo /usr/bin/install -p -m 644 centre1.mgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/macros/centre1.mgeo /usr/bin/install -p -m 644 segment.mgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/macros/segment.mgeo /usr/bin/install -p -m 644 pentagone.mgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/macros/pentagone.mgeo /usr/bin/install -p -m 644 polygon-7.mgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/macros/polygon-7.mgeo make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples/macro' make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples/macro' Making install in scheme make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples/scheme' make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples/scheme' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme /usr/bin/install -p -m 644 figure.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/figure.scm /usr/bin/install -p -m 644 polygon.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/polygon.scm /usr/bin/install -p -m 644 polygon2.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/polygon2.scm /usr/bin/install -p -m 644 square.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/square.scm /usr/bin/install -p -m 644 baum.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/baum.scm /usr/bin/install -p -m 644 spiral.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/spiral.scm /usr/bin/install -p -m 644 steiner.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/steiner.scm /usr/bin/install -p -m 644 baravelle.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/baravelle.scm /usr/bin/install -p -m 644 fractale.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/fractale.scm /usr/bin/install -p -m 644 pappo.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/pappo.scm /usr/bin/install -p -m 644 premier.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/premier.scm /usr/bin/install -p -m 644 koch.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/koch.scm /usr/bin/install -p -m 644 tilings.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/examples/scheme/tilings.scm make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples/scheme' make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples/scheme' make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples' make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/examples' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples' make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples' make[1]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/examples' Making install in icons make[1]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/icons' make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/icons' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/pixmaps mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/pixmaps /usr/bin/install -p -m 644 drgeo-file.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/pixmaps/drgeo-file.png /usr/bin/install -p -m 644 drgeo-book.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/pixmaps/drgeo-book.png /usr/bin/install -p -m 644 ofset-logo.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/pixmaps/ofset-logo.png make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/icons' make[1]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/icons' Making install in glade make[1]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/glade' make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/glade' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade /usr/bin/install -p -m 644 drgeo2.glade /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/drgeo2.glade /usr/bin/install -p -m 644 drgenius2.glade /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/drgenius2.glade /usr/bin/install -p -m 644 drgeoMDI.glade /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/drgeoMDI.glade /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade /usr/bin/install -p -m 644 angle.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/angle.xpm /usr/bin/install -p -m 644 axial_symetry.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/axial_symetry.xpm /usr/bin/install -p -m 644 build_macro.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/build_macro.xpm /usr/bin/install -p -m 644 central_symetry.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/central_symetry.xpm /usr/bin/install -p -m 644 circle.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/circle.xpm /usr/bin/install -p -m 644 circle_arc.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/circle_arc.xpm /usr/bin/install -p -m 644 coordinates.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/coordinates.xpm /usr/bin/install -p -m 644 distance.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/distance.xpm /usr/bin/install -p -m 644 eraser.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/eraser.xpm /usr/bin/install -p -m 644 free_point.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/free_point.xpm /usr/bin/install -p -m 644 half_line.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/half_line.xpm /usr/bin/install -p -m 644 homothetie.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/homothetie.xpm /usr/bin/install -p -m 644 intersection_point.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/intersection_point.xpm /usr/bin/install -p -m 644 line.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/line.xpm /usr/bin/install -p -m 644 line_menu.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/line_menu.xpm /usr/bin/install -p -m 644 load.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/load.xpm /usr/bin/install -p -m 644 macro_menu.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/macro_menu.xpm /usr/bin/install -p -m 644 middle.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/middle.xpm /usr/bin/install -p -m 644 move.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/move.xpm /usr/bin/install -p -m 644 new_figure.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/new_figure.xpm /usr/bin/install -p -m 644 numeric_menu.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/numeric_menu.xpm /usr/bin/install -p -m 644 parallel.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/parallel.xpm /usr/bin/install -p -m 644 perpendicular.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/perpendicular.xpm /usr/bin/install -p -m 644 point_coordinate.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/point_coordinate.xpm /usr/bin/install -p -m 644 point_menu.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/point_menu.xpm /usr/bin/install -p -m 644 preferences.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/preferences.xpm /usr/bin/install -p -m 644 quit.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/quit.xpm /usr/bin/install -p -m 644 rotation.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/rotation.xpm /usr/bin/install -p -m 644 run_macro.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/run_macro.xpm /usr/bin/install -p -m 644 save.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/save.xpm /usr/bin/install -p -m 644 segment.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/segment.xpm /usr/bin/install -p -m 644 styles.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/styles.xpm /usr/bin/install -p -m 644 tools_menu.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/tools_menu.xpm /usr/bin/install -p -m 644 transformation_menu.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/transformation_menu.xpm /usr/bin/install -p -m 644 translation.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/translation.xpm /usr/bin/install -p -m 644 vectrex.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/vectrex.xpm /usr/bin/install -p -m 644 color-black.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-black.xpm /usr/bin/install -p -m 644 color-blue.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-blue.xpm /usr/bin/install -p -m 644 color-bordeaux.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-bordeaux.xpm /usr/bin/install -p -m 644 color-dark-blue.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-dark-blue.xpm /usr/bin/install -p -m 644 color-dark-green.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-dark-green.xpm /usr/bin/install -p -m 644 color-dark-grey.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-dark-grey.xpm /usr/bin/install -p -m 644 color-green.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-green.xpm /usr/bin/install -p -m 644 color-grey.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-grey.xpm /usr/bin/install -p -m 644 color-orange.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-orange.xpm /usr/bin/install -p -m 644 color-red.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-red.xpm /usr/bin/install -p -m 644 color-white.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-white.xpm /usr/bin/install -p -m 644 color-yellow.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/color-yellow.xpm /usr/bin/install -p -m 644 square-empty.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/square-empty.xpm /usr/bin/install -p -m 644 square.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/square.xpm /usr/bin/install -p -m 644 round-empty.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/round-empty.xpm /usr/bin/install -p -m 644 round.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/round.xpm /usr/bin/install -p -m 644 cross.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/cross.xpm /usr/bin/install -p -m 644 dashline.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/dashline.xpm /usr/bin/install -p -m 644 largeline.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/largeline.xpm /usr/bin/install -p -m 644 normalline.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/normalline.xpm /usr/bin/install -p -m 644 polygon.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/polygon.xpm /usr/bin/install -p -m 644 script.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/script.xpm /usr/bin/install -p -m 644 widget-script.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/widget-script.xpm /usr/bin/install -p -m 644 property.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/property.xpm /usr/bin/install -p -m 644 triangle.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/triangle.xpm /usr/bin/install -p -m 644 drgeo.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/drgeo.png /usr/bin/install -p -m 644 drgenius_new_figure.xpm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/drgenius_new_figure.xpm /usr/bin/install -p -m 644 angle.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/angle.png /usr/bin/install -p -m 644 axial_symetry.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/axial_symetry.png /usr/bin/install -p -m 644 build_macro.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/build_macro.png /usr/bin/install -p -m 644 central_symetry.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/central_symetry.png /usr/bin/install -p -m 644 circle.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/circle.png /usr/bin/install -p -m 644 circle_arc.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/circle_arc.png /usr/bin/install -p -m 644 coordinates.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/coordinates.png /usr/bin/install -p -m 644 distance.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/distance.png /usr/bin/install -p -m 644 eraser.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/eraser.png /usr/bin/install -p -m 644 free_point.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/free_point.png /usr/bin/install -p -m 644 half_line.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/half_line.png /usr/bin/install -p -m 644 homothetie.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/homothetie.png /usr/bin/install -p -m 644 intersection_point.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/intersection_point.png /usr/bin/install -p -m 644 line.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/line.png /usr/bin/install -p -m 644 line_menu.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/line_menu.png /usr/bin/install -p -m 644 locus.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/locus.png /usr/bin/install -p -m 644 macro_menu.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/macro_menu.png /usr/bin/install -p -m 644 middle.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/middle.png /usr/bin/install -p -m 644 move.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/move.png /usr/bin/install -p -m 644 numeric_menu.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/numeric_menu.png /usr/bin/install -p -m 644 parallel.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/parallel.png /usr/bin/install -p -m 644 perpendicular.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/perpendicular.png /usr/bin/install -p -m 644 point_coordinate.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/point_coordinate.png /usr/bin/install -p -m 644 point_menu.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/point_menu.png /usr/bin/install -p -m 644 rotation.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/rotation.png /usr/bin/install -p -m 644 run_macro.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/run_macro.png /usr/bin/install -p -m 644 segment.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/segment.png /usr/bin/install -p -m 644 styles.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/styles.png /usr/bin/install -p -m 644 tools_menu.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/tools_menu.png /usr/bin/install -p -m 644 transformation_menu.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/transformation_menu.png /usr/bin/install -p -m 644 translation.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/translation.png /usr/bin/install -p -m 644 vectrex.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/vectrex.png /usr/bin/install -p -m 644 polygon.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/polygon.png /usr/bin/install -p -m 644 script.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/script.png /usr/bin/install -p -m 644 widget-script.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/widget-script.png /usr/bin/install -p -m 644 property.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/property.png /usr/bin/install -p -m 644 grid.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/grid.png /usr/bin/install -p -m 644 rename.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/glade/rename.png make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/glade' make[1]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/glade' Making install in scm make[1]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/scm' make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/scm' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/scm mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/scm /usr/bin/install -p -m 644 drgeo_config.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/scm/drgeo_config.scm /usr/bin/install -p -m 644 preferences.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/scm/preferences.scm /usr/bin/install -p -m 644 drgeo_scm_interface.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/scm/drgeo_scm_interface.scm /usr/bin/install -p -m 644 drgeo_scm_interface_constant.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/scm/drgeo_scm_interface_constant.scm /usr/bin/install -p -m 644 drgeo_scm_interface_constant_fr.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/scm/drgeo_scm_interface_constant_fr.scm /usr/bin/install -p -m 644 drgeo_scm_interface_constant_sr.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/scm/drgeo_scm_interface_constant_sr.scm /usr/bin/install -p -m 644 drgeo_scm_interface_constant_es.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/scm/drgeo_scm_interface_constant_es.scm /usr/bin/install -p -m 644 drgeo_scm_interface_constant_nl.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/scm/drgeo_scm_interface_constant_nl.scm make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/scm' make[1]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/scm' Making install in plugin make[1]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin' Making install in drgeo make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo' Making install in progs make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo/progs' make[4]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo/progs' make[4]: Nothing to be done for 'install-exec-am'. /bin/sh ../../../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/texmacs/TeXmacs/plugins/drgeo/progs mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/texmacs/TeXmacs/plugins/drgeo/progs /usr/bin/install -p -m 644 init-drgeo.scm /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/texmacs/TeXmacs/plugins/drgeo/progs/init-drgeo.scm /bin/sh ../../../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/bin mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/bin /usr/bin/install -p tm_drgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/bin/tm_drgeo make[4]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo/progs' make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo/progs' make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo' make[4]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo' make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo' make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin/drgeo' make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin' make[3]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/plugin' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin' make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin' make[1]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/plugin' Making install in encode make[1]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/encode' make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0/encode' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/encode mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/encode /usr/bin/install -p -m 644 latin1.ps /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/drgeo/encode/latin1.ps make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/encode' make[1]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0/encode' make[1]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0' make[2]: Entering directory '/builddir/build/BUILD/drgeo-1.1.0' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/bin /bin/sh ./libtool --mode=install /usr/bin/install -p drgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/bin/drgeo /usr/bin/install -p drgeo /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/bin/drgeo /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/applications mkdir -p -- /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/applications /usr/bin/install -p -m 644 drgeo.desktop /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/applications/drgeo.desktop make[2]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0' make[1]: Leaving directory '/builddir/build/BUILD/drgeo-1.1.0' + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64 drgeo + perl -pi -e 's/^Icon=gnome-drgenius.png/Icon=drgeo/g' /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/applications/drgeo.desktop + desktop-file-install --dir /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/applications /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/applications/drgeo.desktop + install -D -m0644 glade/drgeo.png /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/pixmaps/drgeo.png + mkdir /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/TeXmacs/ + mv /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/texmacs/TeXmacs/plugins/ /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/TeXmacs/. + rmdir /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/texmacs/TeXmacs/ + rmdir /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/texmacs/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.1.0-47.fc38 --unique-debug-suffix -1.1.0-47.fc38.x86_64 --unique-debug-src-base drgeo-1.1.0-47.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/drgeo-1.1.0 extracting debug info from /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/bin/drgeo original debug info size: 3064kB, size after compression: 2280kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1590 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/drgeo-1.1.0-47.fc38.x86_64/geo/xml.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/drgeo-1.1.0-47.fc38.x86_64/geo/xml.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/drgeo-1.1.0-47.fc38.x86_64/geo/var_decl.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/drgeo-1.1.0-47.fc38.x86_64/geo/traite.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/drgeo-1.1.0-47.fc38.x86_64/geo/traite.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/drgeo-1.1.0-47.fc38.x86_64/geo/mode_obj.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/drgeo-1.1.0-47.fc38.x86_64/geo/define.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/drgeo-1.1.0-47.fc38.x86_64/geo/couleur.h is executable but has no shebang, removing executable bit mangling shebang in /usr/bin/tm_drgeo from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: drgeo-1.1.0-47.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.E1Ms0y + umask 022 + cd /builddir/build/BUILD + cd drgeo-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/doc/drgeo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/doc/drgeo + cp -pr AUTHORS /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/doc/drgeo + cp -pr ChangeLog /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/doc/drgeo + cp -pr COPYING /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/doc/drgeo + cp -pr NEWS /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/doc/drgeo + cp -pr README /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/doc/drgeo + cp -pr TODO /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64/usr/share/doc/drgeo + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(drgeo.desktop) drgeo = 1.1.0-47.fc38 drgeo(x86-64) = 1.1.0-47.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgdk-x11-2.0.so.0()(64bit) libglade-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libguile.so.17()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpango-1.0.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) rtld(GNU_HASH) Processing files: drgeo-debugsource-1.1.0-47.fc38.x86_64 Provides: drgeo-debugsource = 1.1.0-47.fc38 drgeo-debugsource(x86-64) = 1.1.0-47.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: drgeo-debuginfo-1.1.0-47.fc38.x86_64 Provides: debuginfo(build-id) = 95a23a05997f33406e612815d09a99abdbf19792 drgeo-debuginfo = 1.1.0-47.fc38 drgeo-debuginfo(x86-64) = 1.1.0-47.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: drgeo-debugsource(x86-64) = 1.1.0-47.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64 Wrote: /builddir/build/RPMS/drgeo-debuginfo-1.1.0-47.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/drgeo-1.1.0-47.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/drgeo-debugsource-1.1.0-47.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YPn404 + umask 022 + cd /builddir/build/BUILD + cd drgeo-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/drgeo-1.1.0-47.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.xvspnM + umask 022 + cd /builddir/build/BUILD + rm -rf drgeo-1.1.0 drgeo-1.1.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0