I: pbuilder: network access will be disabled during build I: Current time: Tue Aug 17 02:52:29 -12 2021 I: pbuilder-time-stamp: 1629211949 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [meshlab_1.3.2+dfsg1-4.dsc] I: copying [./meshlab_1.3.2+dfsg1.orig.tar.gz] I: copying [./meshlab_1.3.2+dfsg1-4.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Tue Aug 8 01:24:56 2017 -12 gpgv: using RSA key AFCFEC8E669CE1C2 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./meshlab_1.3.2+dfsg1-4.dsc dpkg-source: info: extracting meshlab in meshlab-1.3.2+dfsg1 dpkg-source: info: unpacking meshlab_1.3.2+dfsg1.orig.tar.gz dpkg-source: info: unpacking meshlab_1.3.2+dfsg1-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01_crash-on-save.patch dpkg-source: info: applying 02_cstddef.patch dpkg-source: info: applying 03_disable-updates.patch dpkg-source: info: applying 04_eigen.patch dpkg-source: info: applying 05_externals.patch dpkg-source: info: applying 06_format-security.patch dpkg-source: info: applying 07_gcc47.patch dpkg-source: info: applying 08_lib3ds.patch dpkg-source: info: applying 09_libbz2.patch dpkg-source: info: applying 10_muparser.patch dpkg-source: info: applying 11_openctm.patch dpkg-source: info: applying 12_overflow.patch dpkg-source: info: applying 13_pluginsdir.patch dpkg-source: info: applying 14_ply_numeric.patch dpkg-source: info: applying 15_qhull.patch dpkg-source: info: applying 16_shadersdir.patch dpkg-source: info: applying 17_structuresynth.patch dpkg-source: info: applying 18_glew.c18p1.patch dpkg-source: info: applying 19_CONFLICTS_IN_rpath.patch dpkg-source: info: applying 20_rpath.c18p2.patch dpkg-source: info: applying 21_RESOLUTION.patch dpkg-source: info: applying gcc-6.patch dpkg-source: info: applying narrowing-conversion.patch dpkg-source: info: applying gcc-7.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/5119/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DISTRIBUTION='' HOME='/var/lib/jenkins' HOST_ARCH='arm64' IFS=' ' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='5119' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.0z8MnjFqYF/pbuilderrc_qfnZ --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.0z8MnjFqYF/b1 --logfile b1/build.log meshlab_1.3.2+dfsg1-4.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a Linux codethink-sled15-arm64 4.4.0-185-generic #215-Ubuntu SMP Mon Jun 8 21:55:24 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 -rwxr-xr-x 1 root root 1216928 Apr 17 2019 bash -rwxr-xr-x 3 root root 34808 Jul 10 2019 bunzip2 -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzip2 -rwxr-xr-x 1 root root 14264 Jul 10 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore -rwxr-xr-x 1 root root 35576 Feb 28 2019 cat -rwxr-xr-x 1 root root 60256 Feb 28 2019 chgrp -rwxr-xr-x 1 root root 56096 Feb 28 2019 chmod -rwxr-xr-x 1 root root 64368 Feb 28 2019 chown -rwxr-xr-x 1 root root 134632 Feb 28 2019 cp -rwxr-xr-x 1 root root 129536 Jan 17 2019 dash -rwxr-xr-x 1 root root 97136 Feb 28 2019 date -rwxr-xr-x 1 root root 76736 Feb 28 2019 dd -rwxr-xr-x 1 root root 93752 Feb 28 2019 df -rwxr-xr-x 1 root root 138848 Feb 28 2019 dir -rwxr-xr-x 1 root root 75984 Jan 9 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname -rwxr-xr-x 1 root root 31368 Feb 28 2019 echo -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep -rwxr-xr-x 1 root root 27256 Feb 28 2019 false -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep -rwxr-xr-x 1 root root 68792 Jan 9 2019 findmnt -rwsr-xr-x 1 root root 34824 Apr 22 2020 fusermount -rwxr-xr-x 1 root root 174304 Jan 7 2019 grep -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe -rwxr-xr-x 1 root root 89656 Jan 5 2019 gzip -rwxr-xr-x 1 root root 18440 Sep 26 2018 hostname -rwxr-xr-x 1 root root 64472 Feb 28 2019 ln -rwxr-xr-x 1 root root 52544 Jul 26 2018 login -rwxr-xr-x 1 root root 138848 Feb 28 2019 ls -rwxr-xr-x 1 root root 108552 Jan 9 2019 lsblk -rwxr-xr-x 1 root root 76840 Feb 28 2019 mkdir -rwxr-xr-x 1 root root 64480 Feb 28 2019 mknod -rwxr-xr-x 1 root root 39736 Feb 28 2019 mktemp -rwxr-xr-x 1 root root 38840 Jan 9 2019 more -rwsr-xr-x 1 root root 47112 Jan 9 2019 mount -rwxr-xr-x 1 root root 14344 Jan 9 2019 mountpoint -rwxr-xr-x 1 root root 138736 Feb 28 2019 mv lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 35560 Feb 28 2019 pwd lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash -rwxr-xr-x 1 root root 43712 Feb 28 2019 readlink -rwxr-xr-x 1 root root 68440 Feb 28 2019 rm -rwxr-xr-x 1 root root 39624 Feb 28 2019 rmdir -rwxr-xr-x 1 root root 19144 Jan 21 2019 run-parts -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Aug 16 02:48 sh -> dash -rwxr-xr-x 1 root root 31384 Feb 28 2019 sleep -rwxr-xr-x 1 root root 72480 Feb 28 2019 stty -rwsr-xr-x 1 root root 59424 Jan 9 2019 su -rwxr-xr-x 1 root root 31416 Feb 28 2019 sync -rwxr-xr-x 1 root root 449416 Apr 23 2019 tar -rwxr-xr-x 1 root root 10560 Jan 21 2019 tempfile -rwxr-xr-x 1 root root 88968 Feb 28 2019 touch -rwxr-xr-x 1 root root 27256 Feb 28 2019 true -rwxr-xr-x 1 root root 14264 Apr 22 2020 ulockmgr_server -rwsr-xr-x 1 root root 30728 Jan 9 2019 umount -rwxr-xr-x 1 root root 31384 Feb 28 2019 uname -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress -rwxr-xr-x 1 root root 138848 Feb 28 2019 vdir -rwxr-xr-x 1 root root 34824 Jan 9 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 21 2019 which lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew I: user script /srv/workspace/pbuilder/5119/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: arm64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 10), docbook-xsl, lib3ds-dev (>= 1.3.0), libbz2-dev, libeigen3-dev, libglew-dev, libmuparser-dev, libopenctm-dev, libqhull-dev, libqt4-dev, libqt4-opengl-dev, xsltproc dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 10); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on docbook-xsl; however: Package docbook-xsl is not installed. pbuilder-satisfydepends-dummy depends on lib3ds-dev (>= 1.3.0); however: Package lib3ds-dev is not installed. pbuilder-satisfydepends-dummy depends on libbz2-dev; however: Package libbz2-dev is not installed. pbuilder-satisfydepends-dummy depends on libeigen3-dev; however: Package libeigen3-dev is not installed. pbuilder-satisfydepends-dummy depends on libglew-dev; however: Package libglew-dev is not installed. pbuilder-satisfydepends-dummy depends on libmuparser-dev; however: Package libmuparser-dev is not installed. pbuilder-satisfydepends-dummy depends on libopenctm-dev; however: Package libopenctm-dev is not installed. pbuilder-satisfydepends-dummy depends on libqhull-dev; however: Package libqhull-dev is not installed. pbuilder-satisfydepends-dummy depends on libqt4-dev; however: Package libqt4-dev is not installed. pbuilder-satisfydepends-dummy depends on libqt4-opengl-dev; however: Package libqt4-opengl-dev is not installed. pbuilder-satisfydepends-dummy depends on xsltproc; however: Package xsltproc is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} docbook-xsl{a} dwz{a} file{a} fontconfig{a} fontconfig-config{a} fonts-dejavu-core{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} lib3ds-1-3{a} lib3ds-dev{a} libarchive-zip-perl{a} libaudio2{a} libbsd0{a} libbz2-dev{a} libcroco3{a} libdbus-1-3{a} libdrm-amdgpu1{a} libdrm-common{a} libdrm-dev{a} libdrm-etnaviv1{a} libdrm-freedreno1{a} libdrm-nouveau2{a} libdrm-radeon1{a} libdrm-tegra0{a} libdrm2{a} libedit2{a} libegl-mesa0{a} libegl1{a} libeigen3-dev{a} libelf1{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libfontconfig1{a} libfreetype6{a} libgbm1{a} libgl1{a} libgl1-mesa-dev{a} libgl1-mesa-dri{a} libglapi-mesa{a} libgles1{a} libgles2{a} libglew-dev{a} libglew2.1{a} libglib2.0-0{a} libglu1-mesa{a} libglu1-mesa-dev{a} libglvnd-core-dev{a} libglvnd-dev{a} libglvnd0{a} libglx-mesa0{a} libglx0{a} libice6{a} libicu63{a} libjbig0{a} libjpeg62-turbo{a} liblcms2-2{a} libllvm7{a} libmagic-mgc{a} libmagic1{a} libmng1{a} libmuparser-dev{a} libmuparser2v5{a} libncurses6{a} libopenctm-dev{a} libopenctm1{a} libopengl0{a} libpipeline1{a} libpng16-16{a} libpthread-stubs0-dev{a} libqhull-dev{a} libqhull-r7{a} libqhull7{a} libqt4-dbus{a} libqt4-declarative{a} libqt4-designer{a} libqt4-dev{a} libqt4-dev-bin{a} libqt4-help{a} libqt4-network{a} libqt4-opengl{a} libqt4-opengl-dev{a} libqt4-qt3support{a} libqt4-script{a} libqt4-scripttools{a} libqt4-sql{a} libqt4-svg{a} libqt4-test{a} libqt4-xml{a} libqt4-xmlpatterns{a} libqtcore4{a} libqtdbus4{a} libqtgui4{a} libsensors-config{a} libsensors5{a} libsigsegv2{a} libsm6{a} libtiff5{a} libtool{a} libuchardet0{a} libwayland-client0{a} libwayland-server0{a} libwebp6{a} libx11-6{a} libx11-data{a} libx11-dev{a} libx11-xcb-dev{a} libx11-xcb1{a} libxau-dev{a} libxau6{a} libxcb-dri2-0{a} libxcb-dri2-0-dev{a} libxcb-dri3-0{a} libxcb-dri3-dev{a} libxcb-glx0{a} libxcb-glx0-dev{a} libxcb-present-dev{a} libxcb-present0{a} libxcb-randr0{a} libxcb-randr0-dev{a} libxcb-render0{a} libxcb-render0-dev{a} libxcb-shape0{a} libxcb-shape0-dev{a} libxcb-sync-dev{a} libxcb-sync1{a} libxcb-xfixes0{a} libxcb-xfixes0-dev{a} libxcb1{a} libxcb1-dev{a} libxdamage-dev{a} libxdamage1{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxfixes-dev{a} libxfixes3{a} libxml2{a} libxrender1{a} libxshmfence-dev{a} libxshmfence1{a} libxslt1.1{a} libxt6{a} libxxf86vm-dev{a} libxxf86vm1{a} lsb-base{a} m4{a} man-db{a} mesa-common-dev{a} pkg-config{a} po-debconf{a} qdbus{a} qt4-linguist-tools{a} qt4-qmake{a} qtchooser{a} qtcore4-l10n{a} sensible-utils{a} sgml-base{a} ucf{a} x11-common{a} x11proto-core-dev{a} x11proto-damage-dev{a} x11proto-dev{a} x11proto-fixes-dev{a} x11proto-xext-dev{a} x11proto-xf86vidmode-dev{a} xml-core{a} xorg-sgml-doctools{a} xsltproc{a} xtrans-dev{a} The following packages are RECOMMENDED but will NOT be installed: bzip2-doc ca-certificates curl dbus docbook-xml libarchive-cpio-perl libcups2 libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl libqt4-sql-mysql libqt4-sql-odbc libqt4-sql-psql libqt4-sql-sqlite libqt4-sql-sqlite2 lynx qt-at-spi shared-mime-info wget xdg-user-dirs 0 packages upgraded, 180 newly installed, 0 to remove and 0 not upgraded. Need to get 70.3 MB of archives. After unpacking 465 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main arm64 libbsd0 arm64 0.9.1-2 [97.4 kB] Get: 2 http://deb.debian.org/debian buster/main arm64 bsdmainutils arm64 11.1.2+b1 [185 kB] Get: 3 http://deb.debian.org/debian buster/main arm64 libuchardet0 arm64 0.0.6-3 [65.0 kB] Get: 4 http://deb.debian.org/debian buster/main arm64 groff-base arm64 1.22.4-3 [869 kB] Get: 5 http://deb.debian.org/debian buster/main arm64 libpipeline1 arm64 1.5.1-2 [29.8 kB] Get: 6 http://deb.debian.org/debian buster/main arm64 man-db arm64 2.8.5-2 [1258 kB] Get: 7 http://deb.debian.org/debian buster/main arm64 sgml-base all 1.29 [14.8 kB] Get: 8 http://deb.debian.org/debian buster/main arm64 sensible-utils all 0.0.12 [15.8 kB] Get: 9 http://deb.debian.org/debian buster/main arm64 libmagic-mgc arm64 1:5.35-4+deb10u1 [242 kB] Get: 10 http://deb.debian.org/debian buster/main arm64 libmagic1 arm64 1:5.35-4+deb10u1 [115 kB] Get: 11 http://deb.debian.org/debian buster/main arm64 file arm64 1:5.35-4+deb10u1 [66.4 kB] Get: 12 http://deb.debian.org/debian buster/main arm64 gettext-base arm64 0.19.8.1-9 [120 kB] Get: 13 http://deb.debian.org/debian buster/main arm64 ucf all 3.0038+nmu1 [69.0 kB] Get: 14 http://deb.debian.org/debian buster/main arm64 libsigsegv2 arm64 2.12-2 [32.3 kB] Get: 15 http://deb.debian.org/debian buster/main arm64 m4 arm64 1.4.18-2 [198 kB] Get: 16 http://deb.debian.org/debian buster/main arm64 autoconf all 2.69-11 [341 kB] Get: 17 http://deb.debian.org/debian buster/main arm64 autotools-dev all 20180224.1 [77.0 kB] Get: 18 http://deb.debian.org/debian buster/main arm64 automake all 1:1.16.1-4 [771 kB] Get: 19 http://deb.debian.org/debian buster/main arm64 autopoint all 0.19.8.1-9 [434 kB] Get: 20 http://deb.debian.org/debian buster/main arm64 libtool all 2.4.6-9 [547 kB] Get: 21 http://deb.debian.org/debian buster/main arm64 dh-autoreconf all 19 [16.9 kB] Get: 22 http://deb.debian.org/debian buster/main arm64 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 23 http://deb.debian.org/debian buster/main arm64 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 24 http://deb.debian.org/debian buster/main arm64 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 25 http://deb.debian.org/debian buster/main arm64 libelf1 arm64 0.176-1.1 [160 kB] Get: 26 http://deb.debian.org/debian buster/main arm64 dwz arm64 0.12-3 [71.7 kB] Get: 27 http://deb.debian.org/debian buster/main arm64 libglib2.0-0 arm64 2.58.3-2+deb10u2 [1185 kB] Get: 28 http://deb.debian.org/debian buster/main arm64 libicu63 arm64 63.1-6+deb10u1 [8151 kB] Get: 29 http://deb.debian.org/debian buster/main arm64 libxml2 arm64 2.9.4+dfsg1-7+b3 [623 kB] Get: 30 http://deb.debian.org/debian buster/main arm64 libcroco3 arm64 0.6.12-3 [140 kB] Get: 31 http://deb.debian.org/debian buster/main arm64 libncurses6 arm64 6.1+20181013-2+deb10u2 [92.6 kB] Get: 32 http://deb.debian.org/debian buster/main arm64 gettext arm64 0.19.8.1-9 [1261 kB] Get: 33 http://deb.debian.org/debian buster/main arm64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 34 http://deb.debian.org/debian buster/main arm64 po-debconf all 1.0.21 [248 kB] Get: 35 http://deb.debian.org/debian buster/main arm64 debhelper all 12.1.1 [1016 kB] Get: 36 http://deb.debian.org/debian buster/main arm64 xml-core all 0.18+nmu1 [23.8 kB] Get: 37 http://deb.debian.org/debian buster/main arm64 docbook-xsl all 1.79.1+dfsg-2 [1249 kB] Get: 38 http://deb.debian.org/debian buster/main arm64 libexpat1 arm64 2.2.6-2+deb10u1 [85.4 kB] Get: 39 http://deb.debian.org/debian buster/main arm64 libpng16-16 arm64 1.6.36-6 [287 kB] Get: 40 http://deb.debian.org/debian buster/main arm64 libfreetype6 arm64 2.9.1-3+deb10u1 [355 kB] Get: 41 http://deb.debian.org/debian buster/main arm64 fonts-dejavu-core all 2.37-1 [1068 kB] Get: 42 http://deb.debian.org/debian buster/main arm64 fontconfig-config all 2.13.1-2 [280 kB] Get: 43 http://deb.debian.org/debian buster/main arm64 libfontconfig1 arm64 2.13.1-2 [343 kB] Get: 44 http://deb.debian.org/debian buster/main arm64 fontconfig arm64 2.13.1-2 [405 kB] Get: 45 http://deb.debian.org/debian buster/main arm64 lib3ds-1-3 arm64 1.3.0-9+b1 [42.4 kB] Get: 46 http://deb.debian.org/debian buster/main arm64 lib3ds-dev arm64 1.3.0-9+b1 [35.5 kB] Get: 47 http://deb.debian.org/debian buster/main arm64 libxau6 arm64 1:1.0.8-1+b2 [19.3 kB] Get: 48 http://deb.debian.org/debian buster/main arm64 lsb-base all 10.2019051400 [28.4 kB] Get: 49 http://deb.debian.org/debian buster/main arm64 x11-common all 1:7.7+19 [251 kB] Get: 50 http://deb.debian.org/debian buster/main arm64 libice6 arm64 2:1.0.9-2 [52.0 kB] Get: 51 http://deb.debian.org/debian buster/main arm64 libsm6 arm64 2:1.2.3-1 [34.0 kB] Get: 52 http://deb.debian.org/debian buster/main arm64 libxdmcp6 arm64 1:1.1.2-3 [25.4 kB] Get: 53 http://deb.debian.org/debian buster/main arm64 libxcb1 arm64 1.13.1-2 [135 kB] Get: 54 http://deb.debian.org/debian buster/main arm64 libx11-data all 2:1.6.7-1 [298 kB] Get: 55 http://deb.debian.org/debian buster/main arm64 libx11-6 arm64 2:1.6.7-1 [735 kB] Get: 56 http://deb.debian.org/debian buster/main arm64 libxt6 arm64 1:1.1.5-1+b3 [175 kB] Get: 57 http://deb.debian.org/debian buster/main arm64 libaudio2 arm64 1.9.4-6 [73.4 kB] Get: 58 http://deb.debian.org/debian buster/main arm64 libbz2-dev arm64 1.0.6-9.2~deb10u1 [30.9 kB] Get: 59 http://deb.debian.org/debian buster/main arm64 libdbus-1-3 arm64 1.12.16-1 [204 kB] Get: 60 http://deb.debian.org/debian buster/main arm64 libdrm-common all 2.4.97-1 [13.8 kB] Get: 61 http://deb.debian.org/debian buster/main arm64 libdrm2 arm64 2.4.97-1 [39.5 kB] Get: 62 http://deb.debian.org/debian buster/main arm64 libdrm-amdgpu1 arm64 2.4.97-1 [26.6 kB] Get: 63 http://deb.debian.org/debian buster/main arm64 libdrm-radeon1 arm64 2.4.97-1 [30.0 kB] Get: 64 http://deb.debian.org/debian buster/main arm64 libdrm-nouveau2 arm64 2.4.97-1 [25.5 kB] Get: 65 http://deb.debian.org/debian buster/main arm64 libdrm-freedreno1 arm64 2.4.97-1 [27.8 kB] Get: 66 http://deb.debian.org/debian buster/main arm64 libdrm-tegra0 arm64 2.4.97-1 [15.8 kB] Get: 67 http://deb.debian.org/debian buster/main arm64 libdrm-etnaviv1 arm64 2.4.97-1 [21.0 kB] Get: 68 http://deb.debian.org/debian buster/main arm64 libdrm-dev arm64 2.4.97-1 [135 kB] Get: 69 http://deb.debian.org/debian buster/main arm64 libedit2 arm64 3.1-20181209-1 [91.2 kB] Get: 70 http://deb.debian.org/debian buster/main arm64 libwayland-server0 arm64 1.16.0-1 [31.8 kB] Get: 71 http://deb.debian.org/debian buster/main arm64 libgbm1 arm64 18.3.6-2+deb10u1 [67.1 kB] Get: 72 http://deb.debian.org/debian buster/main arm64 libglapi-mesa arm64 18.3.6-2+deb10u1 [74.8 kB] Get: 73 http://deb.debian.org/debian buster/main arm64 libwayland-client0 arm64 1.16.0-1 [25.9 kB] Get: 74 http://deb.debian.org/debian buster/main arm64 libx11-xcb1 arm64 2:1.6.7-1 [190 kB] Get: 75 http://deb.debian.org/debian buster/main arm64 libxcb-dri2-0 arm64 1.13.1-2 [101 kB] Get: 76 http://deb.debian.org/debian buster/main arm64 libxcb-dri3-0 arm64 1.13.1-2 [100 kB] Get: 77 http://deb.debian.org/debian buster/main arm64 libxcb-present0 arm64 1.13.1-2 [99.1 kB] Get: 78 http://deb.debian.org/debian buster/main arm64 libxcb-sync1 arm64 1.13.1-2 [102 kB] Get: 79 http://deb.debian.org/debian buster/main arm64 libxcb-xfixes0 arm64 1.13.1-2 [103 kB] Get: 80 http://deb.debian.org/debian buster/main arm64 libxshmfence1 arm64 1.3-1 [8712 B] Get: 81 http://deb.debian.org/debian buster/main arm64 libegl-mesa0 arm64 18.3.6-2+deb10u1 [130 kB] Get: 82 http://deb.debian.org/debian buster/main arm64 pkg-config arm64 0.29-6 [62.2 kB] Get: 83 http://deb.debian.org/debian buster/main arm64 libeigen3-dev all 3.3.7-1 [850 kB] Get: 84 http://deb.debian.org/debian buster/main arm64 xorg-sgml-doctools all 1:1.11-1 [21.9 kB] Get: 85 http://deb.debian.org/debian buster/main arm64 x11proto-dev all 2018.4-4 [251 kB] Get: 86 http://deb.debian.org/debian buster/main arm64 x11proto-core-dev all 2018.4-4 [3128 B] Get: 87 http://deb.debian.org/debian buster/main arm64 libxau-dev arm64 1:1.0.8-1+b2 [22.8 kB] Get: 88 http://deb.debian.org/debian buster/main arm64 libxdmcp-dev arm64 1:1.1.2-3 [41.2 kB] Get: 89 http://deb.debian.org/debian buster/main arm64 xtrans-dev all 1.3.5-1 [100 kB] Get: 90 http://deb.debian.org/debian buster/main arm64 libpthread-stubs0-dev arm64 0.4-1 [5336 B] Get: 91 http://deb.debian.org/debian buster/main arm64 libxcb1-dev arm64 1.13.1-2 [174 kB] Get: 92 http://deb.debian.org/debian buster/main arm64 libx11-dev arm64 2:1.6.7-1 [816 kB] Get: 93 http://deb.debian.org/debian buster/main arm64 mesa-common-dev arm64 18.3.6-2+deb10u1 [611 kB] Get: 94 http://deb.debian.org/debian buster/main arm64 libglvnd0 arm64 1.1.0-1 [42.4 kB] Get: 95 http://deb.debian.org/debian buster/main arm64 libglvnd-core-dev arm64 1.1.0-1 [13.2 kB] Get: 96 http://deb.debian.org/debian buster/main arm64 libegl1 arm64 1.1.0-1 [32.8 kB] Get: 97 http://deb.debian.org/debian buster/main arm64 libgles1 arm64 1.1.0-1 [14.3 kB] Get: 98 http://deb.debian.org/debian buster/main arm64 libgles2 arm64 1.1.0-1 [19.8 kB] Get: 99 http://deb.debian.org/debian buster/main arm64 libxext6 arm64 2:1.3.3-1+b2 [48.6 kB] Get: 100 http://deb.debian.org/debian buster/main arm64 libxcb-glx0 arm64 1.13.1-2 [116 kB] Get: 101 http://deb.debian.org/debian buster/main arm64 libxfixes3 arm64 1:5.0.3-1 [21.0 kB] Get: 102 http://deb.debian.org/debian buster/main arm64 libxdamage1 arm64 1:1.1.4-3+b3 [14.8 kB] Get: 103 http://deb.debian.org/debian buster/main arm64 libxxf86vm1 arm64 1:1.1.4-1+b2 [20.1 kB] Get: 104 http://deb.debian.org/debian buster/main arm64 libllvm7 arm64 1:7.0.1-8 [10.8 MB] Get: 105 http://deb.debian.org/debian buster/main arm64 libsensors-config all 1:3.5.0-3 [31.6 kB] Get: 106 http://deb.debian.org/debian buster/main arm64 libsensors5 arm64 1:3.5.0-3 [51.8 kB] Get: 107 http://deb.debian.org/debian buster/main arm64 libgl1-mesa-dri arm64 18.3.6-2+deb10u1 [4910 kB] Get: 108 http://deb.debian.org/debian buster/main arm64 libglx-mesa0 arm64 18.3.6-2+deb10u1 [180 kB] Get: 109 http://deb.debian.org/debian buster/main arm64 libglx0 arm64 1.1.0-1 [29.0 kB] Get: 110 http://deb.debian.org/debian buster/main arm64 libgl1 arm64 1.1.0-1 [92.5 kB] Get: 111 http://deb.debian.org/debian buster/main arm64 libopengl0 arm64 1.1.0-1 [34.4 kB] Get: 112 http://deb.debian.org/debian buster/main arm64 libglvnd-dev arm64 1.1.0-1 [5128 B] Get: 113 http://deb.debian.org/debian buster/main arm64 libx11-xcb-dev arm64 2:1.6.7-1 [192 kB] Get: 114 http://deb.debian.org/debian buster/main arm64 libxcb-dri3-dev arm64 1.13.1-2 [101 kB] Get: 115 http://deb.debian.org/debian buster/main arm64 libxcb-randr0 arm64 1.13.1-2 [110 kB] Get: 116 http://deb.debian.org/debian buster/main arm64 libxcb-render0 arm64 1.13.1-2 [108 kB] Get: 117 http://deb.debian.org/debian buster/main arm64 libxcb-render0-dev arm64 1.13.1-2 [113 kB] Get: 118 http://deb.debian.org/debian buster/main arm64 libxcb-randr0-dev arm64 1.13.1-2 [115 kB] Get: 119 http://deb.debian.org/debian buster/main arm64 libxcb-shape0 arm64 1.13.1-2 [99.6 kB] Get: 120 http://deb.debian.org/debian buster/main arm64 libxcb-shape0-dev arm64 1.13.1-2 [101 kB] Get: 121 http://deb.debian.org/debian buster/main arm64 libxcb-xfixes0-dev arm64 1.13.1-2 [106 kB] Get: 122 http://deb.debian.org/debian buster/main arm64 libxcb-sync-dev arm64 1.13.1-2 [105 kB] Get: 123 http://deb.debian.org/debian buster/main arm64 libxcb-present-dev arm64 1.13.1-2 [101 kB] Get: 124 http://deb.debian.org/debian buster/main arm64 libxshmfence-dev arm64 1.3-1 [8212 B] Get: 125 http://deb.debian.org/debian buster/main arm64 libxcb-dri2-0-dev arm64 1.13.1-2 [102 kB] Get: 126 http://deb.debian.org/debian buster/main arm64 libxcb-glx0-dev arm64 1.13.1-2 [122 kB] Get: 127 http://deb.debian.org/debian buster/main arm64 x11proto-fixes-dev all 1:2018.4-4 [3140 B] Get: 128 http://deb.debian.org/debian buster/main arm64 libxfixes-dev arm64 1:5.0.3-1 [23.2 kB] Get: 129 http://deb.debian.org/debian buster/main arm64 x11proto-damage-dev all 1:2018.4-4 [3140 B] Get: 130 http://deb.debian.org/debian buster/main arm64 libxdamage-dev arm64 1:1.1.4-3+b3 [14.8 kB] Get: 131 http://deb.debian.org/debian buster/main arm64 x11proto-xext-dev all 2018.4-4 [3128 B] Get: 132 http://deb.debian.org/debian buster/main arm64 libxext-dev arm64 2:1.3.3-1+b2 [104 kB] Get: 133 http://deb.debian.org/debian buster/main arm64 x11proto-xf86vidmode-dev all 2018.4-4 [3140 B] Get: 134 http://deb.debian.org/debian buster/main arm64 libxxf86vm-dev arm64 1:1.1.4-1+b2 [25.1 kB] Get: 135 http://deb.debian.org/debian buster/main arm64 libgl1-mesa-dev arm64 18.3.6-2+deb10u1 [48.0 kB] Get: 136 http://deb.debian.org/debian buster/main arm64 libglew2.1 arm64 2.1.0-4 [160 kB] Get: 137 http://deb.debian.org/debian buster/main arm64 libglu1-mesa arm64 9.0.0-2.1+b3 [146 kB] Get: 138 http://deb.debian.org/debian buster/main arm64 libglu1-mesa-dev arm64 9.0.0-2.1+b3 [186 kB] Get: 139 http://deb.debian.org/debian buster/main arm64 libglew-dev arm64 2.1.0-4 [141 kB] Get: 140 http://deb.debian.org/debian buster/main arm64 libjbig0 arm64 2.1-3.1+b2 [27.8 kB] Get: 141 http://deb.debian.org/debian buster/main arm64 libjpeg62-turbo arm64 1:1.5.2-2+b1 [115 kB] Get: 142 http://deb.debian.org/debian buster/main arm64 liblcms2-2 arm64 2.9-3 [137 kB] Get: 143 http://deb.debian.org/debian buster/main arm64 libmng1 arm64 1.0.10+dfsg-3.1+b5 [192 kB] Get: 144 http://deb.debian.org/debian buster/main arm64 libmuparser2v5 arm64 2.2.6.1+dfsg-1 [98.8 kB] Get: 145 http://deb.debian.org/debian buster/main arm64 libmuparser-dev arm64 2.2.6.1+dfsg-1 [30.0 kB] Get: 146 http://deb.debian.org/debian buster/main arm64 libopenctm1 arm64 1.0.3+dfsg1-2+b1 [45.7 kB] Get: 147 http://deb.debian.org/debian buster/main arm64 libopenctm-dev arm64 1.0.3+dfsg1-2+b1 [16.7 kB] Get: 148 http://deb.debian.org/debian buster/main arm64 libqhull7 arm64 2015.2-4 [175 kB] Get: 149 http://deb.debian.org/debian buster/main arm64 libqhull-r7 arm64 2015.2-4 [171 kB] Get: 150 http://deb.debian.org/debian buster/main arm64 libqhull-dev arm64 2015.2-4 [370 kB] Get: 151 http://deb.debian.org/debian buster/main arm64 qtcore4-l10n all 4:4.8.7+dfsg-18 [662 kB] Get: 152 http://deb.debian.org/debian buster/main arm64 libqtcore4 arm64 4:4.8.7+dfsg-18 [1503 kB] Get: 153 http://deb.debian.org/debian buster/main arm64 libqt4-xml arm64 4:4.8.7+dfsg-18 [136 kB] Get: 154 http://deb.debian.org/debian buster/main arm64 libqtdbus4 arm64 4:4.8.7+dfsg-18 [209 kB] Get: 155 http://deb.debian.org/debian buster/main arm64 qtchooser arm64 66-2 [24.9 kB] Get: 156 http://deb.debian.org/debian buster/main arm64 qdbus arm64 4:4.8.7+dfsg-18 [74.2 kB] Get: 157 http://deb.debian.org/debian buster/main arm64 libqt4-dbus arm64 4:4.8.7+dfsg-18 [53.8 kB] Get: 158 http://deb.debian.org/debian buster/main arm64 libqt4-network arm64 4:4.8.7+dfsg-18 [541 kB] Get: 159 http://deb.debian.org/debian buster/main arm64 libqt4-script arm64 4:4.8.7+dfsg-18 [694 kB] Get: 160 http://deb.debian.org/debian buster/main arm64 libqt4-sql arm64 4:4.8.7+dfsg-18 [139 kB] Get: 161 http://deb.debian.org/debian buster/main arm64 libqt4-xmlpatterns arm64 4:4.8.7+dfsg-18 [969 kB] Get: 162 http://deb.debian.org/debian buster/main arm64 libwebp6 arm64 0.6.1-2 [233 kB] Get: 163 http://deb.debian.org/debian buster/main arm64 libtiff5 arm64 4.1.0+git191117-2~deb10u1 [259 kB] Get: 164 http://deb.debian.org/debian buster/main arm64 libxrender1 arm64 1:0.9.10-1 [30.4 kB] Get: 165 http://deb.debian.org/debian buster/main arm64 libqtgui4 arm64 4:4.8.7+dfsg-18 [3736 kB] Get: 166 http://deb.debian.org/debian buster/main arm64 libqt4-declarative arm64 4:4.8.7+dfsg-18 [1027 kB] Get: 167 http://deb.debian.org/debian buster/main arm64 libqt4-designer arm64 4:4.8.7+dfsg-18 [3513 kB] Get: 168 http://deb.debian.org/debian buster/main arm64 libqt4-qt3support arm64 4:4.8.7+dfsg-18 [999 kB] Get: 169 http://deb.debian.org/debian buster/main arm64 libqt4-dev-bin arm64 4:4.8.7+dfsg-18 [1584 kB] Get: 170 http://deb.debian.org/debian buster/main arm64 libqt4-help arm64 4:4.8.7+dfsg-18 [233 kB] Get: 171 http://deb.debian.org/debian buster/main arm64 libqt4-scripttools arm64 4:4.8.7+dfsg-18 [259 kB] Get: 172 http://deb.debian.org/debian buster/main arm64 libqt4-svg arm64 4:4.8.7+dfsg-18 [170 kB] Get: 173 http://deb.debian.org/debian buster/main arm64 libqt4-test arm64 4:4.8.7+dfsg-18 [104 kB] Get: 174 http://deb.debian.org/debian buster/main arm64 qt4-linguist-tools arm64 4:4.8.7+dfsg-18 [820 kB] Get: 175 http://deb.debian.org/debian buster/main arm64 qt4-qmake arm64 4:4.8.7+dfsg-18 [1160 kB] Get: 176 http://deb.debian.org/debian buster/main arm64 libqt4-dev arm64 4:4.8.7+dfsg-18 [868 kB] Get: 177 http://deb.debian.org/debian buster/main arm64 libqt4-opengl arm64 4:4.8.7+dfsg-18 [321 kB] Get: 178 http://deb.debian.org/debian buster/main arm64 libqt4-opengl-dev arm64 4:4.8.7+dfsg-18 [70.1 kB] Get: 179 http://deb.debian.org/debian buster/main arm64 libxslt1.1 arm64 1.1.32-2.2~deb10u1 [225 kB] Get: 180 http://deb.debian.org/debian buster/main arm64 xsltproc arm64 1.1.32-2.2~deb10u1 [121 kB] Fetched 70.3 MB in 13s (5413 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19168 files and directories currently installed.) Preparing to unpack .../000-libbsd0_0.9.1-2_arm64.deb ... Unpacking libbsd0:arm64 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../001-bsdmainutils_11.1.2+b1_arm64.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../002-libuchardet0_0.0.6-3_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../003-groff-base_1.22.4-3_arm64.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../004-libpipeline1_1.5.1-2_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../005-man-db_2.8.5-2_arm64.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package sgml-base. Preparing to unpack .../006-sgml-base_1.29_all.deb ... Unpacking sgml-base (1.29) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../007-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../008-libmagic-mgc_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../009-libmagic1_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking libmagic1:arm64 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../010-file_1%3a5.35-4+deb10u1_arm64.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../011-gettext-base_0.19.8.1-9_arm64.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package ucf. Preparing to unpack .../012-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package libsigsegv2:arm64. Preparing to unpack .../013-libsigsegv2_2.12-2_arm64.deb ... Unpacking libsigsegv2:arm64 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../014-m4_1.4.18-2_arm64.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../015-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../016-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../017-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../018-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../019-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../020-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../021-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../022-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../023-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../024-libelf1_0.176-1.1_arm64.deb ... Unpacking libelf1:arm64 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../025-dwz_0.12-3_arm64.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:arm64. Preparing to unpack .../026-libglib2.0-0_2.58.3-2+deb10u2_arm64.deb ... Unpacking libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:arm64. Preparing to unpack .../027-libicu63_63.1-6+deb10u1_arm64.deb ... Unpacking libicu63:arm64 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../028-libxml2_2.9.4+dfsg1-7+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:arm64. Preparing to unpack .../029-libcroco3_0.6.12-3_arm64.deb ... Unpacking libcroco3:arm64 (0.6.12-3) ... Selecting previously unselected package libncurses6:arm64. Preparing to unpack .../030-libncurses6_6.1+20181013-2+deb10u2_arm64.deb ... Unpacking libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../031-gettext_0.19.8.1-9_arm64.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../032-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../033-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../034-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package xml-core. Preparing to unpack .../035-xml-core_0.18+nmu1_all.deb ... Unpacking xml-core (0.18+nmu1) ... Selecting previously unselected package docbook-xsl. Preparing to unpack .../036-docbook-xsl_1.79.1+dfsg-2_all.deb ... Unpacking docbook-xsl (1.79.1+dfsg-2) ... Selecting previously unselected package libexpat1:arm64. Preparing to unpack .../037-libexpat1_2.2.6-2+deb10u1_arm64.deb ... Unpacking libexpat1:arm64 (2.2.6-2+deb10u1) ... Selecting previously unselected package libpng16-16:arm64. Preparing to unpack .../038-libpng16-16_1.6.36-6_arm64.deb ... Unpacking libpng16-16:arm64 (1.6.36-6) ... Selecting previously unselected package libfreetype6:arm64. Preparing to unpack .../039-libfreetype6_2.9.1-3+deb10u1_arm64.deb ... Unpacking libfreetype6:arm64 (2.9.1-3+deb10u1) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../040-fonts-dejavu-core_2.37-1_all.deb ... Unpacking fonts-dejavu-core (2.37-1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../041-fontconfig-config_2.13.1-2_all.deb ... Unpacking fontconfig-config (2.13.1-2) ... Selecting previously unselected package libfontconfig1:arm64. Preparing to unpack .../042-libfontconfig1_2.13.1-2_arm64.deb ... Unpacking libfontconfig1:arm64 (2.13.1-2) ... Selecting previously unselected package fontconfig. Preparing to unpack .../043-fontconfig_2.13.1-2_arm64.deb ... Unpacking fontconfig (2.13.1-2) ... Selecting previously unselected package lib3ds-1-3:arm64. Preparing to unpack .../044-lib3ds-1-3_1.3.0-9+b1_arm64.deb ... Unpacking lib3ds-1-3:arm64 (1.3.0-9+b1) ... Selecting previously unselected package lib3ds-dev. Preparing to unpack .../045-lib3ds-dev_1.3.0-9+b1_arm64.deb ... Unpacking lib3ds-dev (1.3.0-9+b1) ... Selecting previously unselected package libxau6:arm64. Preparing to unpack .../046-libxau6_1%3a1.0.8-1+b2_arm64.deb ... Unpacking libxau6:arm64 (1:1.0.8-1+b2) ... Selecting previously unselected package lsb-base. Preparing to unpack .../047-lsb-base_10.2019051400_all.deb ... Unpacking lsb-base (10.2019051400) ... Selecting previously unselected package x11-common. Preparing to unpack .../048-x11-common_1%3a7.7+19_all.deb ... Unpacking x11-common (1:7.7+19) ... Selecting previously unselected package libice6:arm64. Preparing to unpack .../049-libice6_2%3a1.0.9-2_arm64.deb ... Unpacking libice6:arm64 (2:1.0.9-2) ... Selecting previously unselected package libsm6:arm64. Preparing to unpack .../050-libsm6_2%3a1.2.3-1_arm64.deb ... Unpacking libsm6:arm64 (2:1.2.3-1) ... Selecting previously unselected package libxdmcp6:arm64. Preparing to unpack .../051-libxdmcp6_1%3a1.1.2-3_arm64.deb ... Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:arm64. Preparing to unpack .../052-libxcb1_1.13.1-2_arm64.deb ... Unpacking libxcb1:arm64 (1.13.1-2) ... Selecting previously unselected package libx11-data. Preparing to unpack .../053-libx11-data_2%3a1.6.7-1_all.deb ... Unpacking libx11-data (2:1.6.7-1) ... Selecting previously unselected package libx11-6:arm64. Preparing to unpack .../054-libx11-6_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-6:arm64 (2:1.6.7-1) ... Selecting previously unselected package libxt6:arm64. Preparing to unpack .../055-libxt6_1%3a1.1.5-1+b3_arm64.deb ... Unpacking libxt6:arm64 (1:1.1.5-1+b3) ... Selecting previously unselected package libaudio2:arm64. Preparing to unpack .../056-libaudio2_1.9.4-6_arm64.deb ... Unpacking libaudio2:arm64 (1.9.4-6) ... Selecting previously unselected package libbz2-dev:arm64. Preparing to unpack .../057-libbz2-dev_1.0.6-9.2~deb10u1_arm64.deb ... Unpacking libbz2-dev:arm64 (1.0.6-9.2~deb10u1) ... Selecting previously unselected package libdbus-1-3:arm64. Preparing to unpack .../058-libdbus-1-3_1.12.16-1_arm64.deb ... Unpacking libdbus-1-3:arm64 (1.12.16-1) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../059-libdrm-common_2.4.97-1_all.deb ... Unpacking libdrm-common (2.4.97-1) ... Selecting previously unselected package libdrm2:arm64. Preparing to unpack .../060-libdrm2_2.4.97-1_arm64.deb ... Unpacking libdrm2:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-amdgpu1:arm64. Preparing to unpack .../061-libdrm-amdgpu1_2.4.97-1_arm64.deb ... Unpacking libdrm-amdgpu1:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-radeon1:arm64. Preparing to unpack .../062-libdrm-radeon1_2.4.97-1_arm64.deb ... Unpacking libdrm-radeon1:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-nouveau2:arm64. Preparing to unpack .../063-libdrm-nouveau2_2.4.97-1_arm64.deb ... Unpacking libdrm-nouveau2:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-freedreno1:arm64. Preparing to unpack .../064-libdrm-freedreno1_2.4.97-1_arm64.deb ... Unpacking libdrm-freedreno1:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-tegra0:arm64. Preparing to unpack .../065-libdrm-tegra0_2.4.97-1_arm64.deb ... Unpacking libdrm-tegra0:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-etnaviv1:arm64. Preparing to unpack .../066-libdrm-etnaviv1_2.4.97-1_arm64.deb ... Unpacking libdrm-etnaviv1:arm64 (2.4.97-1) ... Selecting previously unselected package libdrm-dev:arm64. Preparing to unpack .../067-libdrm-dev_2.4.97-1_arm64.deb ... Unpacking libdrm-dev:arm64 (2.4.97-1) ... Selecting previously unselected package libedit2:arm64. Preparing to unpack .../068-libedit2_3.1-20181209-1_arm64.deb ... Unpacking libedit2:arm64 (3.1-20181209-1) ... Selecting previously unselected package libwayland-server0:arm64. Preparing to unpack .../069-libwayland-server0_1.16.0-1_arm64.deb ... Unpacking libwayland-server0:arm64 (1.16.0-1) ... Selecting previously unselected package libgbm1:arm64. Preparing to unpack .../070-libgbm1_18.3.6-2+deb10u1_arm64.deb ... Unpacking libgbm1:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libglapi-mesa:arm64. Preparing to unpack .../071-libglapi-mesa_18.3.6-2+deb10u1_arm64.deb ... Unpacking libglapi-mesa:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libwayland-client0:arm64. Preparing to unpack .../072-libwayland-client0_1.16.0-1_arm64.deb ... Unpacking libwayland-client0:arm64 (1.16.0-1) ... Selecting previously unselected package libx11-xcb1:arm64. Preparing to unpack .../073-libx11-xcb1_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-xcb1:arm64 (2:1.6.7-1) ... Selecting previously unselected package libxcb-dri2-0:arm64. Preparing to unpack .../074-libxcb-dri2-0_1.13.1-2_arm64.deb ... Unpacking libxcb-dri2-0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-dri3-0:arm64. Preparing to unpack .../075-libxcb-dri3-0_1.13.1-2_arm64.deb ... Unpacking libxcb-dri3-0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-present0:arm64. Preparing to unpack .../076-libxcb-present0_1.13.1-2_arm64.deb ... Unpacking libxcb-present0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-sync1:arm64. Preparing to unpack .../077-libxcb-sync1_1.13.1-2_arm64.deb ... Unpacking libxcb-sync1:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-xfixes0:arm64. Preparing to unpack .../078-libxcb-xfixes0_1.13.1-2_arm64.deb ... Unpacking libxcb-xfixes0:arm64 (1.13.1-2) ... Selecting previously unselected package libxshmfence1:arm64. Preparing to unpack .../079-libxshmfence1_1.3-1_arm64.deb ... Unpacking libxshmfence1:arm64 (1.3-1) ... Selecting previously unselected package libegl-mesa0:arm64. Preparing to unpack .../080-libegl-mesa0_18.3.6-2+deb10u1_arm64.deb ... Unpacking libegl-mesa0:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../081-pkg-config_0.29-6_arm64.deb ... Unpacking pkg-config (0.29-6) ... Selecting previously unselected package libeigen3-dev. Preparing to unpack .../082-libeigen3-dev_3.3.7-1_all.deb ... Unpacking libeigen3-dev (3.3.7-1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../083-xorg-sgml-doctools_1%3a1.11-1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../084-x11proto-dev_2018.4-4_all.deb ... Unpacking x11proto-dev (2018.4-4) ... Selecting previously unselected package x11proto-core-dev. Preparing to unpack .../085-x11proto-core-dev_2018.4-4_all.deb ... Unpacking x11proto-core-dev (2018.4-4) ... Selecting previously unselected package libxau-dev:arm64. Preparing to unpack .../086-libxau-dev_1%3a1.0.8-1+b2_arm64.deb ... Unpacking libxau-dev:arm64 (1:1.0.8-1+b2) ... Selecting previously unselected package libxdmcp-dev:arm64. Preparing to unpack .../087-libxdmcp-dev_1%3a1.1.2-3_arm64.deb ... Unpacking libxdmcp-dev:arm64 (1:1.1.2-3) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../088-xtrans-dev_1.3.5-1_all.deb ... Unpacking xtrans-dev (1.3.5-1) ... Selecting previously unselected package libpthread-stubs0-dev:arm64. Preparing to unpack .../089-libpthread-stubs0-dev_0.4-1_arm64.deb ... Unpacking libpthread-stubs0-dev:arm64 (0.4-1) ... Selecting previously unselected package libxcb1-dev:arm64. Preparing to unpack .../090-libxcb1-dev_1.13.1-2_arm64.deb ... Unpacking libxcb1-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libx11-dev:arm64. Preparing to unpack .../091-libx11-dev_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-dev:arm64 (2:1.6.7-1) ... Selecting previously unselected package mesa-common-dev:arm64. Preparing to unpack .../092-mesa-common-dev_18.3.6-2+deb10u1_arm64.deb ... Unpacking mesa-common-dev:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libglvnd0:arm64. Preparing to unpack .../093-libglvnd0_1.1.0-1_arm64.deb ... Unpacking libglvnd0:arm64 (1.1.0-1) ... Selecting previously unselected package libglvnd-core-dev:arm64. Preparing to unpack .../094-libglvnd-core-dev_1.1.0-1_arm64.deb ... Unpacking libglvnd-core-dev:arm64 (1.1.0-1) ... Selecting previously unselected package libegl1:arm64. Preparing to unpack .../095-libegl1_1.1.0-1_arm64.deb ... Unpacking libegl1:arm64 (1.1.0-1) ... Selecting previously unselected package libgles1:arm64. Preparing to unpack .../096-libgles1_1.1.0-1_arm64.deb ... Unpacking libgles1:arm64 (1.1.0-1) ... Selecting previously unselected package libgles2:arm64. Preparing to unpack .../097-libgles2_1.1.0-1_arm64.deb ... Unpacking libgles2:arm64 (1.1.0-1) ... Selecting previously unselected package libxext6:arm64. Preparing to unpack .../098-libxext6_2%3a1.3.3-1+b2_arm64.deb ... Unpacking libxext6:arm64 (2:1.3.3-1+b2) ... Selecting previously unselected package libxcb-glx0:arm64. Preparing to unpack .../099-libxcb-glx0_1.13.1-2_arm64.deb ... Unpacking libxcb-glx0:arm64 (1.13.1-2) ... Selecting previously unselected package libxfixes3:arm64. Preparing to unpack .../100-libxfixes3_1%3a5.0.3-1_arm64.deb ... Unpacking libxfixes3:arm64 (1:5.0.3-1) ... Selecting previously unselected package libxdamage1:arm64. Preparing to unpack .../101-libxdamage1_1%3a1.1.4-3+b3_arm64.deb ... Unpacking libxdamage1:arm64 (1:1.1.4-3+b3) ... Selecting previously unselected package libxxf86vm1:arm64. Preparing to unpack .../102-libxxf86vm1_1%3a1.1.4-1+b2_arm64.deb ... Unpacking libxxf86vm1:arm64 (1:1.1.4-1+b2) ... Selecting previously unselected package libllvm7:arm64. Preparing to unpack .../103-libllvm7_1%3a7.0.1-8_arm64.deb ... Unpacking libllvm7:arm64 (1:7.0.1-8) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../104-libsensors-config_1%3a3.5.0-3_all.deb ... Unpacking libsensors-config (1:3.5.0-3) ... Selecting previously unselected package libsensors5:arm64. Preparing to unpack .../105-libsensors5_1%3a3.5.0-3_arm64.deb ... Unpacking libsensors5:arm64 (1:3.5.0-3) ... Selecting previously unselected package libgl1-mesa-dri:arm64. Preparing to unpack .../106-libgl1-mesa-dri_18.3.6-2+deb10u1_arm64.deb ... Unpacking libgl1-mesa-dri:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libglx-mesa0:arm64. Preparing to unpack .../107-libglx-mesa0_18.3.6-2+deb10u1_arm64.deb ... Unpacking libglx-mesa0:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libglx0:arm64. Preparing to unpack .../108-libglx0_1.1.0-1_arm64.deb ... Unpacking libglx0:arm64 (1.1.0-1) ... Selecting previously unselected package libgl1:arm64. Preparing to unpack .../109-libgl1_1.1.0-1_arm64.deb ... Unpacking libgl1:arm64 (1.1.0-1) ... Selecting previously unselected package libopengl0:arm64. Preparing to unpack .../110-libopengl0_1.1.0-1_arm64.deb ... Unpacking libopengl0:arm64 (1.1.0-1) ... Selecting previously unselected package libglvnd-dev:arm64. Preparing to unpack .../111-libglvnd-dev_1.1.0-1_arm64.deb ... Unpacking libglvnd-dev:arm64 (1.1.0-1) ... Selecting previously unselected package libx11-xcb-dev:arm64. Preparing to unpack .../112-libx11-xcb-dev_2%3a1.6.7-1_arm64.deb ... Unpacking libx11-xcb-dev:arm64 (2:1.6.7-1) ... Selecting previously unselected package libxcb-dri3-dev:arm64. Preparing to unpack .../113-libxcb-dri3-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-dri3-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-randr0:arm64. Preparing to unpack .../114-libxcb-randr0_1.13.1-2_arm64.deb ... Unpacking libxcb-randr0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-render0:arm64. Preparing to unpack .../115-libxcb-render0_1.13.1-2_arm64.deb ... Unpacking libxcb-render0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-render0-dev:arm64. Preparing to unpack .../116-libxcb-render0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-render0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-randr0-dev:arm64. Preparing to unpack .../117-libxcb-randr0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-randr0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-shape0:arm64. Preparing to unpack .../118-libxcb-shape0_1.13.1-2_arm64.deb ... Unpacking libxcb-shape0:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-shape0-dev:arm64. Preparing to unpack .../119-libxcb-shape0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-shape0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-xfixes0-dev:arm64. Preparing to unpack .../120-libxcb-xfixes0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-xfixes0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-sync-dev:arm64. Preparing to unpack .../121-libxcb-sync-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-sync-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-present-dev:arm64. Preparing to unpack .../122-libxcb-present-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-present-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxshmfence-dev:arm64. Preparing to unpack .../123-libxshmfence-dev_1.3-1_arm64.deb ... Unpacking libxshmfence-dev:arm64 (1.3-1) ... Selecting previously unselected package libxcb-dri2-0-dev:arm64. Preparing to unpack .../124-libxcb-dri2-0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-dri2-0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package libxcb-glx0-dev:arm64. Preparing to unpack .../125-libxcb-glx0-dev_1.13.1-2_arm64.deb ... Unpacking libxcb-glx0-dev:arm64 (1.13.1-2) ... Selecting previously unselected package x11proto-fixes-dev. Preparing to unpack .../126-x11proto-fixes-dev_1%3a2018.4-4_all.deb ... Unpacking x11proto-fixes-dev (1:2018.4-4) ... Selecting previously unselected package libxfixes-dev:arm64. Preparing to unpack .../127-libxfixes-dev_1%3a5.0.3-1_arm64.deb ... Unpacking libxfixes-dev:arm64 (1:5.0.3-1) ... Selecting previously unselected package x11proto-damage-dev. Preparing to unpack .../128-x11proto-damage-dev_1%3a2018.4-4_all.deb ... Unpacking x11proto-damage-dev (1:2018.4-4) ... Selecting previously unselected package libxdamage-dev:arm64. Preparing to unpack .../129-libxdamage-dev_1%3a1.1.4-3+b3_arm64.deb ... Unpacking libxdamage-dev:arm64 (1:1.1.4-3+b3) ... Selecting previously unselected package x11proto-xext-dev. Preparing to unpack .../130-x11proto-xext-dev_2018.4-4_all.deb ... Unpacking x11proto-xext-dev (2018.4-4) ... Selecting previously unselected package libxext-dev:arm64. Preparing to unpack .../131-libxext-dev_2%3a1.3.3-1+b2_arm64.deb ... Unpacking libxext-dev:arm64 (2:1.3.3-1+b2) ... Selecting previously unselected package x11proto-xf86vidmode-dev. Preparing to unpack .../132-x11proto-xf86vidmode-dev_2018.4-4_all.deb ... Unpacking x11proto-xf86vidmode-dev (2018.4-4) ... Selecting previously unselected package libxxf86vm-dev:arm64. Preparing to unpack .../133-libxxf86vm-dev_1%3a1.1.4-1+b2_arm64.deb ... Unpacking libxxf86vm-dev:arm64 (1:1.1.4-1+b2) ... Selecting previously unselected package libgl1-mesa-dev:arm64. Preparing to unpack .../134-libgl1-mesa-dev_18.3.6-2+deb10u1_arm64.deb ... Unpacking libgl1-mesa-dev:arm64 (18.3.6-2+deb10u1) ... Selecting previously unselected package libglew2.1:arm64. Preparing to unpack .../135-libglew2.1_2.1.0-4_arm64.deb ... Unpacking libglew2.1:arm64 (2.1.0-4) ... Selecting previously unselected package libglu1-mesa:arm64. Preparing to unpack .../136-libglu1-mesa_9.0.0-2.1+b3_arm64.deb ... Unpacking libglu1-mesa:arm64 (9.0.0-2.1+b3) ... Selecting previously unselected package libglu1-mesa-dev:arm64. Preparing to unpack .../137-libglu1-mesa-dev_9.0.0-2.1+b3_arm64.deb ... Unpacking libglu1-mesa-dev:arm64 (9.0.0-2.1+b3) ... Selecting previously unselected package libglew-dev:arm64. Preparing to unpack .../138-libglew-dev_2.1.0-4_arm64.deb ... Unpacking libglew-dev:arm64 (2.1.0-4) ... Selecting previously unselected package libjbig0:arm64. Preparing to unpack .../139-libjbig0_2.1-3.1+b2_arm64.deb ... Unpacking libjbig0:arm64 (2.1-3.1+b2) ... Selecting previously unselected package libjpeg62-turbo:arm64. Preparing to unpack .../140-libjpeg62-turbo_1%3a1.5.2-2+b1_arm64.deb ... Unpacking libjpeg62-turbo:arm64 (1:1.5.2-2+b1) ... Selecting previously unselected package liblcms2-2:arm64. Preparing to unpack .../141-liblcms2-2_2.9-3_arm64.deb ... Unpacking liblcms2-2:arm64 (2.9-3) ... Selecting previously unselected package libmng1:arm64. Preparing to unpack .../142-libmng1_1.0.10+dfsg-3.1+b5_arm64.deb ... Unpacking libmng1:arm64 (1.0.10+dfsg-3.1+b5) ... Selecting previously unselected package libmuparser2v5:arm64. Preparing to unpack .../143-libmuparser2v5_2.2.6.1+dfsg-1_arm64.deb ... Unpacking libmuparser2v5:arm64 (2.2.6.1+dfsg-1) ... Selecting previously unselected package libmuparser-dev. Preparing to unpack .../144-libmuparser-dev_2.2.6.1+dfsg-1_arm64.deb ... Unpacking libmuparser-dev (2.2.6.1+dfsg-1) ... Selecting previously unselected package libopenctm1:arm64. Preparing to unpack .../145-libopenctm1_1.0.3+dfsg1-2+b1_arm64.deb ... Unpacking libopenctm1:arm64 (1.0.3+dfsg1-2+b1) ... Selecting previously unselected package libopenctm-dev:arm64. Preparing to unpack .../146-libopenctm-dev_1.0.3+dfsg1-2+b1_arm64.deb ... Unpacking libopenctm-dev:arm64 (1.0.3+dfsg1-2+b1) ... Selecting previously unselected package libqhull7:arm64. Preparing to unpack .../147-libqhull7_2015.2-4_arm64.deb ... Unpacking libqhull7:arm64 (2015.2-4) ... Selecting previously unselected package libqhull-r7:arm64. Preparing to unpack .../148-libqhull-r7_2015.2-4_arm64.deb ... Unpacking libqhull-r7:arm64 (2015.2-4) ... Selecting previously unselected package libqhull-dev:arm64. Preparing to unpack .../149-libqhull-dev_2015.2-4_arm64.deb ... Unpacking libqhull-dev:arm64 (2015.2-4) ... Selecting previously unselected package qtcore4-l10n. Preparing to unpack .../150-qtcore4-l10n_4%3a4.8.7+dfsg-18_all.deb ... Unpacking qtcore4-l10n (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqtcore4:arm64. Preparing to unpack .../151-libqtcore4_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqtcore4:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-xml:arm64. Preparing to unpack .../152-libqt4-xml_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-xml:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqtdbus4:arm64. Preparing to unpack .../153-libqtdbus4_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqtdbus4:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package qtchooser. Preparing to unpack .../154-qtchooser_66-2_arm64.deb ... Unpacking qtchooser (66-2) ... Selecting previously unselected package qdbus. Preparing to unpack .../155-qdbus_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking qdbus (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-dbus:arm64. Preparing to unpack .../156-libqt4-dbus_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-dbus:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-network:arm64. Preparing to unpack .../157-libqt4-network_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-network:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-script:arm64. Preparing to unpack .../158-libqt4-script_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-script:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-sql:arm64. Preparing to unpack .../159-libqt4-sql_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-sql:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-xmlpatterns:arm64. Preparing to unpack .../160-libqt4-xmlpatterns_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-xmlpatterns:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libwebp6:arm64. Preparing to unpack .../161-libwebp6_0.6.1-2_arm64.deb ... Unpacking libwebp6:arm64 (0.6.1-2) ... Selecting previously unselected package libtiff5:arm64. Preparing to unpack .../162-libtiff5_4.1.0+git191117-2~deb10u1_arm64.deb ... Unpacking libtiff5:arm64 (4.1.0+git191117-2~deb10u1) ... Selecting previously unselected package libxrender1:arm64. Preparing to unpack .../163-libxrender1_1%3a0.9.10-1_arm64.deb ... Unpacking libxrender1:arm64 (1:0.9.10-1) ... Selecting previously unselected package libqtgui4:arm64. Preparing to unpack .../164-libqtgui4_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqtgui4:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-declarative:arm64. Preparing to unpack .../165-libqt4-declarative_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-declarative:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-designer:arm64. Preparing to unpack .../166-libqt4-designer_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-designer:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-qt3support:arm64. Preparing to unpack .../167-libqt4-qt3support_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-qt3support:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-dev-bin. Preparing to unpack .../168-libqt4-dev-bin_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-dev-bin (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-help:arm64. Preparing to unpack .../169-libqt4-help_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-help:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-scripttools:arm64. Preparing to unpack .../170-libqt4-scripttools_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-scripttools:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-svg:arm64. Preparing to unpack .../171-libqt4-svg_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-svg:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-test:arm64. Preparing to unpack .../172-libqt4-test_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-test:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package qt4-linguist-tools. Preparing to unpack .../173-qt4-linguist-tools_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking qt4-linguist-tools (4:4.8.7+dfsg-18) ... Selecting previously unselected package qt4-qmake. Preparing to unpack .../174-qt4-qmake_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking qt4-qmake (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-dev. Preparing to unpack .../175-libqt4-dev_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-dev (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-opengl:arm64. Preparing to unpack .../176-libqt4-opengl_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-opengl:arm64 (4:4.8.7+dfsg-18) ... Selecting previously unselected package libqt4-opengl-dev. Preparing to unpack .../177-libqt4-opengl-dev_4%3a4.8.7+dfsg-18_arm64.deb ... Unpacking libqt4-opengl-dev (4:4.8.7+dfsg-18) ... Selecting previously unselected package libxslt1.1:arm64. Preparing to unpack .../178-libxslt1.1_1.1.32-2.2~deb10u1_arm64.deb ... Unpacking libxslt1.1:arm64 (1.1.32-2.2~deb10u1) ... Selecting previously unselected package xsltproc. Preparing to unpack .../179-xsltproc_1.1.32-2.2~deb10u1_arm64.deb ... Unpacking xsltproc (1.1.32-2.2~deb10u1) ... Setting up libexpat1:arm64 (2.2.6-2+deb10u1) ... Setting up libpipeline1:arm64 (1.5.1-2) ... Setting up liblcms2-2:arm64 (2.9-3) ... Setting up libwayland-server0:arm64 (1.16.0-1) ... Setting up lsb-base (10.2019051400) ... Setting up libx11-xcb1:arm64 (2:1.6.7-1) ... Setting up libxau6:arm64 (1:1.0.8-1+b2) ... Setting up libglvnd-core-dev:arm64 (1.1.0-1) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up lib3ds-1-3:arm64 (1.3.0-9+b1) ... Setting up libglib2.0-0:arm64 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libglvnd0:arm64 (1.1.0-1) ... Setting up lib3ds-dev (1.3.0-9+b1) ... Setting up x11-common (1:7.7+19) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: could not determine current runlevel Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. Setting up libsensors-config (1:3.5.0-3) ... Setting up libmagic1:arm64 (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up libqhull7:arm64 (2015.2-4) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libpthread-stubs0-dev:arm64 (0.4-1) ... Setting up libjbig0:arm64 (2.1-3.1+b2) ... Setting up libicu63:arm64 (63.1-6+deb10u1) ... Setting up libopengl0:arm64 (1.1.0-1) ... Setting up xtrans-dev (1.3.5-1) ... Setting up autotools-dev (20180224.1) ... Setting up libgles2:arm64 (1.1.0-1) ... Setting up libjpeg62-turbo:arm64 (1:1.5.2-2+b1) ... Setting up libx11-data (2:1.6.7-1) ... Setting up libncurses6:arm64 (6.1+20181013-2+deb10u2) ... Setting up libgles1:arm64 (1.1.0-1) ... Setting up libdbus-1-3:arm64 (1.12.16-1) ... Setting up libsigsegv2:arm64 (2.12-2) ... Setting up libopenctm1:arm64 (1.0.3+dfsg1-2+b1) ... Setting up libpng16-16:arm64 (1.6.36-6) ... Setting up autopoint (0.19.8.1-9) ... Setting up libwebp6:arm64 (0.6.1-2) ... Setting up pkg-config (0.29-6) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up libsensors5:arm64 (1:3.5.0-3) ... Setting up libglapi-mesa:arm64 (18.3.6-2+deb10u1) ... Setting up sensible-utils (0.0.12) ... Setting up libxshmfence1:arm64 (1.3-1) ... Setting up libuchardet0:arm64 (0.0.6-3) ... Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up sgml-base (1.29) ... Setting up libtiff5:arm64 (4.1.0+git191117-2~deb10u1) ... Setting up libqhull-r7:arm64 (2015.2-4) ... Setting up libmuparser2v5:arm64 (2.2.6.1+dfsg-1) ... Setting up libbsd0:arm64 (0.9.1-2) ... Setting up libdrm-common (2.4.97-1) ... Setting up libelf1:arm64 (0.176-1.1) ... Setting up libxml2:arm64 (2.9.4+dfsg1-7+b3) ... Setting up qtchooser (66-2) ... Setting up qtcore4-l10n (4:4.8.7+dfsg-18) ... Setting up libbz2-dev:arm64 (1.0.6-9.2~deb10u1) ... Setting up libwayland-client0:arm64 (1.16.0-1) ... Setting up libmng1:arm64 (1.0.10+dfsg-3.1+b5) ... Setting up x11proto-dev (2018.4-4) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libmuparser-dev (2.2.6.1+dfsg-1) ... Setting up libice6:arm64 (2:1.0.9-2) ... Setting up libxdmcp6:arm64 (1:1.1.2-3) ... Setting up libxcb1:arm64 (1.13.1-2) ... Setting up libxcb-xfixes0:arm64 (1.13.1-2) ... Setting up libxau-dev:arm64 (1:1.0.8-1+b2) ... Setting up libtool (2.4.6-9) ... Setting up libxcb-render0:arm64 (1.13.1-2) ... Setting up libxshmfence-dev:arm64 (1.3-1) ... Setting up libxcb-glx0:arm64 (1.13.1-2) ... Setting up libedit2:arm64 (3.1-20181209-1) ... Setting up libxcb-shape0:arm64 (1.13.1-2) ... Setting up libopenctm-dev:arm64 (1.0.3+dfsg1-2+b1) ... Setting up m4 (1.4.18-2) ... Setting up libxcb-present0:arm64 (1.13.1-2) ... Setting up libxdmcp-dev:arm64 (1:1.1.2-3) ... Setting up x11proto-damage-dev (1:2018.4-4) ... Setting up libfreetype6:arm64 (2.9.1-3+deb10u1) ... Setting up libxcb-sync1:arm64 (1.13.1-2) ... Setting up x11proto-core-dev (2018.4-4) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libeigen3-dev (3.3.7-1) ... Setting up libcroco3:arm64 (0.6.12-3) ... Setting up qt4-qmake (4:4.8.7+dfsg-18) ... Setting up libqtcore4:arm64 (4:4.8.7+dfsg-18) ... Setting up ucf (3.0038+nmu1) ... Setting up libqhull-dev:arm64 (2015.2-4) ... Setting up autoconf (2.69-11) ... Setting up libxcb-dri2-0:arm64 (1.13.1-2) ... Setting up x11proto-xf86vidmode-dev (2018.4-4) ... Setting up x11proto-xext-dev (2018.4-4) ... Setting up libdrm2:arm64 (2.4.97-1) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up libxcb-randr0:arm64 (1.13.1-2) ... Setting up xml-core (0.18+nmu1) ... Setting up libxslt1.1:arm64 (1.1.32-2.2~deb10u1) ... Setting up libllvm7:arm64 (1:7.0.1-8) ... Setting up libx11-6:arm64 (2:1.6.7-1) ... Setting up x11proto-fixes-dev (1:2018.4-4) ... Setting up libsm6:arm64 (2:1.2.3-1) ... Setting up libdrm-amdgpu1:arm64 (2.4.97-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libxcb-dri3-0:arm64 (1.13.1-2) ... Setting up libdrm-nouveau2:arm64 (2.4.97-1) ... Setting up gettext (0.19.8.1-9) ... Setting up libdrm-etnaviv1:arm64 (2.4.97-1) ... Setting up libxcb1-dev:arm64 (1.13.1-2) ... Setting up libxrender1:arm64 (1:0.9.10-1) ... Setting up libgbm1:arm64 (18.3.6-2+deb10u1) ... Setting up libdrm-radeon1:arm64 (2.4.97-1) ... Setting up fontconfig-config (2.13.1-2) ... Setting up libgl1-mesa-dri:arm64 (18.3.6-2+deb10u1) ... Setting up xsltproc (1.1.32-2.2~deb10u1) ... Setting up libx11-dev:arm64 (2:1.6.7-1) ... Setting up libxext6:arm64 (2:1.3.3-1+b2) ... Setting up libxcb-dri3-dev:arm64 (1.13.1-2) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libxxf86vm1:arm64 (1:1.1.4-1+b2) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libqt4-sql:arm64 (4:4.8.7+dfsg-18) ... Setting up libqt4-xml:arm64 (4:4.8.7+dfsg-18) ... Setting up libegl-mesa0:arm64 (18.3.6-2+deb10u1) ... Setting up libxcb-dri2-0-dev:arm64 (1.13.1-2) ... Setting up libqt4-test:arm64 (4:4.8.7+dfsg-18) ... Setting up libxfixes3:arm64 (1:5.0.3-1) ... Setting up libdrm-freedreno1:arm64 (2.4.97-1) ... Setting up libxcb-render0-dev:arm64 (1.13.1-2) ... Setting up libxcb-glx0-dev:arm64 (1.13.1-2) ... Setting up libxt6:arm64 (1:1.1.5-1+b3) ... Setting up libaudio2:arm64 (1.9.4-6) ... Setting up libdrm-tegra0:arm64 (2.4.97-1) ... Setting up libxcb-shape0-dev:arm64 (1.13.1-2) ... Setting up libxext-dev:arm64 (2:1.3.3-1+b2) ... Setting up libegl1:arm64 (1.1.0-1) ... Setting up libxcb-sync-dev:arm64 (1.13.1-2) ... Setting up libxcb-xfixes0-dev:arm64 (1.13.1-2) ... Setting up libfontconfig1:arm64 (2.13.1-2) ... Setting up libqtdbus4:arm64 (4:4.8.7+dfsg-18) ... Setting up libx11-xcb-dev:arm64 (2:1.6.7-1) ... Setting up fontconfig (2.13.1-2) ... Regenerating fonts cache... done. Setting up libdrm-dev:arm64 (2.4.97-1) ... Setting up libxdamage1:arm64 (1:1.1.4-3+b3) ... Setting up libqt4-network:arm64 (4:4.8.7+dfsg-18) ... Setting up qt4-linguist-tools (4:4.8.7+dfsg-18) ... Setting up po-debconf (1.0.21) ... Setting up libxxf86vm-dev:arm64 (1:1.1.4-1+b2) ... Setting up libxfixes-dev:arm64 (1:5.0.3-1) ... Setting up libxcb-randr0-dev:arm64 (1.13.1-2) ... Setting up libqt4-xmlpatterns:arm64 (4:4.8.7+dfsg-18) ... Setting up libxcb-present-dev:arm64 (1.13.1-2) ... Setting up qdbus (4:4.8.7+dfsg-18) ... Setting up libqt4-script:arm64 (4:4.8.7+dfsg-18) ... Setting up mesa-common-dev:arm64 (18.3.6-2+deb10u1) ... Setting up libxdamage-dev:arm64 (1:1.1.4-3+b3) ... Setting up libqtgui4:arm64 (4:4.8.7+dfsg-18) ... Setting up libglx-mesa0:arm64 (18.3.6-2+deb10u1) ... Setting up libglx0:arm64 (1.1.0-1) ... Setting up libqt4-declarative:arm64 (4:4.8.7+dfsg-18) ... Setting up libqt4-help:arm64 (4:4.8.7+dfsg-18) ... Setting up libqt4-designer:arm64 (4:4.8.7+dfsg-18) ... Setting up libqt4-qt3support:arm64 (4:4.8.7+dfsg-18) ... Setting up libgl1:arm64 (1.1.0-1) ... Setting up libqt4-scripttools:arm64 (4:4.8.7+dfsg-18) ... Setting up libqt4-svg:arm64 (4:4.8.7+dfsg-18) ... Setting up libqt4-dbus:arm64 (4:4.8.7+dfsg-18) ... Setting up libglew2.1:arm64 (2.1.0-4) ... Setting up libqt4-opengl:arm64 (4:4.8.7+dfsg-18) ... Setting up libglu1-mesa:arm64 (9.0.0-2.1+b3) ... Setting up libqt4-dev-bin (4:4.8.7+dfsg-18) ... Setting up libglvnd-dev:arm64 (1.1.0-1) ... Setting up libgl1-mesa-dev:arm64 (18.3.6-2+deb10u1) ... Setting up libqt4-dev (4:4.8.7+dfsg-18) ... Setting up libglu1-mesa-dev:arm64 (9.0.0-2.1+b3) ... Setting up libqt4-opengl-dev (4:4.8.7+dfsg-18) ... Setting up libglew-dev:arm64 (2.1.0-4) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Setting up debhelper (12.1.1) ... Processing triggers for libc-bin (2.28-10) ... Processing triggers for sgml-base (1.29) ... Setting up docbook-xsl (1.79.1+dfsg-2) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/meshlab-1.3.2+dfsg1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package meshlab dpkg-buildpackage: info: source version 1.3.2+dfsg1-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Graham Inggs dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 fakeroot debian/rules clean dh clean dh_clean rm -f build-stamp configure-stamp rm -f meshlab/docs/meshlab.1.xml meshlab/docs/meshlabserver.1.xml if [ -e meshlab/src/Makefile ] ; then /usr/bin/make -C meshlab/src distclean ; fi if [ -e meshlab/src/external/Makefile ] ; then /usr/bin/make -C meshlab/src/external distclean ; fi rm -rf meshlab/src/external/lib/linux-g++ rm meshlab/src/external/levmar-2.3/Makefile.levmar-2 rm: cannot remove 'meshlab/src/external/levmar-2.3/Makefile.levmar-2': No such file or directory make: [debian/rules:71: clean] Error 1 (ignored) rm meshlab/src/external/structuresynth/Makefile.structuresynth rm: cannot remove 'meshlab/src/external/structuresynth/Makefile.structuresynth': No such file or directory make: [debian/rules:72: clean] Error 1 (ignored) rm meshlab/src/external/jhead-2.95/Makefile.jhead-2 rm: cannot remove 'meshlab/src/external/jhead-2.95/Makefile.jhead-2': No such file or directory make: [debian/rules:73: clean] Error 1 (ignored) find ./ -name "Makefile" | xargs rm -f find ./ -name "Makefile.Debug" | xargs rm -f find ./ -name "Makefile.Release" | xargs rm -f mv 3Dlabs-license.txt meshlab/src/distrib/shaders mv: cannot stat '3Dlabs-license.txt': No such file or directory make: [debian/rules:77: clean] Error 1 (ignored) mv LightworkDesign-license.txt meshlab/src/distrib/shaders mv: cannot stat 'LightworkDesign-license.txt': No such file or directory make: [debian/rules:78: clean] Error 1 (ignored) rm debian/meshlab.png rm: cannot remove 'debian/meshlab.png': No such file or directory make: [debian/rules:79: clean] Error 1 (ignored) debian/rules build dh_testdir cd meshlab/src/external ; qmake -spec linux-g++ -recursive external.pro QMAKE_CFLAGS_RELEASE="-g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CFLAGS_DEBUG="-g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CXXFLAGS_RELEASE="-g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CXXFLAGS_DEBUG="-g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_LFLAGS_RELEASE="-Wl,-z,relro" QMAKE_LFLAGS_DEBUG="-Wl,-z,relro" Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/external/levmar-2.3/levmar-2.3.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/external/structuresynth/structuresynth.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/external/jhead-2.95/jhead-2.95.pro cd meshlab/src ; qmake -spec linux-g++ -recursive meshlab_full.pro QMAKE_CFLAGS_RELEASE="-g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CFLAGS_DEBUG="-g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CXXFLAGS_RELEASE="-g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CXXFLAGS_DEBUG="-g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_LFLAGS_RELEASE="-Wl,-z,relro" QMAKE_LFLAGS_DEBUG="-Wl,-z,relro" Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/common/common.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlab/meshlab.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabserver/meshlabserver.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_base/io_base.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_3ds/io_3ds.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_bre/io_bre.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_collada/io_collada.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_ctm/io_ctm.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_json/io_json.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_u3d/io_u3d.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_tri/io_tri.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_x3d/io_x3d.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_gts/io_gts.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_expe/io_expe.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_pdb/io_pdb.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_aging/filter_aging.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ao/filter_ao.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_autoalign/filter_autoalign.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_camera/filter_camera.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_bnpts/filter_bnpts.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_clean/filter_clean.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorize/filter_colorize.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorproc/filter_colorproc.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_color_projection/filter_color_projection.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_create/filter_create.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_dirt/filter_dirt.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_fractal/filter_fractal.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_func/filter_func.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_img_patch_param/filter_img_patch_param.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_layer/filter_layer.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_measure/filter_measure.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_meshing/filter_meshing.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mutualinfoxml/filter_mutualinfoxml.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mls/filter_mls.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_photosynth/filter_photosynth.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_plymc/filter_plymc.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_poisson/filter_poisson.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_qhull/filter_qhull.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_quality/filter_quality.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sampling/filter_sampling.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sdfgpu/filter_sdfgpu.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_select/filter_select.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ssynth/filter_ssynth.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_texture/filter_texture.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_trioptimize/filter_trioptimize.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_unsharp/filter_unsharp.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_zippering/filter_zippering.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_splatting/render_splatting.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_gdp/render_gdp.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_radiance_scaling/render_radiance_scaling.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_rfx/render_rfx.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_base/decorate_base.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_background/decorate_background.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_shadow/decorate_shadow.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_raster_proj/decorate_raster_proj.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_select/edit_select.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_pickpoints/edit_pickpoints.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_align/edit_align.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_measure/edit_measure.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_hole/edit_hole.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_paint/edit_paint.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_point/edit_point.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_quality/edit_quality.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_texture/edit_texture.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_manipulators/edit_manipulators.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/sampleedit/sampleedit.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilter/samplefilter.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilterdyn/samplefilterdyn.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/io_m/io_m.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/filtergeodesic/filtergeodesic.pro Reading /build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/filtercreateiso/filtercreateiso.pro touch configure-stamp dh_testdir /usr/bin/make -C meshlab/src/external make[1]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/external' cd levmar-2.3/ && /usr/lib/aarch64-linux-gnu/qt4/bin/qmake /build/meshlab-1.3.2+dfsg1/meshlab/src/external/levmar-2.3/levmar-2.3.pro -spec /usr/share/qt4/mkspecs/linux-g++ QMAKE_CFLAGS_RELEASE=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CFLAGS_DEBUG=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_LFLAGS_RELEASE=-Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -o Makefile cd levmar-2.3/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/external/levmar-2.3' gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o Axb.o Axb.c gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o lm.o lm.c gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o lmbc.o lmbc.c gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o lmblec.o lmblec.c lmblec.c:39:2: warning: #warning Combined box and linearly constrained optimization requires LAPACK and was not compiled! [-Wcpp] #warning Combined box and linearly constrained optimization requires LAPACK and was not compiled! ^~~~~~~ gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o lmlec.o lmlec.c lmlec.c:39:2: warning: #warning Linearly constrained optimization requires LAPACK and was not compiled! [-Wcpp] #warning Linearly constrained optimization requires LAPACK and was not compiled! ^~~~~~~ gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o misc.o misc.c In file included from misc.c:47: misc_core.c: In function 'slevmar_LUinverse_noLapack': misc_core.c:428:5: warning: variable 'buf_sz' set but not used [-Wunused-but-set-variable] int buf_sz=0; ^~~~~~ misc_core.c: In function 'slevmar_covar': misc_core.c:576:2: warning: #warning LAPACK not available, LU will be used for matrix inversion when computing the covariance; this might be unstable at times [-Wcpp] #warning LAPACK not available, LU will be used for matrix inversion when computing the covariance; this might be unstable at times ^~~~~~~ In file included from misc.c:64: misc_core.c: In function 'dlevmar_LUinverse_noLapack': misc_core.c:428:5: warning: variable 'buf_sz' set but not used [-Wunused-but-set-variable] int buf_sz=0; ^~~~~~ misc_core.c: In function 'dlevmar_covar': misc_core.c:576:2: warning: #warning LAPACK not available, LU will be used for matrix inversion when computing the covariance; this might be unstable at times [-Wcpp] #warning LAPACK not available, LU will be used for matrix inversion when computing the covariance; this might be unstable at times ^~~~~~~ In file included from misc.c:47: misc_core.c: In function 'slevmar_L2nrmxmy': misc_core.c:713:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:714:9: note: here case 6 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:714:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:715:9: note: here case 5 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:715:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:716:9: note: here case 4 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:716:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:717:9: note: here case 3 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:717:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:718:9: note: here case 2 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:718:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:719:9: note: here case 1 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:748:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:749:9: note: here case 6 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:749:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:750:9: note: here case 5 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:750:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:751:9: note: here case 4 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:751:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:752:9: note: here case 3 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:752:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:753:9: note: here case 2 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:753:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:754:9: note: here case 1 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ In file included from misc.c:64: misc_core.c: In function 'dlevmar_L2nrmxmy': misc_core.c:713:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:714:9: note: here case 6 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:714:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:715:9: note: here case 5 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:715:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:716:9: note: here case 4 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:716:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:717:9: note: here case 3 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:717:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:718:9: note: here case 2 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:718:51: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:719:9: note: here case 1 : e[i]=x[i]-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:748:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 7 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:749:9: note: here case 6 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:749:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 6 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:750:9: note: here case 5 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:750:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:751:9: note: here case 4 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:751:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:752:9: note: here case 3 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:752:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:753:9: note: here case 2 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ misc_core.c:753:47: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~ misc_core.c:754:9: note: here case 1 : e[i]=-y[i]; sum0+=e[i]*e[i]; ++i; ^~~~ rm -f liblevmar.a ar cqs liblevmar.a Axb.o lm.o lmbc.o lmblec.o lmlec.o misc.o rm -f ../lib/linux-g++/liblevmar.a mv -f liblevmar.a ../lib/linux-g++/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/external/levmar-2.3' cd structuresynth/ && /usr/lib/aarch64-linux-gnu/qt4/bin/qmake /build/meshlab-1.3.2+dfsg1/meshlab/src/external/structuresynth/structuresynth.pro -spec /usr/share/qt4/mkspecs/linux-g++ QMAKE_CFLAGS_RELEASE=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CFLAGS_DEBUG=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_LFLAGS_RELEASE=-Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -o Makefile cd structuresynth/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/external/structuresynth' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Action.o ssynth/StructureSynth/Model/Action.cpp In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/Rendering/../../../SyntopiaCore/Math/Vector3.h:4, from ssynth/StructureSynth/Model/Rendering/Renderer.h:4, from ssynth/StructureSynth/Model/Rule.h:3, from ssynth/StructureSynth/Model/RuleRef.h:3, from ssynth/StructureSynth/Model/Action.h:3, from ssynth/StructureSynth/Model/Action.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = StructureSynth::Model::RuleState]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = StructureSynth::Model::RuleState]' ssynth/StructureSynth/Model/Action.cpp:29:56: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/Rendering/../../../SyntopiaCore/Math/Vector3.h:4, from ssynth/StructureSynth/Model/Rendering/Renderer.h:4, from ssynth/StructureSynth/Model/Rule.h:3, from ssynth/StructureSynth/Model/RuleRef.h:3, from ssynth/StructureSynth/Model/Action.h:3, from ssynth/StructureSynth/Model/Action.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/Rendering/../../../SyntopiaCore/Math/Vector3.h:4, from ssynth/StructureSynth/Model/Rendering/Renderer.h:4, from ssynth/StructureSynth/Model/Rule.h:3, from ssynth/StructureSynth/Model/RuleRef.h:3, from ssynth/StructureSynth/Model/Action.h:3, from ssynth/StructureSynth/Model/Action.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = SyntopiaCore::GLEngine::Command]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = SyntopiaCore::GLEngine::Command]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = SyntopiaCore::GLEngine::Command]' ssynth/StructureSynth/Model/../../SyntopiaCore/GLEngine/EngineWidget.h:148:104: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/Rendering/../../../SyntopiaCore/Math/Vector3.h:4, from ssynth/StructureSynth/Model/Rendering/Renderer.h:4, from ssynth/StructureSynth/Model/Rule.h:3, from ssynth/StructureSynth/Model/RuleRef.h:3, from ssynth/StructureSynth/Model/Action.h:3, from ssynth/StructureSynth/Model/Action.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o AmbiguousRule.o ssynth/StructureSynth/Model/AmbiguousRule.cpp In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/Rendering/../../../SyntopiaCore/Math/Vector3.h:4, from ssynth/StructureSynth/Model/Rendering/Renderer.h:4, from ssynth/StructureSynth/Model/Rule.h:3, from ssynth/StructureSynth/Model/AmbiguousRule.h:3, from ssynth/StructureSynth/Model/AmbiguousRule.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = SyntopiaCore::GLEngine::Command]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = SyntopiaCore::GLEngine::Command]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = SyntopiaCore::GLEngine::Command]' ssynth/StructureSynth/Model/../../SyntopiaCore/GLEngine/EngineWidget.h:148:104: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/Rendering/../../../SyntopiaCore/Math/Vector3.h:4, from ssynth/StructureSynth/Model/Rendering/Renderer.h:4, from ssynth/StructureSynth/Model/Rule.h:3, from ssynth/StructureSynth/Model/AmbiguousRule.h:3, from ssynth/StructureSynth/Model/AmbiguousRule.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Builder.o ssynth/StructureSynth/Model/Builder.cpp In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qprogressdialog.h:45, from /usr/include/qt4/QtGui/QProgressDialog:1, from ssynth/StructureSynth/Model/Builder.h:4, from ssynth/StructureSynth/Model/Builder.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = StructureSynth::Model::RuleState]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = StructureSynth::Model::RuleState]' ssynth/StructureSynth/Model/Builder.cpp:184:60: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qprogressdialog.h:45, from /usr/include/qt4/QtGui/QProgressDialog:1, from ssynth/StructureSynth/Model/Builder.h:4, from ssynth/StructureSynth/Model/Builder.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qprogressdialog.h:45, from /usr/include/qt4/QtGui/QProgressDialog:1, from ssynth/StructureSynth/Model/Builder.h:4, from ssynth/StructureSynth/Model/Builder.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = SyntopiaCore::GLEngine::Command]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = SyntopiaCore::GLEngine::Command]' ssynth/StructureSynth/Model/Builder.cpp:264:59: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qprogressdialog.h:45, from /usr/include/qt4/QtGui/QProgressDialog:1, from ssynth/StructureSynth/Model/Builder.h:4, from ssynth/StructureSynth/Model/Builder.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o ColorPool.o ssynth/StructureSynth/Model/ColorPool.cpp In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/ColorPool.h:5, from ssynth/StructureSynth/Model/ColorPool.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QColor]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QColor]' ssynth/StructureSynth/Model/ColorPool.cpp:50:24: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/ColorPool.h:5, from ssynth/StructureSynth/Model/ColorPool.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/ColorPool.h:5, from ssynth/StructureSynth/Model/ColorPool.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = SyntopiaCore::GLEngine::Command]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = SyntopiaCore::GLEngine::Command]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = SyntopiaCore::GLEngine::Command]' ssynth/StructureSynth/Model/../../SyntopiaCore/GLEngine/EngineWidget.h:148:104: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/ColorPool.h:5, from ssynth/StructureSynth/Model/ColorPool.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o CustomRule.o ssynth/StructureSynth/Model/CustomRule.cpp In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/Rendering/../../../SyntopiaCore/Math/Vector3.h:4, from ssynth/StructureSynth/Model/Rendering/Renderer.h:4, from ssynth/StructureSynth/Model/Rule.h:3, from ssynth/StructureSynth/Model/CustomRule.h:3, from ssynth/StructureSynth/Model/CustomRule.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = SyntopiaCore::GLEngine::Command]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = SyntopiaCore::GLEngine::Command]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = SyntopiaCore::GLEngine::Command]' ssynth/StructureSynth/Model/../../SyntopiaCore/GLEngine/EngineWidget.h:148:104: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/Rendering/../../../SyntopiaCore/Math/Vector3.h:4, from ssynth/StructureSynth/Model/Rendering/Renderer.h:4, from ssynth/StructureSynth/Model/Rule.h:3, from ssynth/StructureSynth/Model/CustomRule.h:3, from ssynth/StructureSynth/Model/CustomRule.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o ExecutionStack.o ssynth/StructureSynth/Model/ExecutionStack.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o PrimitiveClass.o ssynth/StructureSynth/Model/PrimitiveClass.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o PrimitiveRule.o ssynth/StructureSynth/Model/PrimitiveRule.cpp ssynth/StructureSynth/Model/PrimitiveRule.cpp: In member function 'virtual void StructureSynth::Model::PrimitiveRule::apply(StructureSynth::Model::Builder*) const': ssynth/StructureSynth/Model/PrimitiveRule.cpp:59:14: warning: variable 'v1' set but not used [-Wunused-but-set-variable] Vector3f v1 = b->getState().matrix * v; ^~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/Rendering/../../../SyntopiaCore/Math/Vector3.h:4, from ssynth/StructureSynth/Model/Rendering/Renderer.h:4, from ssynth/StructureSynth/Model/Rule.h:3, from ssynth/StructureSynth/Model/PrimitiveRule.h:3, from ssynth/StructureSynth/Model/PrimitiveRule.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = SyntopiaCore::GLEngine::Command]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = SyntopiaCore::GLEngine::Command]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = SyntopiaCore::GLEngine::Command]' ssynth/StructureSynth/Model/../../SyntopiaCore/GLEngine/EngineWidget.h:148:104: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/StructureSynth/Model/Rendering/../../../SyntopiaCore/Math/Vector3.h:4, from ssynth/StructureSynth/Model/Rendering/Renderer.h:4, from ssynth/StructureSynth/Model/Rule.h:3, from ssynth/StructureSynth/Model/PrimitiveRule.h:3, from ssynth/StructureSynth/Model/PrimitiveRule.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o RandomStreams.o ssynth/StructureSynth/Model/RandomStreams.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Rule.o ssynth/StructureSynth/Model/Rule.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o RuleRef.o ssynth/StructureSynth/Model/RuleRef.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o RuleSet.o ssynth/StructureSynth/Model/RuleSet.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o State.o ssynth/StructureSynth/Model/State.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Transformation.o ssynth/StructureSynth/Model/Transformation.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o TransformationLoop.o ssynth/StructureSynth/Model/TransformationLoop.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o EisenParser.o ssynth/StructureSynth/Parser/EisenParser.cpp ssynth/StructureSynth/Parser/EisenParser.cpp: In member function 'void StructureSynth::Parser::EisenParser::ruleModifierList(StructureSynth::Model::CustomRule*)': ssynth/StructureSynth/Parser/EisenParser.cpp:100:21: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!symbol.type == Symbol::LeftBracket) { ^~ ssynth/StructureSynth/Parser/EisenParser.cpp:100:8: note: add parentheses around left hand side expression to silence this warning if (!symbol.type == Symbol::LeftBracket) { ^~~~~~~~~~~~ ( ) g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Preprocessor.o ssynth/StructureSynth/Parser/Preprocessor.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Tokenizer.o ssynth/StructureSynth/Parser/Tokenizer.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Box.o ssynth/SyntopiaCore/GLEngine/Box.cpp In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/SyntopiaCore/Math/Vector3.h:4, from ssynth/SyntopiaCore/GLEngine/Box.h:3, from ssynth/SyntopiaCore/GLEngine/Box.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = SyntopiaCore::GLEngine::RaytraceTriangle]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = SyntopiaCore::GLEngine::RaytraceTriangle]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = SyntopiaCore::GLEngine::RaytraceTriangle]' /usr/include/qt4/QtCore/qvector.h:128:34: required from 'QVector QVector::operator=(QVector&&) [with T = SyntopiaCore::GLEngine::RaytraceTriangle]' /usr/include/qt4/QtCore/qvector.h:348:9: required from 'void QVector::clear() [with T = SyntopiaCore::GLEngine::RaytraceTriangle]' ssynth/SyntopiaCore/GLEngine/Box.cpp:76:21: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/SyntopiaCore/Math/Vector3.h:4, from ssynth/SyntopiaCore/GLEngine/Box.h:3, from ssynth/SyntopiaCore/GLEngine/Box.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Dot.o ssynth/SyntopiaCore/GLEngine/Dot.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Grid.o ssynth/SyntopiaCore/GLEngine/Grid.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Line.o ssynth/SyntopiaCore/GLEngine/Line.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Mesh.o ssynth/SyntopiaCore/GLEngine/Mesh.cpp In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/SyntopiaCore/Math/Vector3.h:4, from ssynth/SyntopiaCore/GLEngine/Mesh.h:3, from ssynth/SyntopiaCore/GLEngine/Mesh.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = SyntopiaCore::GLEngine::RaytraceTriangle]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = SyntopiaCore::GLEngine::RaytraceTriangle]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = SyntopiaCore::GLEngine::RaytraceTriangle]' /usr/include/qt4/QtCore/qvector.h:152:24: required from 'T* QVector::data() [with T = SyntopiaCore::GLEngine::RaytraceTriangle]' /usr/include/qt4/QtCore/qvector.h:360:16: required from 'T& QVector::operator[](int) [with T = SyntopiaCore::GLEngine::RaytraceTriangle]' ssynth/SyntopiaCore/GLEngine/Mesh.cpp:97:20: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/SyntopiaCore/Math/Vector3.h:4, from ssynth/SyntopiaCore/GLEngine/Mesh.h:3, from ssynth/SyntopiaCore/GLEngine/Mesh.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Object3D.o ssynth/SyntopiaCore/GLEngine/Object3D.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o AtomicCounter.o ssynth/SyntopiaCore/GLEngine/Raytracer/AtomicCounter.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o RenderThread.o ssynth/SyntopiaCore/GLEngine/Raytracer/RenderThread.cpp In file included from ssynth/SyntopiaCore/GLEngine/Raytracer/RenderThread.h:7, from ssynth/SyntopiaCore/GLEngine/Raytracer/RenderThread.cpp:1: ssynth/SyntopiaCore/GLEngine/Raytracer/Sampler.h: In constructor 'SyntopiaCore::GLEngine::GaussianFilter::GaussianFilter(double, double)': ssynth/SyntopiaCore/GLEngine/Raytracer/Sampler.h:27:4: warning: 'SyntopiaCore::GLEngine::GaussianFilter::extent' is initialized with itself [-Winit-self] GaussianFilter(double ext, double alpha) : extent(extent), alpha(alpha) { ^~~~~~~~~~~~~~ ssynth/SyntopiaCore/GLEngine/Raytracer/RenderThread.cpp: In destructor 'virtual SyntopiaCore::GLEngine::RenderThread::~RenderThread()': ssynth/SyntopiaCore/GLEngine/Raytracer/RenderThread.cpp:33:29: warning: deleting object of abstract class type 'SyntopiaCore::GLEngine::Filter' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] if (!copy) delete (filter); ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Sampler.o ssynth/SyntopiaCore/GLEngine/Raytracer/Sampler.cpp In file included from ssynth/SyntopiaCore/GLEngine/Raytracer/Sampler.cpp:1: ssynth/SyntopiaCore/GLEngine/Raytracer/Sampler.h: In constructor 'SyntopiaCore::GLEngine::GaussianFilter::GaussianFilter(double, double)': ssynth/SyntopiaCore/GLEngine/Raytracer/Sampler.h:27:4: warning: 'SyntopiaCore::GLEngine::GaussianFilter::extent' is initialized with itself [-Winit-self] GaussianFilter(double ext, double alpha) : extent(extent), alpha(alpha) { ^~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o VoxelStepper.o ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o RaytraceTriangle.o ssynth/SyntopiaCore/GLEngine/RaytraceTriangle.cpp In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/SyntopiaCore/Math/Vector3.h:4, from ssynth/SyntopiaCore/GLEngine/RaytraceTriangle.h:3, from ssynth/SyntopiaCore/GLEngine/RaytraceTriangle.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = SyntopiaCore::GLEngine::RaytraceTriangle]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = SyntopiaCore::GLEngine::RaytraceTriangle]' ssynth/SyntopiaCore/GLEngine/RaytraceTriangle.cpp:111:18: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/SyntopiaCore/Math/Vector3.h:4, from ssynth/SyntopiaCore/GLEngine/RaytraceTriangle.h:3, from ssynth/SyntopiaCore/GLEngine/RaytraceTriangle.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Triangle.o ssynth/SyntopiaCore/GLEngine/Triangle.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o ListWidgetLogger.o ssynth/SyntopiaCore/Logging/ListWidgetLogger.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Logging.o ssynth/SyntopiaCore/Logging/Logging.cpp In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/SyntopiaCore/Logging/Logging.h:4, from ssynth/SyntopiaCore/Logging/Logging.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QString]' /usr/include/qt4/QtCore/qstack.h:60:54: required from 'void QStack::push(const T&) [with T = QString]' ssynth/SyntopiaCore/Logging/Logging.cpp:42:37: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/SyntopiaCore/Logging/Logging.h:4, from ssynth/SyntopiaCore/Logging/Logging.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Matrix4.o ssynth/SyntopiaCore/Math/Matrix4.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Random.o ssynth/SyntopiaCore/Math/Random.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Vector3.o ssynth/SyntopiaCore/Math/Vector3.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o ColorUtils.o ssynth/SyntopiaCore/Misc/ColorUtils.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o MiniParser.o ssynth/SyntopiaCore/Misc/MiniParser.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Persistence.o ssynth/SyntopiaCore/Misc/Persistence.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Version.o ssynth/SyntopiaCore/Misc/Version.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o Renderer.o ssynth/StructureSynth/Model/Rendering/Renderer.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o TemplateRenderer.o ssynth/StructureSynth/Model/Rendering/TemplateRenderer.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. ssynth/SyntopiaCore/GLEngine/EngineWidget.h -o moc_EngineWidget.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Issynth -I/usr/X11R6/include -I. -o moc_EngineWidget.o moc_EngineWidget.cpp In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/SyntopiaCore/GLEngine/EngineWidget.h:3, from moc_EngineWidget.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = SyntopiaCore::GLEngine::Command]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = SyntopiaCore::GLEngine::Command]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = SyntopiaCore::GLEngine::Command]' ssynth/SyntopiaCore/GLEngine/EngineWidget.h:148:104: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ssynth/SyntopiaCore/GLEngine/EngineWidget.h:3, from moc_EngineWidget.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libssynth.a ar cqs libssynth.a Action.o AmbiguousRule.o Builder.o ColorPool.o CustomRule.o ExecutionStack.o PrimitiveClass.o PrimitiveRule.o RandomStreams.o Rule.o RuleRef.o RuleSet.o State.o Transformation.o TransformationLoop.o EisenParser.o Preprocessor.o Tokenizer.o Box.o Dot.o Grid.o Line.o Mesh.o Object3D.o AtomicCounter.o RenderThread.o Sampler.o VoxelStepper.o RaytraceTriangle.o Triangle.o ListWidgetLogger.o Logging.o Matrix4.o Random.o Vector3.o ColorUtils.o MiniParser.o Persistence.o Version.o Renderer.o TemplateRenderer.o moc_EngineWidget.o rm -f ../lib/linux-g++/libssynth.a mv -f libssynth.a ../lib/linux-g++/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/external/structuresynth' cd jhead-2.95/ && /usr/lib/aarch64-linux-gnu/qt4/bin/qmake /build/meshlab-1.3.2+dfsg1/meshlab/src/external/jhead-2.95/jhead-2.95.pro -spec /usr/share/qt4/mkspecs/linux-g++ QMAKE_CFLAGS_RELEASE=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CFLAGS_DEBUG=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2\ -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_LFLAGS_RELEASE=-Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -o Makefile cd jhead-2.95/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/external/jhead-2.95' gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o jpgfile.o jpgfile.c jpgfile.c: In function 'ReplaceThumbnail': jpgfile.c:470:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ThumbnailPointer, ThumbLen, 1, ThumbnailFile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o jhead.o jhead.c jhead.c:1207:13: warning: 'Usage' defined but not used [-Wunused-function] static void Usage (void) ^~~~~ gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o paths.o paths.c gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o exif.o exif.c exif.c: In function 'ProcessExifDir': exif.c:560:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (a >= TAG_TABLE_SIZE){ ^~ exif.c: In function 'RemoveThumbnail': exif.c:1253:37: warning: unused parameter 'ExifSection' [-Wunused-parameter] int RemoveThumbnail(unsigned char * ExifSection) ~~~~~~~~~~~~~~~~^~~~~~~~~~~ exif.c: In function 'ShowImageInfo': exif.c:1560:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] if (a >= PROCESS_TABLE_SIZE){ ^~ exif.c: In function 'ProcessExifDir': exif.c:847:20: warning: this statement may fall through [-Wimplicit-fallthrough=] if (ShowTags) printf("%s Exif Dir:",IndentString); ^ exif.c:849:13: note: here case TAG_INTEROP_OFFSET: ^~~~ gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o iptc.o iptc.c gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o gpsinfo.o gpsinfo.c gpsinfo.c: In function 'ProcessGpsInfo': gpsinfo.c:56:51: warning: unused parameter 'ByteCountUnused' [-Wunused-parameter] void ProcessGpsInfo(unsigned char * DirStart, int ByteCountUnused, unsigned char * OffsetBase, unsigned ExifLength) ~~~~^~~~~~~~~~~~~~~ gcc -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o makernote.o makernote.c rm -f libjhead.a ar cqs libjhead.a jpgfile.o jhead.o paths.o exif.o iptc.o gpsinfo.o makernote.o rm -f ../lib/linux-g++/libjhead.a mv -f libjhead.a ../lib/linux-g++/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/external/jhead-2.95' make[1]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/external' /usr/bin/make -C meshlab/src make[1]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src' cd common/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/common' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o filterparameter.o filterparameter.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from filterparameter.cpp:31: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from meshmodel.h:35, from filterparameter.cpp:31: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from meshmodel.h:38, from filterparameter.cpp:31: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from meshmodel.h:41, from filterparameter.cpp:31: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from filterparameter.cpp:31: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from filterparameter.cpp:31: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from filterparameter.cpp:31: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from filterparameter.cpp:31: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from filterparameter.cpp:31: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from filterparameter.cpp:31: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from meshmodel.h:44, from filterparameter.cpp:31: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o interfaces.o interfaces.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from interfaces.h:37, from interfaces.cpp:1: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from meshmodel.h:35, from interfaces.h:37, from interfaces.cpp:1: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from meshmodel.h:38, from interfaces.h:37, from interfaces.cpp:1: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from meshmodel.h:41, from interfaces.h:37, from interfaces.cpp:1: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from interfaces.cpp:1: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from interfaces.cpp:1: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from interfaces.cpp:1: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from interfaces.cpp:1: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from interfaces.cpp:1: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from interfaces.h:37, from interfaces.cpp:1: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from meshmodel.h:44, from interfaces.h:37, from interfaces.cpp:1: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from interfaces.h:28, from interfaces.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from interfaces.h:28, from interfaces.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o filterscript.o filterscript.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o GLLogStream.o GLLogStream.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o meshmodel.o meshmodel.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from meshmodel.cpp:28: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from meshmodel.h:35, from meshmodel.cpp:28: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from meshmodel.h:38, from meshmodel.cpp:28: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from meshmodel.h:41, from meshmodel.cpp:28: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshmodel.cpp:28: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshmodel.cpp:28: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshmodel.cpp:28: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshmodel.cpp:28: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshmodel.cpp:28: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from meshmodel.cpp:28: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from meshmodel.h:44, from meshmodel.cpp:28: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ meshmodel.cpp: In member function 'bool MeshLabRenderState::update(int, const MeshLabRenderRaster&, int)': meshmodel.cpp:1098:24: warning: unused variable 'rrst' [-Wunused-variable] MeshLabRenderRaster* rrst = *it; ^~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from filterscript.h:27, from meshmodel.h:62, from meshmodel.cpp:28: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from filterscript.h:27, from meshmodel.h:62, from meshmodel.cpp:28: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ meshmodel.cpp: In member function 'bool MeshLabRenderState::isEntityInRenderingState(int, MeshLabRenderState::MESHLAB_RENDER_ENTITY)': meshmodel.cpp:1067:21: warning: this statement may fall through [-Wimplicit-fallthrough=] unlockRenderState(MESH); ~~~~~~~~~~~~~~~~~^~~~~~ meshmodel.cpp:1070:3: note: here case (RASTER): ^~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o pluginmanager.o pluginmanager.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from interfaces.h:37, from pluginmanager.h:30, from pluginmanager.cpp:1: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from meshmodel.h:35, from interfaces.h:37, from pluginmanager.h:30, from pluginmanager.cpp:1: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from meshmodel.h:38, from interfaces.h:37, from pluginmanager.h:30, from pluginmanager.cpp:1: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from meshmodel.h:41, from interfaces.h:37, from pluginmanager.h:30, from pluginmanager.cpp:1: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from pluginmanager.h:30, from pluginmanager.cpp:1: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from pluginmanager.h:30, from pluginmanager.cpp:1: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from pluginmanager.h:30, from pluginmanager.cpp:1: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from pluginmanager.h:30, from pluginmanager.cpp:1: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from pluginmanager.h:30, from pluginmanager.cpp:1: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from interfaces.h:37, from pluginmanager.h:30, from pluginmanager.cpp:1: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from meshmodel.h:44, from interfaces.h:37, from pluginmanager.h:30, from pluginmanager.cpp:1: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from pluginmanager.cpp:4: ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from interfaces.h:28, from pluginmanager.h:30, from pluginmanager.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from interfaces.h:28, from pluginmanager.h:30, from pluginmanager.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o scriptinterface.o scriptinterface.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from scriptinterface.h:30, from scriptinterface.cpp:1: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from meshmodel.h:35, from scriptinterface.h:30, from scriptinterface.cpp:1: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from meshmodel.h:38, from scriptinterface.h:30, from scriptinterface.cpp:1: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from meshmodel.h:41, from scriptinterface.h:30, from scriptinterface.cpp:1: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from scriptinterface.h:30, from scriptinterface.cpp:1: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from scriptinterface.h:30, from scriptinterface.cpp:1: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from scriptinterface.h:30, from scriptinterface.cpp:1: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from scriptinterface.h:30, from scriptinterface.cpp:1: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from scriptinterface.h:30, from scriptinterface.cpp:1: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from scriptinterface.h:30, from scriptinterface.cpp:1: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from meshmodel.h:44, from scriptinterface.h:30, from scriptinterface.cpp:1: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtScript/QtScript:9, from scriptinterface.h:27, from scriptinterface.cpp:1: /usr/include/qt4/QtScript/qscriptengine.h: In instantiation of 'int qScriptRegisterMetaType(QScriptEngine*, QScriptValue (*)(QScriptEngine*, const T&), void (*)(const QScriptValue&, T&), const QScriptValue&, T*) [with T = MeshModelSI*]': scriptinterface.cpp:822:108: required from here /usr/include/qt4/QtScript/qscriptengine.h:393:18: warning: cast between incompatible function types from 'QScriptValue (*)(QScriptEngine*, MeshModelSI* const&)' to 'QScriptEngine::MarshalFunction' {aka 'QScriptValue (*)(QScriptEngine*, const void*)'} [-Wcast-function-type] eng, id, reinterpret_cast(toScriptValue), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtScript/qscriptengine.h:394:9: warning: cast between incompatible function types from 'void (*)(const QScriptValue&, MeshModelSI*&)' to 'QScriptEngine::DemarshalFunction' {aka 'void (*)(const QScriptValue&, void*)'} [-Wcast-function-type] reinterpret_cast(fromScriptValue), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtScript/qscriptengine.h: In instantiation of 'int qScriptRegisterMetaType(QScriptEngine*, QScriptValue (*)(QScriptEngine*, const T&), void (*)(const QScriptValue&, T&), const QScriptValue&, T*) [with T = VCGVertexSI*]': scriptinterface.cpp:823:108: required from here /usr/include/qt4/QtScript/qscriptengine.h:393:18: warning: cast between incompatible function types from 'QScriptValue (*)(QScriptEngine*, VCGVertexSI* const&)' to 'QScriptEngine::MarshalFunction' {aka 'QScriptValue (*)(QScriptEngine*, const void*)'} [-Wcast-function-type] eng, id, reinterpret_cast(toScriptValue), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtScript/qscriptengine.h:394:9: warning: cast between incompatible function types from 'void (*)(const QScriptValue&, VCGVertexSI*&)' to 'QScriptEngine::DemarshalFunction' {aka 'void (*)(const QScriptValue&, void*)'} [-Wcast-function-type] reinterpret_cast(fromScriptValue), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtScript/qscriptengine.h: In instantiation of 'int qScriptRegisterMetaType(QScriptEngine*, QScriptValue (*)(QScriptEngine*, const T&), void (*)(const QScriptValue&, T&), const QScriptValue&, T*) [with T = QVector]': /usr/include/qt4/QtScript/qscriptengine.h:432:38: required from 'int qScriptRegisterSequenceMetaType(QScriptEngine*, const QScriptValue&, T*) [with T = QVector]' scriptinterface.cpp:819:56: required from here /usr/include/qt4/QtScript/qscriptengine.h:393:18: warning: cast between incompatible function types from 'QScriptValue (*)(QScriptEngine*, const QVector&)' to 'QScriptEngine::MarshalFunction' {aka 'QScriptValue (*)(QScriptEngine*, const void*)'} [-Wcast-function-type] eng, id, reinterpret_cast(toScriptValue), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtScript/qscriptengine.h:394:9: warning: cast between incompatible function types from 'void (*)(const QScriptValue&, QVector&)' to 'QScriptEngine::DemarshalFunction' {aka 'void (*)(const QScriptValue&, void*)'} [-Wcast-function-type] reinterpret_cast(fromScriptValue), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtScript/qscriptengine.h: In instantiation of 'int qScriptRegisterMetaType(QScriptEngine*, QScriptValue (*)(QScriptEngine*, const T&), void (*)(const QScriptValue&, T&), const QScriptValue&, T*) [with T = QVector >]': /usr/include/qt4/QtScript/qscriptengine.h:432:38: required from 'int qScriptRegisterSequenceMetaType(QScriptEngine*, const QScriptValue&, T*) [with T = QVector >]' scriptinterface.cpp:820:52: required from here /usr/include/qt4/QtScript/qscriptengine.h:393:18: warning: cast between incompatible function types from 'QScriptValue (*)(QScriptEngine*, const QVector >&)' to 'QScriptEngine::MarshalFunction' {aka 'QScriptValue (*)(QScriptEngine*, const void*)'} [-Wcast-function-type] eng, id, reinterpret_cast(toScriptValue), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtScript/qscriptengine.h:394:9: warning: cast between incompatible function types from 'void (*)(const QScriptValue&, QVector >&)' to 'QScriptEngine::DemarshalFunction' {aka 'void (*)(const QScriptValue&, void*)'} [-Wcast-function-type] reinterpret_cast(fromScriptValue), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtScript/qscriptengine.h: In instantiation of 'int qScriptRegisterMetaType(QScriptEngine*, QScriptValue (*)(QScriptEngine*, const T&), void (*)(const QScriptValue&, T&), const QScriptValue&, T*) [with T = QVector]': /usr/include/qt4/QtScript/qscriptengine.h:432:38: required from 'int qScriptRegisterSequenceMetaType(QScriptEngine*, const QScriptValue&, T*) [with T = QVector]' scriptinterface.cpp:821:62: required from here /usr/include/qt4/QtScript/qscriptengine.h:393:18: warning: cast between incompatible function types from 'QScriptValue (*)(QScriptEngine*, const QVector&)' to 'QScriptEngine::MarshalFunction' {aka 'QScriptValue (*)(QScriptEngine*, const void*)'} [-Wcast-function-type] eng, id, reinterpret_cast(toScriptValue), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt4/QtScript/qscriptengine.h:394:9: warning: cast between incompatible function types from 'void (*)(const QScriptValue&, QVector&)' to 'QScriptEngine::DemarshalFunction' {aka 'void (*)(const QScriptValue&, void*)'} [-Wcast-function-type] reinterpret_cast(fromScriptValue), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtScript/QtScript:3, from scriptinterface.h:27, from scriptinterface.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:299:7: required from 'QVector& QVector::operator<<(const T&) [with T = QVector]' scriptinterface.cpp:440:9: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtScript/QtScript:3, from scriptinterface.h:27, from scriptinterface.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o xmlfilterinfo.o xmlfilterinfo.cpp xmlfilterinfo.cpp: In member function 'QStringList MLXMLPluginInfo::filterNames()': xmlfilterinfo.cpp:74:23: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch(QueryException e) ^ xmlfilterinfo.cpp: In member function 'QString MLXMLPluginInfo::filterHelp(const QString&)': xmlfilterinfo.cpp:94:23: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch(QueryException q) ^ xmlfilterinfo.cpp: In member function 'QString MLXMLPluginInfo::filterElement(const QString&, const QString&)': xmlfilterinfo.cpp:113:23: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch(QueryException q) ^ xmlfilterinfo.cpp: In member function 'QString MLXMLPluginInfo::filterAttribute(const QString&, const QString&)': xmlfilterinfo.cpp:133:24: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch (QueryException e) ^ xmlfilterinfo.cpp: In member function 'MLXMLPluginInfo::XMLMapList MLXMLPluginInfo::filterParametersExtendedInfo(const QString&)': xmlfilterinfo.cpp:183:24: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch (QueryException e) ^ xmlfilterinfo.cpp: In member function 'MLXMLPluginInfo::XMLMap MLXMLPluginInfo::filterParameterGui(const QString&, const QString&)': xmlfilterinfo.cpp:241:23: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch(QueryException e) ^ xmlfilterinfo.cpp: In member function 'QString MLXMLPluginInfo::filterParameterHelp(const QString&, const QString&)': xmlfilterinfo.cpp:260:24: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch (QueryException e) ^ xmlfilterinfo.cpp: In member function 'QString MLXMLPluginInfo::filterParameterElement(const QString&, const QString&, const QString&)': xmlfilterinfo.cpp:279:24: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch (QueryException e) ^ xmlfilterinfo.cpp: In member function 'MLXMLPluginInfo::XMLMap MLXMLPluginInfo::filterParameterExtendedInfo(const QString&, const QString&)': xmlfilterinfo.cpp:311:24: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch (QueryException e) ^ xmlfilterinfo.cpp: In member function 'QString MLXMLPluginInfo::filterParameterAttribute(const QString&, const QString&, const QString&)': xmlfilterinfo.cpp:359:24: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch (QueryException e) ^ xmlfilterinfo.cpp: In member function 'QString MLXMLPluginInfo::interfaceAttribute(const QString&)': xmlfilterinfo.cpp:377:23: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch(QueryException e) ^ xmlfilterinfo.cpp: In member function 'QString MLXMLPluginInfo::pluginAttribute(const QString&)': xmlfilterinfo.cpp:397:23: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch(QueryException e) ^ xmlfilterinfo.cpp: In member function 'QString MLXMLPluginInfo::pluginScriptName()': xmlfilterinfo.cpp:417:23: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch(QueryException e) ^ xmlfilterinfo.cpp: In member function 'QString MLXMLPluginInfo::filterScriptCode(const QString&)': xmlfilterinfo.cpp:463:24: warning: catching polymorphic type 'class QueryException' by value [-Wcatch-value=] catch (QueryException e) ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o mlapplication.o mlapplication.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o scriptsyntax.o scriptsyntax.cpp In file included from /usr/include/qt4/QtCore/QVector:1, from scriptsyntax.h:6, from scriptsyntax.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'T* QVector::insert(QVector::iterator, QVector::size_type, const T&) [with T = QVariant; QVector::iterator = QVariant*; QVector::size_type = int]': /usr/include/qt4/QtCore/qvector.h:364:3: required from 'void QVector::insert(int, const T&) [with T = QVariant]' scriptsyntax.cpp:66:39: required from here /usr/include/qt4/QtCore/qvector.h:617:20: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class QVariant' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(i, b, (d->size - offset) * sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractItemModel:1, from scriptsyntax.h:4, from scriptsyntax.cpp:1: /usr/include/qt4/QtCore/qvariant.h:92:21: note: 'class QVariant' declared here class Q_CORE_EXPORT QVariant ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from scriptsyntax.h:6, from scriptsyntax.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'T* QVector::erase(QVector::iterator, QVector::iterator) [with T = QVariant; QVector::iterator = QVariant*]': /usr/include/qt4/QtCore/qvector.h:376:3: required from 'void QVector::remove(int) [with T = QVariant]' scriptsyntax.cpp:96:27: required from here /usr/include/qt4/QtCore/qvector.h:642:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'class QVariant' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(p->array + f, p->array + l, (d->size-l)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45, from /usr/include/qt4/QtCore/QAbstractItemModel:1, from scriptsyntax.h:4, from scriptsyntax.cpp:1: /usr/include/qt4/QtCore/qvariant.h:92:21: note: 'class QVariant' declared here class Q_CORE_EXPORT QVariant ^~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from scriptsyntax.h:6, from scriptsyntax.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVariant]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVariant]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = QVariant]' scriptsyntax.cpp:7:13: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from scriptsyntax.h:6, from scriptsyntax.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o searcher.o searcher.cpp In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from searcher.h:7, from searcher.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QList]': /usr/include/qt4/QtCore/qvector.h:343:3: required from 'void QVector::resize(int) [with T = QList]' searcher.cpp:91:31: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from searcher.h:7, from searcher.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o meshlabdocumentxml.o meshlabdocumentxml.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from meshlabdocumentxml.cpp:6: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from meshmodel.h:35, from meshlabdocumentxml.cpp:6: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from meshmodel.h:38, from meshlabdocumentxml.cpp:6: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from meshmodel.h:41, from meshlabdocumentxml.cpp:6: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshlabdocumentxml.cpp:6: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshlabdocumentxml.cpp:6: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshlabdocumentxml.cpp:6: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshlabdocumentxml.cpp:6: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshlabdocumentxml.cpp:6: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from meshlabdocumentxml.cpp:6: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from meshmodel.h:44, from meshlabdocumentxml.cpp:6: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o meshlabdocumentbundler.o meshlabdocumentbundler.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from meshlabdocumentbundler.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from meshmodel.h:35, from meshlabdocumentbundler.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from meshmodel.h:38, from meshlabdocumentbundler.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from meshmodel.h:41, from meshlabdocumentbundler.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshlabdocumentbundler.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshlabdocumentbundler.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshlabdocumentbundler.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshlabdocumentbundler.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from meshlabdocumentbundler.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from meshlabdocumentbundler.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from meshmodel.h:44, from meshlabdocumentbundler.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from meshlabdocumentbundler.h:4, from meshlabdocumentbundler.cpp:10: ../../../vcglib/wrap/io_trimesh/import_out.h: In static member function 'static int vcg::tri::io::ImporterOUT::Open(OpenMeshType&, std::vector >&, std::vector >&, const char*, const char*, const char*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO]': ../../../vcglib/wrap/io_trimesh/import_out.h:152:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%f %f %f ",&x,&y,&z); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../vcglib/wrap/io_trimesh/import_out.h:154:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d %d ",&r,&g,&b); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../vcglib/wrap/io_trimesh/import_out.h:157:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d ",&n_corr); ~~~~~~^~~~~~~~~~~~~~~~~~ ../../../vcglib/wrap/io_trimesh/import_out.h:159:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d %f %f ",&i_cam,&key_sift,&x,&y); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../vcglib/wrap/io_trimesh/import_out.h: In static member function 'static void vcg::tri::io::ImporterOUT::readline(FILE*, char*, int) [with OpenMeshType = CMeshO]': ../../../vcglib/wrap/io_trimesh/import_out.h:72:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%c", &c); ~~~~~~^~~~~~~~~~~~~~ ../../../vcglib/wrap/io_trimesh/import_out.h:75:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%c", &c); ~~~~~~^~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. interfaces.h -o moc_interfaces.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o moc_interfaces.o moc_interfaces.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from interfaces.h:37, from moc_interfaces.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from meshmodel.h:35, from interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from meshmodel.h:38, from interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from meshmodel.h:41, from interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from meshmodel.h:44, from interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from interfaces.h:28, from moc_interfaces.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from interfaces.h:28, from moc_interfaces.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. meshmodel.h -o moc_meshmodel.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o moc_meshmodel.o moc_meshmodel.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from moc_meshmodel.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from meshmodel.h:35, from moc_meshmodel.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from meshmodel.h:38, from moc_meshmodel.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from meshmodel.h:41, from moc_meshmodel.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from moc_meshmodel.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from moc_meshmodel.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from moc_meshmodel.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from moc_meshmodel.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from moc_meshmodel.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from moc_meshmodel.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from meshmodel.h:44, from moc_meshmodel.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. scriptinterface.h -o moc_scriptinterface.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o moc_scriptinterface.o moc_scriptinterface.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from scriptinterface.h:30, from moc_scriptinterface.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from meshmodel.h:35, from scriptinterface.h:30, from moc_scriptinterface.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from meshmodel.h:38, from scriptinterface.h:30, from moc_scriptinterface.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from meshmodel.h:41, from scriptinterface.h:30, from moc_scriptinterface.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from scriptinterface.h:30, from moc_scriptinterface.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from scriptinterface.h:30, from moc_scriptinterface.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from scriptinterface.h:30, from moc_scriptinterface.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from scriptinterface.h:30, from moc_scriptinterface.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from meshmodel.h:44, from scriptinterface.h:30, from moc_scriptinterface.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from meshmodel.h:44, from scriptinterface.h:30, from moc_scriptinterface.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from meshmodel.h:44, from scriptinterface.h:30, from moc_scriptinterface.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtScript/QtScript:3, from scriptinterface.h:27, from moc_scriptinterface.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' moc_scriptinterface.cpp:277:57: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtScript/QtScript:3, from scriptinterface.h:27, from moc_scriptinterface.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. scriptsyntax.h -o moc_scriptsyntax.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../vcglib -I/usr/include -I. -I../external/jhead-2.95 -I/usr/X11R6/include -I. -o moc_scriptsyntax.o moc_scriptsyntax.cpp rm -f libcommon.so.1.0.0 libcommon.so libcommon.so.1 libcommon.so.1.0 g++ -Wl,-z,relro -shared -Wl,-soname,libcommon.so.1 -o libcommon.so.1.0.0 filterparameter.o interfaces.o filterscript.o GLLogStream.o meshmodel.o pluginmanager.o scriptinterface.o xmlfilterinfo.o mlapplication.o scriptsyntax.o searcher.o meshlabdocumentxml.o meshlabdocumentbundler.o moc_interfaces.o moc_meshmodel.o moc_scriptinterface.o moc_scriptsyntax.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -lGLEW -L../external/lib/linux-g++ -ljhead -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread /usr/bin/ld: ../external/lib/linux-g++/libjhead.a(jhead.o): in function `DoCommand': ./meshlab/src/external/jhead-2.95/jhead.c:368: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' ln -s libcommon.so.1.0.0 libcommon.so ln -s libcommon.so.1.0.0 libcommon.so.1 ln -s libcommon.so.1.0.0 libcommon.so.1.0 rm -f ../distrib/libcommon.so.1.0.0 rm -f ../distrib/libcommon.so rm -f ../distrib/libcommon.so.1 rm -f ../distrib/libcommon.so.1.0 mv -f libcommon.so.1.0.0 libcommon.so libcommon.so.1 libcommon.so.1.0 ../distrib/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/common' cd meshlab/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlab' /usr/lib/aarch64-linux-gnu/qt4/bin/uic ui/layerDialog.ui -o ui_layerDialog.h /usr/lib/aarch64-linux-gnu/qt4/bin/uic ui/filterScriptDialog.ui -o ui_filterScriptDialog.h /usr/lib/aarch64-linux-gnu/qt4/bin/uic ui/customDialog.ui -o ui_customDialog.h /usr/lib/aarch64-linux-gnu/qt4/bin/uic ui/savesnapshotDialog.ui -o ui_savesnapshotDialog.h /usr/lib/aarch64-linux-gnu/qt4/bin/uic ui/aboutDialog.ui -o ui_aboutDialog.h /usr/lib/aarch64-linux-gnu/qt4/bin/uic ui/renametexture.ui -o ui_renametexture.h /usr/lib/aarch64-linux-gnu/qt4/bin/uic ui/savemaskexporter.ui -o ui_savemaskexporter.h /usr/lib/aarch64-linux-gnu/qt4/bin/uic ui/congratsDialog.ui -o ui_congratsDialog.h /usr/lib/aarch64-linux-gnu/qt4/bin/uic ui/filtergui.ui -o ui_filtergui.h /usr/lib/aarch64-linux-gnu/qt4/bin/uic ui/filtercreatortab.ui -o ui_filtercreatortab.h g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o main.o main.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from main.cpp:26: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from main.cpp:26: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from main.cpp:26: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from main.cpp:26: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from main.cpp:26: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from main.cpp:26: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from main.cpp:26: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from main.cpp:26: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from main.cpp:26: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from main.cpp:26: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from main.cpp:26: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qmessagebox.h:45, from /usr/include/qt4/QtGui/QMessageBox:1, from main.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qmessagebox.h:45, from /usr/include/qt4/QtGui/QMessageBox:1, from main.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o mainwindow_Init.o mainwindow_Init.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainwindow_Init.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from mainwindow_Init.cpp:25: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from mainwindow_Init.cpp:25: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from mainwindow_Init.cpp:25: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainwindow_Init.cpp:25: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainwindow_Init.cpp:25: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainwindow_Init.cpp:25: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainwindow_Init.cpp:25: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainwindow_Init.cpp:25: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainwindow_Init.cpp:25: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainwindow_Init.cpp:25: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ mainwindow_Init.cpp: In member function 'void MainWindow::fillFilterMenu()': mainwindow_Init.cpp:784:26: warning: catching polymorphic type 'class ParsingException' by value [-Wcatch-value=] catch(ParsingException e) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from mainwindow_Init.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from mainwindow_Init.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o mainwindow_RunTime.o mainwindow_RunTime.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from mainwindow_RunTime.cpp:31: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ mainwindow_RunTime.cpp:2369:45: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] temp.labelMLName->setText(appName()+" ("+__DATE__+")"); ^~~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from mainwindow_RunTime.cpp:31: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from mainwindow_RunTime.cpp:31: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from mainwindow_RunTime.cpp:31: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from mainwindow_RunTime.cpp:31: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from mainwindow_RunTime.cpp:31: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from mainwindow_RunTime.cpp:31: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from mainwindow_RunTime.cpp:31: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from mainwindow_RunTime.cpp:31: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from mainwindow_RunTime.cpp:31: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from mainwindow_RunTime.cpp:31: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ mainwindow_RunTime.cpp: In member function 'void MainWindow::startFilter()': mainwindow_RunTime.cpp:940:26: warning: catching polymorphic type 'class ParsingException' by value [-Wcatch-value=] catch(ParsingException e) ^ mainwindow_RunTime.cpp: In member function 'virtual void MainWindow::executeFilter(MeshLabXMLFilterContainer*, EnvWrap&, bool)': mainwindow_RunTime.cpp:1192:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] bool ret = true; ^~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from mainwindow_RunTime.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from mainwindow_RunTime.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from mainwindow_RunTime.cpp:38: alnParser.h: In static member function 'static int ALNParser::ParseALN(std::vector&, const char*)': alnParser.h:84:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(stream, "%i\n", &mesh_number); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alnParser.h:91:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, 1024, stream); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ alnParser.h:96:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, 1024, stream); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ alnParser.h:109:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(stream,"%f %f %f %f \n",&(rm.trasformation[0][0]),&(rm.trasformation[0][1]),&(rm.trasformation[0][2]),&(rm.trasformation[0][3])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mainwindow_RunTime.cpp:38: alnParser.h:110:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(stream,"%f %f %f %f \n",&(rm.trasformation[1][0]),&(rm.trasformation[1][1]),&(rm.trasformation[1][2]),&(rm.trasformation[1][3])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alnParser.h:111:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(stream,"%f %f %f %f \n",&(rm.trasformation[2][0]),&(rm.trasformation[2][1]),&(rm.trasformation[2][2]),&(rm.trasformation[2][3])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alnParser.h:112:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(stream,"%f %f %f %f \n",&(rm.trasformation[3][0]),&(rm.trasformation[3][1]),&(rm.trasformation[3][2]),&(rm.trasformation[3][3])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow_RunTime.cpp: In member function 'void MainWindow::splitFromHandle(QAction*)': mainwindow_RunTime.cpp:592:10: warning: 'act' may be used uninitialized in this function [-Wmaybe-uninitialized] setSplit(act); ~~~~~~~~^~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o glarea.o glarea.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from glarea.cpp:24: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from glarea.cpp:24: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from glarea.cpp:24: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.cpp:24: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.cpp:24: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.cpp:24: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.cpp:24: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.cpp:24: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.cpp:24: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.cpp:24: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../vcglib/wrap/io_trimesh/import_ply.h:31, from glarea.cpp:35: ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ glarea.cpp: In member function 'void GLArea::drawLight()': glarea.cpp:307:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(unsigned int i=0;i<=lineNum;++i) ^~~ glarea.cpp:312:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' glEnd(); ^~~~~ glarea.cpp: In member function 'void GLArea::displayHelp(QPainter*)': glarea.cpp:661:36: warning: unused parameter 'painter' [-Wunused-parameter] void GLArea::displayHelp(QPainter *painter) ~~~~~~~~~~^~~~~~~ In file included from glarea.cpp:25: glarea.h: In instantiation of 'vcg::Shot GLArea::track2ShotCPU(vcg::Shot&, vcg::Trackball*) [with T = float]': glarea.cpp:1707:60: required from here glarea.h:441:10: warning: variable '_near' set but not used [-Wunused-but-set-variable] double _near, _far; ^~~~~ glarea.h:441:17: warning: variable '_far' set but not used [-Wunused-but-set-variable] double _near, _far; ^~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from glarea.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from glarea.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o multiViewer_Container.o multiViewer_Container.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from multiViewer_Container.cpp:23: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from multiViewer_Container.h:30, from multiViewer_Container.cpp:23: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from multiViewer_Container.h:30, from multiViewer_Container.cpp:23: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from multiViewer_Container.h:30, from multiViewer_Container.cpp:23: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from multiViewer_Container.cpp:23: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from multiViewer_Container.cpp:23: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from multiViewer_Container.cpp:23: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from multiViewer_Container.cpp:23: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from multiViewer_Container.cpp:23: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from multiViewer_Container.cpp:23: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from multiViewer_Container.cpp:23: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/QWidget:1, from multiViewer_Container.h:26, from multiViewer_Container.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/QWidget:1, from multiViewer_Container.h:26, from multiViewer_Container.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o plugindialog.o plugindialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from plugindialog.cpp:26: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from plugindialog.cpp:26: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from plugindialog.cpp:26: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from plugindialog.cpp:26: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from plugindialog.cpp:26: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from plugindialog.cpp:26: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from plugindialog.cpp:26: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from plugindialog.cpp:26: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from plugindialog.cpp:26: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from plugindialog.cpp:26: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from plugindialog.cpp:26: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from plugindialog.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from plugindialog.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o customDialog.o customDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from customDialog.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from customDialog.cpp:25: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from customDialog.cpp:25: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from customDialog.cpp:25: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from customDialog.cpp:25: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from customDialog.cpp:25: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from customDialog.cpp:25: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from customDialog.cpp:25: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from customDialog.cpp:25: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from customDialog.cpp:25: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from customDialog.cpp:25: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ui_customDialog.h:13, from customDialog.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ui_customDialog.h:13, from customDialog.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o filterScriptDialog.o filterScriptDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterScriptDialog.cpp:28: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterScriptDialog.cpp:28: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterScriptDialog.cpp:28: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterScriptDialog.cpp:28: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterScriptDialog.cpp:28: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterScriptDialog.cpp:28: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterScriptDialog.cpp:28: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterScriptDialog.cpp:28: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterScriptDialog.cpp:28: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterScriptDialog.cpp:28: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterScriptDialog.cpp:28: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qfiledialog.h:47, from /usr/include/qt4/QtGui/QFileDialog:1, from filterScriptDialog.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qfiledialog.h:47, from /usr/include/qt4/QtGui/QFileDialog:1, from filterScriptDialog.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o saveSnapshotDialog.o saveSnapshotDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from saveSnapshotDialog.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from saveSnapshotDialog.cpp:24: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from saveSnapshotDialog.cpp:24: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from saveSnapshotDialog.cpp:24: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from saveSnapshotDialog.cpp:24: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from saveSnapshotDialog.cpp:24: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from saveSnapshotDialog.cpp:24: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from saveSnapshotDialog.cpp:24: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from saveSnapshotDialog.cpp:24: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from saveSnapshotDialog.cpp:24: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from saveSnapshotDialog.cpp:24: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ui_savesnapshotDialog.h:13, from saveSnapshotDialog.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ui_savesnapshotDialog.h:13, from saveSnapshotDialog.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o layerDialog.o layerDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from layerDialog.cpp:35: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from layerDialog.cpp:35: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from layerDialog.cpp:35: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from layerDialog.cpp:35: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from layerDialog.cpp:35: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from layerDialog.cpp:35: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from layerDialog.cpp:35: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from layerDialog.cpp:35: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from layerDialog.cpp:35: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from layerDialog.cpp:35: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from layerDialog.cpp:35: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ layerDialog.cpp: In constructor 'DecoratorParamsTreeWidget::DecoratorParamsTreeWidget(QAction*, MainWindow*, QWidget*)': layerDialog.cpp:625:8: warning: unused variable 'si' [-Wunused-variable] int si = dialoglayout->rowCount(); ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from layerDialog.cpp:31: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from layerDialog.cpp:31: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ layerDialog.cpp: In member function 'void LayerDialog::rasterItemClicked(QTreeWidgetItem*, int)': layerDialog.cpp:159:43: warning: this statement may fall through [-Wimplicit-fallthrough=] mw->GLA()->updateRasterSetVisibilities( ); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ layerDialog.cpp:161:5: note: here case 1 : ^~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o savemaskexporter.o savemaskexporter.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from savemaskexporter.cpp:29: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from savemaskexporter.cpp:29: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from savemaskexporter.cpp:29: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from savemaskexporter.cpp:29: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from savemaskexporter.cpp:29: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from savemaskexporter.cpp:29: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from savemaskexporter.cpp:29: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from savemaskexporter.cpp:29: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from savemaskexporter.cpp:29: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from savemaskexporter.cpp:29: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from savemaskexporter.cpp:29: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from savemaskexporter.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from savemaskexporter.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o changetexturename.o changetexturename.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o stdpardialog.o stdpardialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from stdpardialog.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from stdpardialog.h:26, from stdpardialog.cpp:25: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from stdpardialog.h:26, from stdpardialog.cpp:25: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from stdpardialog.h:26, from stdpardialog.cpp:25: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from stdpardialog.cpp:25: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from stdpardialog.cpp:25: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from stdpardialog.cpp:25: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from stdpardialog.cpp:25: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from stdpardialog.cpp:25: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from stdpardialog.cpp:25: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from stdpardialog.cpp:25: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ stdpardialog.cpp: In member function 'bool MeshlabStdDialog::isPreviewable()': stdpardialog.cpp:87:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return ((curmask != MeshModel::MM_UNKNOWN) && (curmask != MeshModel::MM_NONE) && !(curmask & MeshModel::MM_VERTNUMBER) && !(curmask & MeshModel::MM_FACENUMBER)); ~~~~~~~~^~~~~~~~~~~~ stdpardialog.cpp: In member function 'void MeshlabStdDialog::closeClick()': stdpardialog.cpp:345:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if(curmask != MeshModel::MM_UNKNOWN) ~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from stdpardialog.h:26, from stdpardialog.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from stdpardialog.h:26, from stdpardialog.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ stdpardialog.cpp: In member function 'void ShotfWidget::getShot()': stdpardialog.cpp:776:44: warning: this statement may fall through [-Wimplicit-fallthrough=] QString type = doc.doctype().name(); ^ stdpardialog.cpp:788:5: note: here default : assert(0); ^~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o xmlstdpardialog.o xmlstdpardialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from xmlstdpardialog.cpp:1: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from xmlstdpardialog.cpp:1: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from xmlstdpardialog.cpp:1: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from xmlstdpardialog.cpp:1: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from xmlstdpardialog.cpp:1: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from xmlstdpardialog.cpp:1: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from xmlstdpardialog.cpp:1: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from xmlstdpardialog.cpp:1: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from xmlstdpardialog.cpp:1: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from xmlstdpardialog.cpp:1: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from xmlstdpardialog.cpp:1: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ xmlstdpardialog.cpp: In member function 'void MeshLabXMLStdDialog::closeClick()': xmlstdpardialog.cpp:205:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if(curmask != MeshModel::MM_UNKNOWN) ~~~~~~~~^~~~~~~~~~~~ xmlstdpardialog.cpp: In member function 'bool MeshLabXMLStdDialog::isPreviewable() const': xmlstdpardialog.cpp:291:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return ((curmask != MeshModel::MM_UNKNOWN) && (curmask != MeshModel::MM_NONE) && !(curmask & MeshModel::MM_VERTNUMBER) && !(curmask & MeshModel::MM_FACENUMBER)); ~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../common/xmlfilterinfo.h:10, from xmlstdpardialog.h:4, from xmlstdpardialog.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../common/xmlfilterinfo.h:10, from xmlstdpardialog.h:4, from xmlstdpardialog.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ xmlstdpardialog.cpp: In member function 'void XMLShotWidget::getShot()': xmlstdpardialog.cpp:1182:39: warning: this statement may fall through [-Wimplicit-fallthrough=] QString type = doc.doctype().name(); ^ xmlstdpardialog.cpp:1194:2: note: here default : assert(0); ^~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o additionalgui.o additionalgui.cpp additionalgui.cpp: In member function 'void MLScriptEditor::lineNumberAreaPaintEvent(QPaintEvent*, const QColor&)': additionalgui.cpp:359:6: warning: unused variable 'indent' [-Wunused-variable] int indent = block.blockFormat().indent(); ^~~~~~ additionalgui.cpp: In member function 'virtual void MLSyntaxHighlighter::highlightBlock(const QString&)': additionalgui.cpp:655:9: warning: unused variable 'matchedchar' [-Wunused-variable] bool matchedchar = colorTextIfInsideTree(nokeyword.cap(),root,index); ^~~~~~~~~~~ In file included from additionalgui.cpp:1: additionalgui.h: In constructor 'SearchMenu::SearchMenu(const WordActionsMapAccessor&, int, QWidget*)': additionalgui.h:254:32: warning: 'SearchMenu::wama' will be initialized after [-Wreorder] const WordActionsMapAccessor& wama; ^~~~ additionalgui.h:253:7: warning: 'int SearchMenu::maxres' [-Wreorder] int maxres; ^~~~~~ additionalgui.cpp:795:1: warning: when initialized here [-Wreorder] SearchMenu::SearchMenu(const WordActionsMapAccessor& wm,const int max,QWidget* parent) ^~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o xmlgeneratorgui.o xmlgeneratorgui.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from ui_filtercreatortab.h:21, from xmlgeneratorgui.cpp:3: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from xmlgeneratorgui.h:4, from ui_filtercreatortab.h:21, from xmlgeneratorgui.cpp:3: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from xmlgeneratorgui.h:4, from ui_filtercreatortab.h:21, from xmlgeneratorgui.cpp:3: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from xmlgeneratorgui.h:4, from ui_filtercreatortab.h:21, from xmlgeneratorgui.cpp:3: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from ui_filtercreatortab.h:21, from xmlgeneratorgui.cpp:3: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from ui_filtercreatortab.h:21, from xmlgeneratorgui.cpp:3: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from ui_filtercreatortab.h:21, from xmlgeneratorgui.cpp:3: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from ui_filtercreatortab.h:21, from xmlgeneratorgui.cpp:3: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from ui_filtercreatortab.h:21, from xmlgeneratorgui.cpp:3: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from ui_filtercreatortab.h:21, from xmlgeneratorgui.cpp:3: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from ui_filtercreatortab.h:21, from xmlgeneratorgui.cpp:3: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ui_filtergui.h:13, from xmlgeneratorgui.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ui_filtergui.h:13, from xmlgeneratorgui.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o trackball.o ../../../vcglib/wrap/gui/trackball.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o trackmode.o ../../../vcglib/wrap/gui/trackmode.cpp In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/wrap/gui/trackmode.cpp:25: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/wrap/gui/trackmode.cpp:28: ../../../vcglib/wrap/gui/trackutils.h: In function 'bool vcg::trackutils::HitHyper(vcg::Point3f, float, vcg::Point3f, vcg::Plane3f, vcg::Point3f, vcg::Point3f&)': ../../../vcglib/wrap/gui/trackutils.h:189:13: warning: variable 'x2' set but not used [-Wunused-but-set-variable] float x1, x2, xval, yval; ^~ ../../../vcglib/wrap/gui/trackmode.cpp: In member function 'virtual bool vcg::NavigatorWasdMode::IsAnimating(const vcg::Trackball*)': ../../../vcglib/wrap/gui/trackmode.cpp:751:87: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] const unsigned int MOVEMENT_KEY_MASK = (const unsigned int)(~Trackball::MODIFIER_MASK); ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o glarea_setting.o glarea_setting.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o filterthread.o filterthread.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.cpp:1: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.cpp:1: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.cpp:1: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.cpp:1: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.cpp:1: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.cpp:1: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.cpp:1: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.cpp:1: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.cpp:1: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.cpp:1: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.cpp:1: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtScript/QtScript:3, from mainwindow.h:30, from filterthread.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtScript/QtScript:3, from mainwindow.h:30, from filterthread.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. ../common/interfaces.h -o moc_interfaces.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_interfaces.o moc_interfaces.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from moc_interfaces.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from moc_interfaces.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from moc_interfaces.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from moc_interfaces.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. mainwindow.h -o moc_mainwindow.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_mainwindow.o moc_mainwindow.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from moc_mainwindow.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from moc_mainwindow.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from moc_mainwindow.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from moc_mainwindow.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from moc_mainwindow.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from moc_mainwindow.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from moc_mainwindow.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from moc_mainwindow.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from moc_mainwindow.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from moc_mainwindow.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from moc_mainwindow.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtScript/QtScript:3, from mainwindow.h:30, from moc_mainwindow.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtScript/QtScript:3, from mainwindow.h:30, from moc_mainwindow.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. glarea.h -o moc_glarea.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_glarea.o moc_glarea.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from moc_glarea.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from glarea.h:40, from moc_glarea.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from glarea.h:40, from moc_glarea.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from glarea.h:40, from moc_glarea.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from moc_glarea.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from moc_glarea.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from moc_glarea.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from moc_glarea.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from moc_glarea.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from moc_glarea.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from moc_glarea.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from glarea.h:30, from moc_glarea.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from glarea.h:30, from moc_glarea.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. multiViewer_Container.h -o moc_multiViewer_Container.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_multiViewer_Container.o moc_multiViewer_Container.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from moc_multiViewer_Container.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from multiViewer_Container.h:30, from moc_multiViewer_Container.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from multiViewer_Container.h:30, from moc_multiViewer_Container.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from multiViewer_Container.h:30, from moc_multiViewer_Container.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from moc_multiViewer_Container.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from moc_multiViewer_Container.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from moc_multiViewer_Container.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from moc_multiViewer_Container.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from moc_multiViewer_Container.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from moc_multiViewer_Container.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from multiViewer_Container.h:30, from moc_multiViewer_Container.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. plugindialog.h -o moc_plugindialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_plugindialog.o moc_plugindialog.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. customDialog.h -o moc_customDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_customDialog.o moc_customDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from moc_customDialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from moc_customDialog.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from moc_customDialog.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from moc_customDialog.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from moc_customDialog.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from moc_customDialog.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from moc_customDialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from moc_customDialog.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from moc_customDialog.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from moc_customDialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from customDialog.h:29, from moc_customDialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/QDialog:1, from customDialog.h:25, from moc_customDialog.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/QDialog:1, from customDialog.h:25, from moc_customDialog.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. filterScriptDialog.h -o moc_filterScriptDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_filterScriptDialog.o moc_filterScriptDialog.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. saveSnapshotDialog.h -o moc_saveSnapshotDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_saveSnapshotDialog.o moc_saveSnapshotDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from glarea.h:40, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from glarea.h:30, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from glarea.h:30, from saveSnapshotDialog.h:24, from moc_saveSnapshotDialog.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. savemaskexporter.h -o moc_savemaskexporter.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_savemaskexporter.o moc_savemaskexporter.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from moc_savemaskexporter.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from moc_savemaskexporter.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from moc_savemaskexporter.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from moc_savemaskexporter.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from moc_savemaskexporter.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from moc_savemaskexporter.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from moc_savemaskexporter.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from moc_savemaskexporter.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from moc_savemaskexporter.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from moc_savemaskexporter.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from savemaskexporter.h:30, from moc_savemaskexporter.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/filterparameter.h:26, from savemaskexporter.h:29, from moc_savemaskexporter.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/filterparameter.h:26, from savemaskexporter.h:29, from moc_savemaskexporter.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. changetexturename.h -o moc_changetexturename.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_changetexturename.o moc_changetexturename.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. layerDialog.h -o moc_layerDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_layerDialog.o moc_layerDialog.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. stdpardialog.h -o moc_stdpardialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_stdpardialog.o moc_stdpardialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from stdpardialog.h:26, from moc_stdpardialog.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. xmlstdpardialog.h -o moc_xmlstdpardialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_xmlstdpardialog.o moc_xmlstdpardialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../common/meshmodel.h:41, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/scriptinterface.h:30, from xmlstdpardialog.h:5, from moc_xmlstdpardialog.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../common/xmlfilterinfo.h:10, from xmlstdpardialog.h:4, from moc_xmlstdpardialog.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../common/xmlfilterinfo.h:10, from xmlstdpardialog.h:4, from moc_xmlstdpardialog.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. additionalgui.h -o moc_additionalgui.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_additionalgui.o moc_additionalgui.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. xmlgeneratorgui.h -o moc_xmlgeneratorgui.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_xmlgeneratorgui.o moc_xmlgeneratorgui.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../common/filterscript.h:27, from ../common/meshmodel.h:62, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../common/filterscript.h:27, from ../common/meshmodel.h:62, from xmlgeneratorgui.h:4, from moc_xmlgeneratorgui.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. filterthread.h -o moc_filterthread.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o moc_filterthread.o moc_filterthread.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.h:5, from moc_filterthread.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.h:5, from moc_filterthread.cpp:9: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.h:5, from moc_filterthread.cpp:9: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.h:5, from moc_filterthread.cpp:9: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.h:5, from moc_filterthread.cpp:9: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.h:5, from moc_filterthread.cpp:9: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.h:5, from moc_filterthread.cpp:9: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.h:5, from moc_filterthread.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.h:5, from moc_filterthread.cpp:9: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.h:5, from moc_filterthread.cpp:9: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from ../common/pluginmanager.h:30, from mainwindow.h:37, from filterthread.h:5, from moc_filterthread.cpp:9: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtScript/QtScript:3, from mainwindow.h:30, from filterthread.h:5, from moc_filterthread.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtScript/QtScript:3, from mainwindow.h:30, from filterthread.h:5, from moc_filterthread.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name meshlab meshlab.qrc -o qrc_meshlab.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../.. -I../../../vcglib -I../external/glew-1.7.0/include -I../external/jhead-2.95 -I/usr/X11R6/include -I. -I. -o qrc_meshlab.o qrc_meshlab.cpp g++ -Wl,-z,relro -Wl,-rpath,/usr/lib/meshlab -o ../distrib/meshlab main.o mainwindow_Init.o mainwindow_RunTime.o glarea.o multiViewer_Container.o plugindialog.o customDialog.o filterScriptDialog.o saveSnapshotDialog.o layerDialog.o savemaskexporter.o changetexturename.o stdpardialog.o xmlstdpardialog.o additionalgui.o xmlgeneratorgui.o trackball.o trackmode.o glarea_setting.o filterthread.o moc_interfaces.o moc_mainwindow.o moc_glarea.o moc_multiViewer_Container.o moc_plugindialog.o moc_customDialog.o moc_filterScriptDialog.o moc_saveSnapshotDialog.o moc_savemaskexporter.o moc_changetexturename.o moc_layerDialog.o moc_stdpardialog.o moc_xmlstdpardialog.o moc_additionalgui.o moc_xmlgeneratorgui.o moc_filterthread.o qrc_meshlab.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLEW -lGLU -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGL -lpthread /usr/bin/ld: ../external/lib/linux-g++/libjhead.a(jhead.o): in function `DoCommand': ./meshlab/src/external/jhead-2.95/jhead.c:368: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlab' cd meshlabserver/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabserver' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -I.. -I../../../vcglib -I/usr/include -I/usr/X11R6/include -I. -o mainserver.o mainserver.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainserver.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../common/meshmodel.h:35, from ../common/interfaces.h:37, from mainserver.cpp:25: ../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../vcglib/vcg/complex/complex.h:42, from ../common/meshmodel.h:38, from ../common/interfaces.h:37, from mainserver.cpp:25: ../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../common/meshmodel.h:41, from ../common/interfaces.h:37, from mainserver.cpp:25: ../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/distance3.h:29, from ../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainserver.cpp:25: ../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainserver.cpp:25: ../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainserver.cpp:25: ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainserver.cpp:25: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainserver.cpp:25: ../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainserver.cpp:25: ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../common/meshmodel.h:44, from ../common/interfaces.h:37, from mainserver.cpp:25: ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from mainserver.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../common/interfaces.h:28, from mainserver.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ mainserver.cpp: In function 'int main(int, char**)': mainserver.cpp:384:10: warning: this statement may fall through [-Wimplicit-fallthrough=] else if (argv[i][2]=='m') ^~ mainserver.cpp:433:7: note: here case 's' : ^~~~ g++ -Wl,-z,relro -Wl,-rpath,/usr/lib/meshlab -o ../distrib/meshlabserver mainserver.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabserver' cd meshlabplugins/io_base/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_base' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o baseio.o baseio.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from baseio.cpp:26: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from baseio.h:26, from baseio.cpp:26: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from baseio.h:26, from baseio.cpp:26: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from baseio.h:26, from baseio.cpp:26: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from baseio.cpp:26: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from baseio.cpp:26: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from baseio.cpp:26: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from baseio.cpp:26: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from baseio.cpp:26: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from baseio.cpp:26: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from baseio.cpp:26: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/io_trimesh/import_ply.h:31, from baseio.cpp:28: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from baseio.cpp:30: ../../../../vcglib/wrap/io_trimesh/import_obj.h: In static member function 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&)': ../../../../vcglib/wrap/io_trimesh/import_obj.h:226:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (oi.mask == -1) ^~ ../../../../vcglib/wrap/io_trimesh/import_obj.h:229:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' const int inputMask = oi.mask; ^~~~~ In file included from baseio.cpp:37: ../../../../vcglib/wrap/io_trimesh/export_obj.h: In static member function 'static int vcg::tri::io::ExporterOBJ::Save(SaveMeshType&, const char*, int, bool (*)(int, const char*))': ../../../../vcglib/wrap/io_trimesh/export_obj.h:120:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(m.vn == 0) return E_NOTVEXTEXVALID; ^~ ../../../../vcglib/wrap/io_trimesh/export_obj.h:124:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int current = 0; ^~~ baseio.cpp: In member function 'virtual bool BaseMeshIOPlugin::open(const QString&, const QString&, MeshModel&, int&, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': baseio.cpp:64:7: warning: variable 'normalsUpdated' set but not used [-Wunused-but-set-variable] bool normalsUpdated = false; ^~~~~~~~~~~~~~ baseio.cpp: In member function 'virtual bool BaseMeshIOPlugin::save(const QString&, const QString&, MeshModel&, int, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': baseio.cpp:260:29: warning: enum constant in boolean context [-Wint-in-bool-context] if(mask && tri::io::Mask::IOM_BITPOLYGONAL) ^~~~~~~~~~~~~~~~ In file included from baseio.cpp:30: ../../../../vcglib/wrap/io_trimesh/import_obj.h: In instantiation of 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&) [with OpenMeshType = CMeshO]': baseio.cpp:112:77: required from here ../../../../vcglib/wrap/io_trimesh/import_obj.h:533:17: warning: variable 'fi' set but not used [-Wunused-but-set-variable] FaceIterator fi = vcg::tri::Allocator::AddFaces(m,numTriangles); ^~ In file included from baseio.cpp:31: ../../../../vcglib/wrap/io_trimesh/import_off.h: In instantiation of 'static int vcg::tri::io::ImporterOFF::Open(MESH_TYPE&, const char*, int&, bool (*)(int, const char*)) [with MESH_TYPE = CMeshO; vcg::CallBackPos = bool(int, const char*)]': baseio.cpp:171:89: required from here ../../../../vcglib/wrap/io_trimesh/import_off.h:189:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] unsigned int nVertices, nFaces, nEdges; ^~~~~~ In file included from baseio.cpp:33: ../../../../vcglib/wrap/io_trimesh/import_vmi.h: In instantiation of 'static int vcg::tri::io::ImporterVMI::Deserialize(OpenMeshType&, int&) [with OpenMeshType = CMeshO; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char]': ../../../../vcglib/wrap/io_trimesh/import_vmi.h:658:34: required from 'static int vcg::tri::io::ImporterVMI::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char; vcg::CallBackPos = bool(int, const char*)]' baseio.cpp:185:52: required from here ../../../../vcglib/wrap/io_trimesh/import_vmi.h:714:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] size_t read = 0; ^~~~ In file included from baseio.cpp:35: ../../../../vcglib/wrap/io_trimesh/export_ply.h: In instantiation of 'static int vcg::tri::io::ExporterPLY::Save(SaveMeshType&, const char*, bool, vcg::tri::io::PlyInfo&, bool (*)(int, const char*)) [with SaveMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]': ../../../../vcglib/wrap/io_trimesh/export_ply.h:187:14: required from 'static int vcg::tri::io::ExporterPLY::Save(SaveMeshType&, const char*, int, bool, bool (*)(int, const char*)) [with SaveMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' baseio.cpp:230:91: required from here ../../../../vcglib/wrap/io_trimesh/export_ply.h:525:26: warning: variable 'td' set but not used [-Wunused-but-set-variable] float tf(0); double td(0); ^~ ../../../../vcglib/wrap/io_trimesh/export_ply.h:698:27: warning: variable 'td' set but not used [-Wunused-but-set-variable] float tf(0); double td(0); ^~ ../../../../vcglib/wrap/io_trimesh/export_ply.h:717:6: warning: variable 'eauxvv' set but not used [-Wunused-but-set-variable] int eauxvv[2]; ^~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import_obj.h:33, from baseio.cpp:30: ../../../../vcglib/wrap/gl/glu_tesselator.h: In instantiation of 'static void vcg::glu_tesselator::do_tesselation(const std::vector >&, vcg::glu_tesselator::tess_prim_data_vec&) [with point_type = vcg::Point3; vcg::glu_tesselator::tess_prim_data_vec = std::vector]': ../../../../vcglib/wrap/gl/glu_tesselator.h:115:29: required from 'static void vcg::glu_tesselator::tesselate(const std::vector >&, std::vector&) [with point_type = vcg::Point3]' ../../../../vcglib/wrap/io_trimesh/import_obj.h:426:71: required from 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&) [with OpenMeshType = CMeshO]' baseio.cpp:112:77: required from here ../../../../vcglib/wrap/gl/glu_tesselator.h:221:48: warning: cast between incompatible function types from 'void (*)(GLenum, void*)' {aka 'void (*)(unsigned int, void*)'} to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_BEGIN_DATA, (GLvoid (CALLBACK *)())(this_type::begin_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:222:48: warning: cast between incompatible function types from 'void (*)(void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_END_DATA, (GLvoid (CALLBACK *)())(this_type::end_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:223:48: warning: cast between incompatible function types from 'void (*)(void*, void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_VERTEX_DATA, (GLvoid (CALLBACK *)())(this_type::vertex_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:237:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gluTessVertex(tess, vertex, (void *)k); ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from baseio.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from baseio.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from baseio.cpp:29: ../../../../vcglib/wrap/io_trimesh/import_stl.h: In static member function 'static int vcg::tri::io::ImporterSTL::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO]': ../../../../vcglib/wrap/io_trimesh/import_stl.h:110:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&facenum, sizeof(int), 1, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:114:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(tmpbuf,sizeof(tmpbuf),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h: In static member function 'static int vcg::tri::io::ImporterSTL::OpenBinary(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO]': ../../../../vcglib/wrap/io_trimesh/import_stl.h:140:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&facenum, sizeof(int), 1, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:151:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&norm,sizeof(Point3f),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:152:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&tri,sizeof(Point3f),3,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:153:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&attr,sizeof(short),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from baseio.cpp:32: ../../../../vcglib/wrap/io_trimesh/import_ptx.h: In static member function 'static bool vcg::tri::io::ImporterPTX::skipmesh(FILE*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO]': ../../../../vcglib/wrap/io_trimesh/import_ptx.h:124:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i\n",&colnum); ~~~~~~^~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_ptx.h:125:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i\n",&rownum); ~~~~~~^~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_ptx.h:134:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&linebuf,1,1,fp); ~~~~~^~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_ptx.h:135:34: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] while(linebuf != '\n') fread(&linebuf,1,1,fp); ~~~~~^~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_ptx.h: In static member function 'static bool vcg::tri::io::ImporterPTX::readPTX(OpenMeshType&, FILE*, vcg::tri::io::ImporterPTX::Info, bool (*)(int, const char*)) [with OpenMeshType = CMeshO]': ../../../../vcglib/wrap/io_trimesh/import_ptx.h:186:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i\n",&colnum); ~~~~~~^~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_ptx.h:187:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i\n",&rownum); ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from baseio.cpp:32: ../../../../vcglib/wrap/io_trimesh/import_ptx.h:208:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&(linebuf[ii++]),1,1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_ptx.h:272:12: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%f %f %f %f %f %f %f", &xx, &yy, &zz, &rf, &rr, &gg, &bb); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_ptx.h:274:12: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%f %f %f %f", &xx, &yy, &zz, &rf); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o plylib.o ../../../../vcglib/wrap/ply/plylib.cpp ../../../../vcglib/wrap/ply/plylib.cpp: In function 'void vcg::ply::interpret_texture_name(const char*, const char*, char*)': ../../../../vcglib/wrap/ply/plylib.cpp:3666:14: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(output,"%s%s",output,fn2); ^~~~~~ ~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. baseio.h -o moc_baseio.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_baseio.o moc_baseio.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from moc_baseio.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from baseio.h:26, from moc_baseio.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from baseio.h:26, from moc_baseio.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from baseio.h:26, from moc_baseio.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from moc_baseio.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from moc_baseio.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from moc_baseio.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from moc_baseio.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from moc_baseio.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from moc_baseio.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from baseio.h:26, from moc_baseio.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from baseio.h:26, from moc_baseio.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from baseio.h:26, from moc_baseio.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_base.so g++ -Wl,-z,relro -shared -o libio_base.so baseio.o plylib.o moc_baseio.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_base.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_base' cd meshlabplugins/io_3ds/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_3ds' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include/lib3ds -I/usr/X11R6/include -I. -o meshio.o meshio.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from meshio.cpp:27: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshio.h:30, from meshio.cpp:27: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshio.h:30, from meshio.cpp:27: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshio.h:30, from meshio.cpp:27: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from meshio.cpp:27: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from meshio.cpp:27: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from meshio.cpp:27: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from meshio.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from meshio.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from meshio.cpp:27: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from meshio.cpp:27: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from meshio.cpp:33: ../../../../vcglib/wrap/io_trimesh/export_obj.h: In static member function 'static int vcg::tri::io::ExporterOBJ::Save(SaveMeshType&, const char*, int, bool (*)(int, const char*))': ../../../../vcglib/wrap/io_trimesh/export_obj.h:120:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(m.vn == 0) return E_NOTVEXTEXVALID; ^~ ../../../../vcglib/wrap/io_trimesh/export_obj.h:124:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int current = 0; ^~~ In file included from meshio.cpp:37: ../../../../vcglib/wrap/io_trimesh/import_obj.h: In static member function 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&)': ../../../../vcglib/wrap/io_trimesh/import_obj.h:226:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (oi.mask == -1) ^~ ../../../../vcglib/wrap/io_trimesh/import_obj.h:229:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' const int inputMask = oi.mask; ^~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from meshio.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from meshio.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include/lib3ds -I/usr/X11R6/include -I. meshio.h -o moc_meshio.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include/lib3ds -I/usr/X11R6/include -I. -o moc_meshio.o moc_meshio.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from moc_meshio.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshio.h:30, from moc_meshio.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshio.h:30, from moc_meshio.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshio.h:30, from moc_meshio.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from moc_meshio.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from moc_meshio.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from moc_meshio.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from moc_meshio.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from moc_meshio.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from moc_meshio.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshio.h:30, from moc_meshio.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshio.h:30, from moc_meshio.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshio.h:30, from moc_meshio.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_3ds.so g++ -Wl,-z,relro -shared -o libio_3ds.so meshio.o moc_meshio.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -l3ds -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_3ds.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_3ds' cd meshlabplugins/io_bre/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_bre' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o io_bre.o io_bre.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from io_bre.cpp:28: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_bre.h:26, from io_bre.cpp:28: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_bre.h:26, from io_bre.cpp:28: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_bre.h:26, from io_bre.cpp:28: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from io_bre.cpp:28: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from io_bre.cpp:28: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from io_bre.cpp:28: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from io_bre.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from io_bre.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from io_bre.cpp:28: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from io_bre.cpp:28: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/io_trimesh/export.h:56, from io_bre.cpp:30: ../../../../vcglib/wrap/io_trimesh/export_obj.h: In static member function 'static int vcg::tri::io::ExporterOBJ::Save(SaveMeshType&, const char*, int, bool (*)(int, const char*))': ../../../../vcglib/wrap/io_trimesh/export_obj.h:120:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(m.vn == 0) return E_NOTVEXTEXVALID; ^~ ../../../../vcglib/wrap/io_trimesh/export_obj.h:124:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int current = 0; ^~~ io_bre.cpp: In member function 'bool vcg::tri::io::VertexGrid::IsValid(int, int)': io_bre.cpp:562:12: warning: enum constant in boolean context [-Wint-in-bool-context] return E_RANGEVAL; //out of grid range (val) ^~~~~~~~~~ io_bre.cpp: In function 'int vcg::tri::io::ReadBreElementsInGrid(QFile&, vcg::tri::io::VertexGrid&, CMeshO&, int, int, bool (*)(int, const char*))': io_bre.cpp:575:43: warning: variable 'test_index' set but not used [-Wunused-but-set-variable] CMeshO::PerMeshAttributeHandle test_index = tri::Allocator::GetPerMeshAttribute(m, "Camera Position"); ^~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_bre.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_bre.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. io_bre.h -o moc_io_bre.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_io_bre.o moc_io_bre.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from moc_io_bre.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_bre.h:26, from moc_io_bre.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_bre.h:26, from moc_io_bre.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_bre.h:26, from moc_io_bre.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from moc_io_bre.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from moc_io_bre.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from moc_io_bre.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from moc_io_bre.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from moc_io_bre.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from moc_io_bre.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_bre.h:26, from moc_io_bre.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_bre.h:26, from moc_io_bre.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_bre.h:26, from moc_io_bre.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from moc_io_bre.cpp:9: io_bre.h: At global scope: io_bre.h:196:20: warning: 'const char* ErrorMsg(int)' defined but not used [-Wunused-function] static const char *ErrorMsg(int error) ^~~~~~~~ rm -f libio_bre.so g++ -Wl,-z,relro -shared -o libio_bre.so io_bre.o moc_io_bre.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_bre.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_bre' cd meshlabplugins/io_collada/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_collada' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o io_collada.o io_collada.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/io_trimesh/export.h:56, from io_collada.cpp:96: ../../../../vcglib/wrap/io_trimesh/export_obj.h: In static member function 'static int vcg::tri::io::ExporterOBJ::Save(SaveMeshType&, const char*, int, bool (*)(int, const char*))': ../../../../vcglib/wrap/io_trimesh/export_obj.h:120:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(m.vn == 0) return E_NOTVEXTEXVALID; ^~ ../../../../vcglib/wrap/io_trimesh/export_obj.h:124:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int current = 0; ^~~ In file included from ../../../../vcglib/wrap/io_trimesh/export_dae.h:28, from io_collada.cpp:98: ../../../../vcglib/wrap/dae/colladaformat.h: In constructor 'Collada::Tags::BindVertexInputTag::BindVertexInputTag(const QString&, const QString&, const QString&)': ../../../../vcglib/wrap/dae/colladaformat.h:757:91: warning: unused parameter 'input_set' [-Wunused-parameter] BindVertexInputTag(const QString& semantic,const QString& input_semantic,const QString& input_set) ~~~~~~~~~~~~~~~^~~~~~~~~ io_collada.cpp: In member function 'virtual bool ColladaIOPlugin::open(const QString&, const QString&, MeshModel&, int&, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_collada.cpp:104:157: warning: unused parameter 'parent' [-Wunused-parameter] bool ColladaIOPlugin::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask, const RichParameterSet &, CallBackPos *cb, QWidget *parent) ~~~~~~~~~^~~~~~ io_collada.cpp: In member function 'virtual bool ColladaIOPlugin::save(const QString&, const QString&, MeshModel&, int, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_collada.cpp:184:154: warning: unused parameter 'cb' [-Wunused-parameter] bool ColladaIOPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~~~~^~ io_collada.cpp:184:167: warning: unused parameter 'parent' [-Wunused-parameter] bool ColladaIOPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~^~~~~~ In file included from io_collada.cpp:98: ../../../../vcglib/wrap/io_trimesh/export_dae.h: In instantiation of 'static int vcg::tri::io::ExporterDAE::Save(const MESHMODEL&, const char*, int, const QDomDocument*) [with MESHMODEL = CMeshO]': io_collada.cpp:200:47: required from here ../../../../vcglib/wrap/io_trimesh/export_dae.h:41:98: warning: unused parameter 'doc' [-Wunused-parameter] static int Save(const MESHMODEL& model,const char* filename,const int mask,const QDomDocument* doc = NULL) ^ In file included from io_collada.cpp:97: ../../../../vcglib/wrap/io_trimesh/import_dae.h: In instantiation of 'static void vcg::tri::io::ImporterDAE::AddNodeToMesh(QDomElement, vcg::tri::io::ImporterDAE::ColladaMesh&, vcg::Matrix44f, vcg::tri::io::InfoDAE&) [with OpenMeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44]': ../../../../vcglib/wrap/io_trimesh/import_dae.h:809:21: required from 'static int vcg::tri::io::ImporterDAE::Open(OpenMeshType&, const char*, vcg::tri::io::InfoDAE&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' io_collada.cpp:129:51: required from here ../../../../vcglib/wrap/io_trimesh/import_dae.h:604:14: warning: format '%i' expects argument of type 'int', but argument 5 has type 'std::vector >::size_type' {aka 'long unsigned int'} [-Wformat=] QDEBUG("** instance_geometry with url %s (intial mesh size %i %i T = %i)",qPrintable(instGeomNode.attribute("url")),m.vn,m.fn,m.textures.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_dae.h:621:14: warning: format '%i' expects argument of type 'int', but argument 4 has type 'std::vector::ColladaVertex, std::allocator::ColladaVertex> >::size_type' {aka 'long unsigned int'} [-Wformat=] QDEBUG("** instance_geometry with url %s (final mesh size %i %i - %i %i)",qPrintable(instGeomNode.attribute("url")),m.vn,m.vert.size(),m.fn,m.face.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_dae.h:621:14: warning: format '%i' expects argument of type 'int', but argument 6 has type 'std::vector::ColladaFace, std::allocator::ColladaFace> >::size_type' {aka 'long unsigned int'} [-Wformat=] In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_collada.cpp:91: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = std::pair]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = std::pair]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = std::pair]' ../../../../vcglib/wrap/dae/xmldocumentmanaging.h:43:38: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_collada.cpp:91: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_collada.cpp:91: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QString]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QString]' ../../../../vcglib/wrap/dae/xmldocumentmanaging.h:58:31: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_collada.cpp:91: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from io_collada.cpp:97: ../../../../vcglib/wrap/io_trimesh/import_dae.h: In instantiation of 'static int vcg::tri::io::ImporterDAE::LoadGeometry(vcg::tri::io::ImporterDAE::ColladaMesh&, vcg::tri::io::InfoDAE&, const QDomElement&, QMap&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]': ../../../../vcglib/wrap/io_trimesh/import_dae.h:618:19: required from 'static void vcg::tri::io::ImporterDAE::AddNodeToMesh(QDomElement, vcg::tri::io::ImporterDAE::ColladaMesh&, vcg::Matrix44f, vcg::tri::io::InfoDAE&) [with OpenMeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44]' ../../../../vcglib/wrap/io_trimesh/import_dae.h:809:21: required from 'static int vcg::tri::io::ImporterDAE::Open(OpenMeshType&, const char*, vcg::tri::io::InfoDAE&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' io_collada.cpp:129:51: required from here ../../../../vcglib/wrap/io_trimesh/import_dae.h:569:11: warning: format '%i' expects argument of type 'int', but argument 3 has type 'std::vector::ColladaVertex, std::allocator::ColladaVertex> >::size_type' {aka 'long unsigned int'} [-Wformat=] QDEBUG("**** Loading a Geometry Mesh **** (final mesh size %i %i - %i %i)",m.vn,m.vert.size(),m.fn,m.face.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_dae.h:569:11: warning: format '%i' expects argument of type 'int', but argument 5 has type 'std::vector::ColladaFace, std::allocator::ColladaFace> >::size_type' {aka 'long unsigned int'} [-Wformat=] ../../../../vcglib/wrap/io_trimesh/import_dae.h: In instantiation of 'static vcg::tri::io::UtilDAE::DAEError vcg::tri::io::ImporterDAE::LoadTriangularMesh(QDomNodeList&, vcg::tri::io::ImporterDAE::ColladaMesh&, size_t, vcg::tri::io::InfoDAE&, QMap&) [with OpenMeshType = CMeshO; size_t = long unsigned int]': ../../../../vcglib/wrap/io_trimesh/import_dae.h:562:30: required from 'static int vcg::tri::io::ImporterDAE::LoadGeometry(vcg::tri::io::ImporterDAE::ColladaMesh&, vcg::tri::io::InfoDAE&, const QDomElement&, QMap&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import_dae.h:618:19: required from 'static void vcg::tri::io::ImporterDAE::AddNodeToMesh(QDomElement, vcg::tri::io::ImporterDAE::ColladaMesh&, vcg::Matrix44f, vcg::tri::io::InfoDAE&) [with OpenMeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44]' ../../../../vcglib/wrap/io_trimesh/import_dae.h:809:21: required from 'static int vcg::tri::io::ImporterDAE::Open(OpenMeshType&, const char*, vcg::tri::io::InfoDAE&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' io_collada.cpp:129:51: required from here ../../../../vcglib/wrap/io_trimesh/import_dae.h:411:18: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] QDEBUG("********* WARNING face %i, (%i %i %i) is a DEGENERATE FACE!",ff, m.face[ff].V(0) - &m.vert.front(), m.face[ff].V(1) - &m.vert.front(), m.face[ff].V(2) - &m.vert.front()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_dae.h:411:18: warning: format '%i' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] ../../../../vcglib/wrap/io_trimesh/import_dae.h:411:18: warning: format '%i' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] ../../../../vcglib/wrap/io_trimesh/import_dae.h:416:11: warning: format '%i' expects argument of type 'int', but argument 3 has type 'std::vector::ColladaVertex, std::allocator::ColladaVertex> >::size_type' {aka 'long unsigned int'} [-Wformat=] QDEBUG("****** LoadTriangularMesh (final mesh size %i %i - %i %i)",m.vn,m.vert.size(),m.fn,m.face.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_dae.h:416:11: warning: format '%i' expects argument of type 'int', but argument 5 has type 'std::vector::ColladaFace, std::allocator::ColladaFace> >::size_type' {aka 'long unsigned int'} [-Wformat=] ../../../../vcglib/wrap/io_trimesh/import_dae.h: In instantiation of 'static vcg::tri::io::UtilDAE::DAEError vcg::tri::io::ImporterDAE::LoadPolygonalListMesh(QDomNodeList&, vcg::tri::io::ImporterDAE::ColladaMesh&, size_t, vcg::tri::io::InfoDAE&, QMap&) [with OpenMeshType = CMeshO; size_t = long unsigned int]': ../../../../vcglib/wrap/io_trimesh/import_dae.h:565:48: required from 'static int vcg::tri::io::ImporterDAE::LoadGeometry(vcg::tri::io::ImporterDAE::ColladaMesh&, vcg::tri::io::InfoDAE&, const QDomElement&, QMap&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import_dae.h:618:19: required from 'static void vcg::tri::io::ImporterDAE::AddNodeToMesh(QDomElement, vcg::tri::io::ImporterDAE::ColladaMesh&, vcg::Matrix44f, vcg::tri::io::InfoDAE&) [with OpenMeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44]' ../../../../vcglib/wrap/io_trimesh/import_dae.h:809:21: required from 'static int vcg::tri::io::ImporterDAE::Open(OpenMeshType&, const char*, vcg::tri::io::InfoDAE&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' io_collada.cpp:129:51: required from here ../../../../vcglib/wrap/io_trimesh/import_dae.h:170:11: warning: format '%i' expects argument of type 'int', but argument 2 has type 'std::vector::ColladaVertex, std::allocator::ColladaVertex> >::size_type' {aka 'long unsigned int'} [-Wformat=] QDEBUG("****** LoadPolygonalListMesh (initial mesh size %i %i)",m.vert.size(),m.fn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_dae.h:252:11: warning: format '%i' expects argument of type 'int', but argument 3 has type 'std::vector::ColladaVertex, std::allocator::ColladaVertex> >::size_type' {aka 'long unsigned int'} [-Wformat=] QDEBUG("****** LoadPolygonalListMesh (final mesh size vn %i vertsize %i - fn %i facesize %i)",m.vn,m.vert.size(),m.fn,m.face.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_dae.h:252:11: warning: format '%i' expects argument of type 'int', but argument 5 has type 'std::vector::ColladaFace, std::allocator::ColladaFace> >::size_type' {aka 'long unsigned int'} [-Wformat=] In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_collada.cpp:91: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_collada.cpp:91: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from io_collada.cpp:97: ../../../../vcglib/wrap/io_trimesh/import_dae.h: In instantiation of 'static int vcg::tri::io::ImporterDAE::VertexColorAttribute(vcg::tri::io::ImporterDAE::ColladaMesh&, QStringList, QStringList, QDomNode, int, int, int, int) [with OpenMeshType = CMeshO]': ../../../../vcglib/wrap/io_trimesh/import_dae.h:399:59: required from 'static vcg::tri::io::UtilDAE::DAEError vcg::tri::io::ImporterDAE::LoadTriangularMesh(QDomNodeList&, vcg::tri::io::ImporterDAE::ColladaMesh&, size_t, vcg::tri::io::InfoDAE&, QMap&) [with OpenMeshType = CMeshO; size_t = long unsigned int]' ../../../../vcglib/wrap/io_trimesh/import_dae.h:562:30: required from 'static int vcg::tri::io::ImporterDAE::LoadGeometry(vcg::tri::io::ImporterDAE::ColladaMesh&, vcg::tri::io::InfoDAE&, const QDomElement&, QMap&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import_dae.h:618:19: required from 'static void vcg::tri::io::ImporterDAE::AddNodeToMesh(QDomElement, vcg::tri::io::ImporterDAE::ColladaMesh&, vcg::Matrix44f, vcg::tri::io::InfoDAE&) [with OpenMeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44]' ../../../../vcglib/wrap/io_trimesh/import_dae.h:809:21: required from 'static int vcg::tri::io::ImporterDAE::Open(OpenMeshType&, const char*, vcg::tri::io::InfoDAE&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' io_collada.cpp:129:51: required from here ../../../../vcglib/wrap/io_trimesh/import_dae.h:121:125: warning: unused parameter 'meshfaceind' [-Wunused-parameter] static int VertexColorAttribute(ColladaMesh& m,const QStringList face,const QStringList wc,const QDomNode wcsrc,const int meshfaceind,const int faceind, const int vertind,const int component) ~~~~~~~~~~^~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_dae.h:121:184: warning: unused parameter 'component' [-Wunused-parameter] static int VertexColorAttribute(ColladaMesh& m,const QStringList face,const QStringList wc,const QDomNode wcsrc,const int meshfaceind,const int faceind, const int vertind,const int component) ~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_collada.cpp:91: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:343:3: required from 'void QVector::resize(int) [with T = QVector]' ../../../../vcglib/wrap/dae/colladaformat.h:842:11: required from 'static void Collada::DocumentManager::splitMeshInTexturedPatches(const MESHMODELTYPE&, QVector >&) [with MESHMODELTYPE = CMeshO]' ../../../../vcglib/wrap/dae/colladaformat.h:1107:30: required from 'static XMLDocument* Collada::DocumentManager::createColladaDocument(const MESHMODELTYPE&, int) [with MESHMODELTYPE = CMeshO]' ../../../../vcglib/wrap/io_trimesh/export_dae.h:46:76: required from 'static int vcg::tri::io::ExporterDAE::Save(const MESHMODEL&, const char*, int, const QDomDocument*) [with MESHMODEL = CMeshO]' io_collada.cpp:200:47: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_collada.cpp:91: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/simplex/vertex/base.h:72, from ../../common/meshmodel.h:31, from ../../common/interfaces.h:37, from io_collada.h:47, from io_collada.cpp:93: ../../../../vcglib/vcg/space/texcoord2.h: In static member function 'static vcg::tri::io::UtilDAE::DAEError vcg::tri::io::ImporterDAE::LoadTriangularMesh(QDomNodeList&, vcg::tri::io::ImporterDAE::ColladaMesh&, size_t, vcg::tri::io::InfoDAE&, QMap&) [with OpenMeshType = CMeshO]': ../../../../vcglib/vcg/space/texcoord2.h:40:7: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] class TexCoord2 ^~~~~~~~~ ../../../../vcglib/vcg/space/texcoord2.h:40:7: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] ../../../../vcglib/vcg/space/texcoord2.h: In static member function 'static vcg::tri::io::UtilDAE::DAEError vcg::tri::io::ImporterDAE::LoadPolygonalListMesh(QDomNodeList&, vcg::tri::io::ImporterDAE::ColladaMesh&, size_t, vcg::tri::io::InfoDAE&, QMap&) [with OpenMeshType = CMeshO]': ../../../../vcglib/vcg/space/texcoord2.h:40:7: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] class TexCoord2 ^~~~~~~~~ ../../../../vcglib/vcg/space/texcoord2.h:40:7: warning: '*((void*)& +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] ../../../../vcglib/vcg/space/texcoord2.h:40:7: warning: '*((void*)& +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o xmldocumentmanaging.o ../../../../vcglib/wrap/dae/xmldocumentmanaging.cpp In file included from /usr/include/qt4/QtCore/QVector:1, from ../../../../vcglib/wrap/dae/xmldocumentmanaging.h:30, from ../../../../vcglib/wrap/dae/xmldocumentmanaging.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = std::pair]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = std::pair]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = std::pair]' ../../../../vcglib/wrap/dae/xmldocumentmanaging.h:43:38: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ../../../../vcglib/wrap/dae/xmldocumentmanaging.h:30, from ../../../../vcglib/wrap/dae/xmldocumentmanaging.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ../../../../vcglib/wrap/dae/xmldocumentmanaging.h:30, from ../../../../vcglib/wrap/dae/xmldocumentmanaging.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QString]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QString]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QString]' ../../../../vcglib/wrap/dae/xmldocumentmanaging.h:58:31: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/QVector:1, from ../../../../vcglib/wrap/dae/xmldocumentmanaging.h:30, from ../../../../vcglib/wrap/dae/xmldocumentmanaging.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. io_collada.h -o moc_io_collada.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_io_collada.o moc_io_collada.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from moc_io_collada.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_collada.h:47, from moc_io_collada.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_collada.h:47, from moc_io_collada.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_collada.h:47, from moc_io_collada.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from moc_io_collada.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from moc_io_collada.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from moc_io_collada.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from moc_io_collada.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from moc_io_collada.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from moc_io_collada.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_collada.h:47, from moc_io_collada.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_collada.h:47, from moc_io_collada.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_collada.h:47, from moc_io_collada.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_collada.so g++ -Wl,-z,relro -shared -o libio_collada.so io_collada.o xmldocumentmanaging.o moc_io_collada.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_collada.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_collada' cd meshlabplugins/io_ctm/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_ctm' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -o io_ctm.o io_ctm.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from io_ctm.cpp:30: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_ctm.h:34, from io_ctm.cpp:30: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_ctm.h:34, from io_ctm.cpp:30: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_ctm.h:34, from io_ctm.cpp:30: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from io_ctm.cpp:30: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from io_ctm.cpp:30: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from io_ctm.cpp:30: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from io_ctm.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from io_ctm.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from io_ctm.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from io_ctm.cpp:30: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ io_ctm.cpp: In member function 'virtual bool IOMPlugin::save(const QString&, const QString&, MeshModel&, int, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_ctm.cpp:53:156: warning: unused parameter 'cb' [-Wunused-parameter] bool IOMPlugin::save(const QString &/*formatName*/, const QString &fileName, MeshModel &m, const int mask,const RichParameterSet & par, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_ctm.cpp:28: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_ctm.cpp:28: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. io_ctm.h -o moc_io_ctm.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -o moc_io_ctm.o moc_io_ctm.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from moc_io_ctm.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_ctm.h:34, from moc_io_ctm.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_ctm.h:34, from moc_io_ctm.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_ctm.h:34, from moc_io_ctm.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from moc_io_ctm.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from moc_io_ctm.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from moc_io_ctm.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from moc_io_ctm.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from moc_io_ctm.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from moc_io_ctm.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_ctm.h:34, from moc_io_ctm.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_ctm.h:34, from moc_io_ctm.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_ctm.h:34, from moc_io_ctm.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_ctm.so g++ -Wl,-z,relro -shared -o libio_ctm.so io_ctm.o moc_io_ctm.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lopenctm -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_ctm.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_ctm' cd meshlabplugins/io_json/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_json' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o io_json.o io_json.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from io_json.cpp:23: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_json.h:26, from io_json.cpp:23: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_json.h:26, from io_json.cpp:23: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_json.h:26, from io_json.cpp:23: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from io_json.cpp:23: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from io_json.cpp:23: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from io_json.cpp:23: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from io_json.cpp:23: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from io_json.cpp:23: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from io_json.cpp:23: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from io_json.cpp:23: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from io_json.cpp:28: ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h: In static member function 'static bool vcg::tri::AttributeSeam::SplitVertex(src_trimesh_t&, extract_wedge_attribs_t, compare_vertex_attribs_t&)': ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h:162:52: warning: typedef 'src_vertex_container_t' locally defined but not used [-Wunused-local-typedefs] typedef typename src_trimesh_t::VertContainer src_vertex_container_t; ^~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h: In static member function 'static bool vcg::tri::AttributeSeam::SplitVertex(const src_trimesh_t&, dst_trimesh_t&, extract_wedge_attribs_t&, compare_vertex_attribs_t&, copy_vertex_t&)': ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h:248:57: warning: typedef 'dst_vertex_container_t' locally defined but not used [-Wunused-local-typedefs] typedef typename dst_trimesh_t::VertContainer dst_vertex_container_t; ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_json.h:26, from io_json.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_json.h:26, from io_json.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. io_json.h -o moc_io_json.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_io_json.o moc_io_json.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from moc_io_json.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_json.h:26, from moc_io_json.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_json.h:26, from moc_io_json.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_json.h:26, from moc_io_json.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from moc_io_json.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from moc_io_json.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from moc_io_json.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from moc_io_json.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from moc_io_json.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from moc_io_json.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_json.h:26, from moc_io_json.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_json.h:26, from moc_io_json.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_json.h:26, from moc_io_json.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_json.so g++ -Wl,-z,relro -shared -o libio_json.so io_json.o moc_io_json.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_json.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_json' cd meshlabplugins/io_u3d/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_u3d' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o io_u3d.o io_u3d.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from io_u3d.cpp:30: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_u3d.h:31, from io_u3d.cpp:30: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_u3d.h:31, from io_u3d.cpp:30: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_u3d.h:31, from io_u3d.cpp:30: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from io_u3d.cpp:30: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from io_u3d.cpp:30: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from io_u3d.cpp:30: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from io_u3d.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from io_u3d.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from io_u3d.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from io_u3d.cpp:30: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/io_trimesh/export_u3d.h:35, from io_u3d.h:32, from io_u3d.cpp:30: ../../../../vcglib/wrap/io_trimesh/export_idtf.h: In static member function 'static void vcg::tri::io::TGA_Exporter::removeConvertedTexturesFiles(const QStringList&)': ../../../../vcglib/wrap/io_trimesh/export_idtf.h:250:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for(unsigned int ii = 0;ii < conv_file.size();++ii) ~~~^~~~~~~~~~~~~~~~~~ In file included from io_u3d.h:32, from io_u3d.cpp:30: ../../../../vcglib/wrap/io_trimesh/export_u3d.h: In constructor 'vcg::tri::io::u3dparametersclasses::Movie15Parameters::CameraParameters::CameraParameters()': ../../../../vcglib/wrap/io_trimesh/export_u3d.h:93:10: warning: 'vcg::tri::io::u3dparametersclasses::Movie15Parameters::CameraParameters::_obj_bbox_diag' will be initialized after [-Wreorder] float _obj_bbox_diag; ^~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/export_u3d.h:92:17: warning: 'vcg::Point3f vcg::tri::io::u3dparametersclasses::Movie15Parameters::CameraParameters::_obj_pos' [-Wreorder] vcg::Point3f _obj_pos; ^~~~~~~~ In file included from io_u3d.h:32, from io_u3d.cpp:30: ../../../../vcglib/wrap/io_trimesh/export_u3d.h:67:4: warning: when initialized here [-Wreorder] CameraParameters() ^~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/export.h:56, from io_u3d.cpp:33: ../../../../vcglib/wrap/io_trimesh/export_obj.h: In static member function 'static int vcg::tri::io::ExporterOBJ::Save(SaveMeshType&, const char*, int, bool (*)(int, const char*))': ../../../../vcglib/wrap/io_trimesh/export_obj.h:120:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(m.vn == 0) return E_NOTVEXTEXVALID; ^~ ../../../../vcglib/wrap/io_trimesh/export_obj.h:124:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int current = 0; ^~~ io_u3d.cpp: In member function 'virtual bool U3DIOPlugin::save(const QString&, const QString&, MeshModel&, int, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_u3d.cpp:137:46: warning: unused variable 'result' [-Wunused-variable] if(formatName.toUpper() == tr("IDTF")) int result = tri::io::ExporterIDTF::Save(m.cm,filename.c_str(),mask); vcg::tri::io::ExporterIDTF::restoreConvertedTextures(m.cm,textures_to_be_restored); return true; ^~~~~~ io_u3d.cpp:137:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(formatName.toUpper() == tr("IDTF")) int result = tri::io::ExporterIDTF::Save(m.cm,filename.c_str(),mask); vcg::tri::io::ExporterIDTF::restoreConvertedTextures(m.cm,textures_to_be_restored); return true; ^~ io_u3d.cpp:137:121: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(formatName.toUpper() == tr("IDTF")) int result = tri::io::ExporterIDTF::Save(m.cm,filename.c_str(),mask); vcg::tri::io::ExporterIDTF::restoreConvertedTextures(m.cm,textures_to_be_restored); return true; ^~~ io_u3d.cpp: In member function 'virtual void U3DIOPlugin::initSaveParameter(const QString&, MeshModel&, RichParameterSet&)': io_u3d.cpp:195:52: warning: unused parameter 'format' [-Wunused-parameter] void U3DIOPlugin::initSaveParameter(const QString &format, MeshModel &m, RichParameterSet &par) ~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_u3d.cpp:28: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_u3d.cpp:28: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o pluginmanager.o ../../common/pluginmanager.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../common/pluginmanager.cpp:4: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from ../../common/pluginmanager.h:30, from ../../common/pluginmanager.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. io_u3d.h -o moc_io_u3d.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_io_u3d.o moc_io_u3d.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from moc_io_u3d.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_u3d.h:31, from moc_io_u3d.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_u3d.h:31, from moc_io_u3d.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_u3d.h:31, from moc_io_u3d.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from moc_io_u3d.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from moc_io_u3d.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from moc_io_u3d.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from moc_io_u3d.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from moc_io_u3d.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from moc_io_u3d.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_u3d.h:31, from moc_io_u3d.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/io_trimesh/export_u3d.h:35, from io_u3d.h:32, from moc_io_u3d.cpp:9: ../../../../vcglib/wrap/io_trimesh/export_idtf.h: In static member function 'static void vcg::tri::io::TGA_Exporter::removeConvertedTexturesFiles(const QStringList&)': ../../../../vcglib/wrap/io_trimesh/export_idtf.h:250:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] for(unsigned int ii = 0;ii < conv_file.size();++ii) ~~~^~~~~~~~~~~~~~~~~~ In file included from io_u3d.h:32, from moc_io_u3d.cpp:9: ../../../../vcglib/wrap/io_trimesh/export_u3d.h: In constructor 'vcg::tri::io::u3dparametersclasses::Movie15Parameters::CameraParameters::CameraParameters()': ../../../../vcglib/wrap/io_trimesh/export_u3d.h:93:10: warning: 'vcg::tri::io::u3dparametersclasses::Movie15Parameters::CameraParameters::_obj_bbox_diag' will be initialized after [-Wreorder] float _obj_bbox_diag; ^~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/export_u3d.h:92:17: warning: 'vcg::Point3f vcg::tri::io::u3dparametersclasses::Movie15Parameters::CameraParameters::_obj_pos' [-Wreorder] vcg::Point3f _obj_pos; ^~~~~~~~ In file included from io_u3d.h:32, from moc_io_u3d.cpp:9: ../../../../vcglib/wrap/io_trimesh/export_u3d.h:67:4: warning: when initialized here [-Wreorder] CameraParameters() ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_u3d.h:31, from moc_io_u3d.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_u3d.h:31, from moc_io_u3d.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_u3d.so g++ -Wl,-z,relro -shared -o libio_u3d.so io_u3d.o pluginmanager.o moc_io_u3d.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_u3d.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_u3d' cd meshlabplugins/io_tri/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_tri' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o io_tri.o io_tri.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from io_tri.cpp:30: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_tri.h:34, from io_tri.cpp:30: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_tri.h:34, from io_tri.cpp:30: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_tri.h:34, from io_tri.cpp:30: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from io_tri.cpp:30: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from io_tri.cpp:30: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from io_tri.cpp:30: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from io_tri.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from io_tri.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from io_tri.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from io_tri.cpp:30: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/io_trimesh/import_asc.h:31, from io_tri.cpp:32: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/export.h:56, from io_tri.cpp:33: ../../../../vcglib/wrap/io_trimesh/export_obj.h: In static member function 'static int vcg::tri::io::ExporterOBJ::Save(SaveMeshType&, const char*, int, bool (*)(int, const char*))': ../../../../vcglib/wrap/io_trimesh/export_obj.h:120:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(m.vn == 0) return E_NOTVEXTEXVALID; ^~ ../../../../vcglib/wrap/io_trimesh/export_obj.h:124:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int current = 0; ^~~ io_tri.cpp: In member function 'virtual bool TriIOPlugin::open(const QString&, const QString&, MeshModel&, int&, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_tri.cpp:51:159: warning: unused parameter 'parent' [-Wunused-parameter] bool TriIOPlugin::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask, const RichParameterSet &parlst, CallBackPos *cb, QWidget *parent) ~~~~~~~~~^~~~~~ io_tri.cpp: In member function 'virtual bool TriIOPlugin::save(const QString&, const QString&, MeshModel&, int, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_tri.cpp:78:39: warning: unused parameter 'formatName' [-Wunused-parameter] bool TriIOPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~^~~~~~~~~~ io_tri.cpp:78:66: warning: unused parameter 'fileName' [-Wunused-parameter] bool TriIOPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~^~~~~~~~ io_tri.cpp:78:87: warning: unused parameter 'm' [-Wunused-parameter] bool TriIOPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~^ io_tri.cpp:78:100: warning: unused parameter 'mask' [-Wunused-parameter] bool TriIOPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~^~~~ io_tri.cpp:78:150: warning: unused parameter 'cb' [-Wunused-parameter] bool TriIOPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~~~~^~ io_tri.cpp:78:163: warning: unused parameter 'parent' [-Wunused-parameter] bool TriIOPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~^~~~~~ io_tri.cpp: In member function 'virtual void TriIOPlugin::GetExportMaskCapability(QString&, int&, int&) const': io_tri.cpp:109:52: warning: unused parameter 'format' [-Wunused-parameter] void TriIOPlugin::GetExportMaskCapability(QString &format, int &capability, int &defaultBits) const ~~~~~~~~~^~~~~~ io_tri.cpp: In function 'bool parseTRI(const string&, CMeshO&)': io_tri.cpp:286:8: warning: unused variable 'ret' [-Wunused-variable] int ret=fread(texCode,sizeof(char),4,fp); ^~~ In file included from io_tri.cpp:32: ../../../../vcglib/wrap/io_trimesh/import_asc.h: In instantiation of 'static int vcg::tri::io::ImporterASC::Open(MESH_TYPE&, const char*, bool (*)(int, const char*), bool, int) [with MESH_TYPE = CMeshO; vcg::CallBackPos = bool(int, const char*)]': io_tri.cpp:66:47: required from here ../../../../vcglib/wrap/io_trimesh/import_asc.h:137:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(i=1;i::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_tri.cpp:28: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from io_tri.cpp:32: ../../../../vcglib/wrap/io_trimesh/import_asc.h: In static member function 'static int vcg::tri::io::ImporterASC::Open(MESH_TYPE&, const char*, bool (*)(int, const char*), bool, int) [with MESH_TYPE = CMeshO]': ../../../../vcglib/wrap/io_trimesh/import_asc.h:109:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,1024,fp); ~~~~~^~~~~~~~~~~~~ io_tri.cpp: In function 'void readbeOne(void*, unsigned int, FILE*)': io_tri.cpp:117:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(array,sz,1,f); ~~~~~^~~~~~~~~~~~~~ io_tri.cpp: In function 'int readHeader(FILE*, bool&, int&, int&)': io_tri.cpp:134:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&byteOrder,sizeof(short),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp:148:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&numPoints,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp:149:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&numFaces,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp:153:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(s,sizeof(char),4,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~ io_tri.cpp: In function 'bool parseTRI(const string&, CMeshO&)': io_tri.cpp:310:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&s,sizeof(float),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp:311:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&t,sizeof(float),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp:313:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&ss,sizeof(short),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp:314:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&ts,sizeof(short),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp: In function 'int readPoint(FILE*, bool, float&, float&, float&)': io_tri.cpp:165:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&x,sizeof(float),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp:166:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&y,sizeof(float),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp:167:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&z,sizeof(float),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp: In function 'int readFace(FILE*, bool, int&, int&, int&)': io_tri.cpp:190:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&p1,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp:191:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&p2,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp:192:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&p3,sizeof(int),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~ io_tri.cpp: At global scope: io_tri.cpp:171:12: warning: 'int readTexel(FILE*, bool, float&, float&)' defined but not used [-Wunused-function] static int readTexel(FILE* fp, bool TRIInverseBytes, float &s, float &t) { ^~~~~~~~~ io_tri.cpp: In member function 'virtual bool TriIOPlugin::open(const QString&, const QString&, MeshModel&, int&, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_tri.cpp:75:9: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] return result; ^~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. io_tri.h -o moc_io_tri.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_io_tri.o moc_io_tri.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from moc_io_tri.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_tri.h:34, from moc_io_tri.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_tri.h:34, from moc_io_tri.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_tri.h:34, from moc_io_tri.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from moc_io_tri.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from moc_io_tri.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from moc_io_tri.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from moc_io_tri.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from moc_io_tri.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from moc_io_tri.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_tri.h:34, from moc_io_tri.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_tri.h:34, from moc_io_tri.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_tri.h:34, from moc_io_tri.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_tri.so g++ -Wl,-z,relro -shared -o libio_tri.so io_tri.o moc_io_tri.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_tri.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_tri' cd meshlabplugins/io_x3d/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_x3d' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o io_x3d.o io_x3d.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from import_x3d.h:81, from io_x3d.cpp:31: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from io_x3d.cpp:31: import_x3d.h: In instantiation of 'static int vcg::tri::io::ImporterX3D::LoadMaskByDom(QDomDocument*, vcg::tri::io::AdditionalInfoX3D*&, QString) [with OpenMeshType = CMeshO]': import_x3d.h:2640:24: required from 'static int vcg::tri::io::ImporterX3D::LoadMask(const char*, vcg::tri::io::AdditionalInfoX3D*&) [with OpenMeshType = CMeshO]' io_x3d.cpp:57:48: required from here import_x3d.h:782:12: warning: variable 'copyTextureFile' set but not used [-Wunused-but-set-variable] bool copyTextureFile = true; ^~~~~~~~~~~~~~~ import_x3d.h: In instantiation of 'static int vcg::tri::io::ImporterX3D::NavigateScene(OpenMeshType&, QDomElement, vcg::Matrix44f, std::map&, std::map&, vcg::tri::io::AdditionalInfoX3D*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44; vcg::CallBackPos = bool(int, const char*)]': import_x3d.h:2663:24: required from 'static int vcg::tri::io::ImporterX3D::Open(OpenMeshType&, const char*, vcg::tri::io::AdditionalInfoX3D*&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' io_x3d.cpp:77:47: required from here import_x3d.h:2504:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if ( i < textureTransformList.size()) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_x3d.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_x3d.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from import_x3d.h:82, from io_x3d.cpp:31: ../../../../vcglib/wrap/gl/glu_tesselator.h: In instantiation of 'static void vcg::glu_tesselator::do_tesselation(const std::vector >&, vcg::glu_tesselator::tess_prim_data_vec&) [with point_type = vcg::Point3; vcg::glu_tesselator::tess_prim_data_vec = std::vector]': ../../../../vcglib/wrap/gl/glu_tesselator.h:115:29: required from 'static void vcg::glu_tesselator::tesselate(const std::vector >&, std::vector&) [with point_type = vcg::Point3]' import_x3d.h:1166:50: required from 'static int vcg::tri::io::ImporterX3D::LoadSet(QDomElement, OpenMeshType&, vcg::Matrix44f, const vcg::tri::io::TextureInfo&, const QStringList&, const QStringList&, const QStringList&, int, vcg::tri::io::AdditionalInfoX3D*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44; vcg::CallBackPos = bool(int, const char*)]' import_x3d.h:2558:22: required from 'static int vcg::tri::io::ImporterX3D::NavigateScene(OpenMeshType&, QDomElement, vcg::Matrix44f, std::map&, std::map&, vcg::tri::io::AdditionalInfoX3D*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44; vcg::CallBackPos = bool(int, const char*)]' import_x3d.h:2663:24: required from 'static int vcg::tri::io::ImporterX3D::Open(OpenMeshType&, const char*, vcg::tri::io::AdditionalInfoX3D*&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' io_x3d.cpp:77:47: required from here ../../../../vcglib/wrap/gl/glu_tesselator.h:221:48: warning: cast between incompatible function types from 'void (*)(GLenum, void*)' {aka 'void (*)(unsigned int, void*)'} to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_BEGIN_DATA, (GLvoid (CALLBACK *)())(this_type::begin_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:222:48: warning: cast between incompatible function types from 'void (*)(void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_END_DATA, (GLvoid (CALLBACK *)())(this_type::end_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:223:48: warning: cast between incompatible function types from 'void (*)(void*, void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_VERTEX_DATA, (GLvoid (CALLBACK *)())(this_type::vertex_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:237:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gluTessVertex(tess, vertex, (void *)k); ^~~~~~~~~ In file included from ../../../../vcglib/vcg/math/matrix33.h:25, from ../../../../vcglib/vcg/math/quaternion.h:113, from ../../../../vcglib/vcg/math/similarity.h:98, from ../../../../vcglib/vcg/math/shot.h:132, from ../../common/filterparameter.h:35, from ../../common/interfaces.h:35, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/math/deprecated_matrix33.h: In static member function 'static void vcg::tri::io::ImporterX3D::getNormal(const QStringList&, int, vcg::Point3f&, const Matrix44f&) [with OpenMeshType = CMeshO]': ../../../../vcglib/vcg/math/deprecated_matrix33.h:345:32: warning: 'intr33.vcg::Matrix33::a[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] t[0] = a[0]*v[0] + a[1]*v[1] + a[2]*v[2]; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from io_x3d.cpp:31: import_x3d.h:2258:15: note: 'intr33.vcg::Matrix33::a[2]' was declared here Matrix33f intr33; ^~~~~~ In file included from ../../../../vcglib/vcg/math/matrix33.h:25, from ../../../../vcglib/vcg/math/quaternion.h:113, from ../../../../vcglib/vcg/math/similarity.h:98, from ../../../../vcglib/vcg/math/shot.h:132, from ../../common/filterparameter.h:35, from ../../common/interfaces.h:35, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/math/deprecated_matrix33.h:346:32: warning: 'intr33.vcg::Matrix33::a[5]' may be used uninitialized in this function [-Wmaybe-uninitialized] t[1] = a[3]*v[0] + a[4]*v[1] + a[5]*v[2]; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from io_x3d.cpp:31: import_x3d.h:2258:15: note: 'intr33.vcg::Matrix33::a[5]' was declared here Matrix33f intr33; ^~~~~~ In file included from ../../../../vcglib/vcg/math/matrix33.h:25, from ../../../../vcglib/vcg/math/quaternion.h:113, from ../../../../vcglib/vcg/math/similarity.h:98, from ../../../../vcglib/vcg/math/shot.h:132, from ../../common/filterparameter.h:35, from ../../common/interfaces.h:35, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/math/deprecated_matrix33.h:347:26: warning: 'intr33.vcg::Matrix33::a[7]' may be used uninitialized in this function [-Wmaybe-uninitialized] t[2] = a[6]*v[0] + a[7]*v[1] + a[8]*v[2]; ~~~~^~~ In file included from io_x3d.cpp:31: import_x3d.h:2258:15: note: 'intr33.vcg::Matrix33::a[7]' was declared here Matrix33f intr33; ^~~~~~ In file included from ../../../../vcglib/vcg/math/matrix33.h:25, from ../../../../vcglib/vcg/math/quaternion.h:113, from ../../../../vcglib/vcg/math/similarity.h:98, from ../../../../vcglib/vcg/math/shot.h:132, from ../../common/filterparameter.h:35, from ../../common/interfaces.h:35, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/math/deprecated_matrix33.h:347:20: warning: 'intr33.vcg::Matrix33::a[6]' may be used uninitialized in this function [-Wmaybe-uninitialized] t[2] = a[6]*v[0] + a[7]*v[1] + a[8]*v[2]; ~~~~~~~~~~^~~~~~~~~ In file included from io_x3d.cpp:31: import_x3d.h:2258:15: note: 'intr33.vcg::Matrix33::a[6]' was declared here Matrix33f intr33; ^~~~~~ In file included from ../../../../vcglib/vcg/math/matrix33.h:25, from ../../../../vcglib/vcg/math/quaternion.h:113, from ../../../../vcglib/vcg/math/similarity.h:98, from ../../../../vcglib/vcg/math/shot.h:132, from ../../common/filterparameter.h:35, from ../../common/interfaces.h:35, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/math/deprecated_matrix33.h:347:32: warning: 'intr33.vcg::Matrix33::a[8]' may be used uninitialized in this function [-Wmaybe-uninitialized] t[2] = a[6]*v[0] + a[7]*v[1] + a[8]*v[2]; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from io_x3d.cpp:31: import_x3d.h:2258:15: note: 'intr33.vcg::Matrix33::a[8]' was declared here Matrix33f intr33; ^~~~~~ In file included from ../../../../vcglib/vcg/simplex/vertex/base.h:72, from ../../common/meshmodel.h:31, from ../../common/interfaces.h:37, from io_x3d.h:37, from io_x3d.cpp:29: ../../../../vcglib/vcg/space/texcoord2.h: In static member function 'static int vcg::tri::io::ImporterX3D::LoadPointSet(QDomElement, OpenMeshType&, vcg::Matrix44f, const QStringList&, const QStringList&, int, vcg::tri::io::AdditionalInfoX3D*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO]': ../../../../vcglib/vcg/space/texcoord2.h:40:7: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] class TexCoord2 ^~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o Parser.o vrml/Parser.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o Scanner.o vrml/Scanner.cpp vrml/Scanner.cpp: In member function 'bool VrmlTranslator::Scanner::Comment0()': vrml/Scanner.cpp:606:17: warning: unused variable 'pos0' [-Wunused-variable] int level = 1, pos0 = pos, line0 = line, col0 = col; ^~~~ vrml/Scanner.cpp:606:43: warning: unused variable 'col0' [-Wunused-variable] int level = 1, pos0 = pos, line0 = line, col0 = col; ^~~~ vrml/Scanner.cpp: In member function 'VrmlTranslator::Token* VrmlTranslator::Scanner::NextToken()': vrml/Scanner.cpp:680:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:680:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:680:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:680:70: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:680:100: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:680:114: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:680:130: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:680:144: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:684:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:684:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:684:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:684:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:684:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:684:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:688:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:688:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:688:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:688:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:688:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:688:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ vrml/Scanner.cpp:692:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ vrml/Scanner.cpp:692:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ vrml/Scanner.cpp:696:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ vrml/Scanner.cpp:696:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ vrml/Scanner.cpp:701:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ vrml/Scanner.cpp:701:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ vrml/Scanner.cpp:706:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ vrml/Scanner.cpp:706:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ vrml/Scanner.cpp:710:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ vrml/Scanner.cpp:710:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ vrml/Scanner.cpp:714:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_9;} ~~~^~~~~~~ vrml/Scanner.cpp:714:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_9;} ~~~^~~~~~~ vrml/Scanner.cpp:719:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ vrml/Scanner.cpp:719:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ vrml/Scanner.cpp:724:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ vrml/Scanner.cpp:724:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ vrml/Scanner.cpp:728:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ vrml/Scanner.cpp:728:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ vrml/Scanner.cpp:732:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ vrml/Scanner.cpp:732:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ vrml/Scanner.cpp:737:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ vrml/Scanner.cpp:737:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ vrml/Scanner.cpp:741:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ vrml/Scanner.cpp:741:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ vrml/Scanner.cpp:745:11: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:745:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:745:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:745:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:751:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ vrml/Scanner.cpp:751:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ vrml/Scanner.cpp:751:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ vrml/Scanner.cpp:751:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ vrml/Scanner.cpp:751:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ vrml/Scanner.cpp:751:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ vrml/Scanner.cpp:755:11: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:755:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:755:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:755:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:755:70: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:755:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:755:100: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:755:116: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:755:130: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:755:146: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:756:17: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ vrml/Scanner.cpp:756:31: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ vrml/Scanner.cpp:756:47: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ vrml/Scanner.cpp:756:61: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ vrml/Scanner.cpp:756:77: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ vrml/Scanner.cpp:756:91: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ vrml/Scanner.cpp:762:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ vrml/Scanner.cpp:762:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ vrml/Scanner.cpp:762:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ vrml/Scanner.cpp:762:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ vrml/Scanner.cpp:762:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ vrml/Scanner.cpp:762:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ vrml/Scanner.cpp:766:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ vrml/Scanner.cpp:766:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ vrml/Scanner.cpp:766:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ vrml/Scanner.cpp:766:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ vrml/Scanner.cpp:766:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ vrml/Scanner.cpp:766:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ vrml/Scanner.cpp:770:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ vrml/Scanner.cpp:770:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ vrml/Scanner.cpp:770:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ vrml/Scanner.cpp:770:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ vrml/Scanner.cpp:770:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ vrml/Scanner.cpp:770:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ vrml/Scanner.cpp:774:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:774:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:774:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:774:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:774:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:774:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:778:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ vrml/Scanner.cpp:778:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ vrml/Scanner.cpp:778:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ vrml/Scanner.cpp:778:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ vrml/Scanner.cpp:778:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ vrml/Scanner.cpp:778:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ vrml/Scanner.cpp:782:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ vrml/Scanner.cpp:782:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ vrml/Scanner.cpp:782:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ vrml/Scanner.cpp:782:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ vrml/Scanner.cpp:782:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ vrml/Scanner.cpp:782:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ vrml/Scanner.cpp:786:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ vrml/Scanner.cpp:786:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ vrml/Scanner.cpp:786:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ vrml/Scanner.cpp:786:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ vrml/Scanner.cpp:786:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ vrml/Scanner.cpp:786:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ vrml/Scanner.cpp:790:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ vrml/Scanner.cpp:790:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ vrml/Scanner.cpp:790:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ vrml/Scanner.cpp:790:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ vrml/Scanner.cpp:790:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ vrml/Scanner.cpp:790:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ vrml/Scanner.cpp:794:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ vrml/Scanner.cpp:794:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ vrml/Scanner.cpp:794:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ vrml/Scanner.cpp:794:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ vrml/Scanner.cpp:794:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ vrml/Scanner.cpp:794:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ vrml/Scanner.cpp:798:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ vrml/Scanner.cpp:798:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ vrml/Scanner.cpp:798:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ vrml/Scanner.cpp:798:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ vrml/Scanner.cpp:798:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ vrml/Scanner.cpp:798:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ vrml/Scanner.cpp:802:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ vrml/Scanner.cpp:802:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ vrml/Scanner.cpp:802:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ vrml/Scanner.cpp:802:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ vrml/Scanner.cpp:802:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ vrml/Scanner.cpp:802:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ vrml/Scanner.cpp:806:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:806:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:806:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:806:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:806:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:806:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:823:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ vrml/Scanner.cpp:823:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ vrml/Scanner.cpp:829:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ vrml/Scanner.cpp:829:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ vrml/Scanner.cpp:835:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'1' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ vrml/Scanner.cpp:835:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'1' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ vrml/Scanner.cpp:840:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:840:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:840:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:840:70: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:840:100: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:840:114: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:840:130: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:840:144: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:840:160: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:840:174: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:846:64: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'"' || ch == 39 || ch == L'0' || ch == 92 || (ch >= L'a' && ch <= L'b') || ch == L'f' || ch == L'n' || ch == L'r' || ch == L't' || ch == L'v') {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:846:78: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'"' || ch == 39 || ch == L'0' || ch == 92 || (ch >= L'a' && ch <= L'b') || ch == L'f' || ch == L'n' || ch == L'r' || ch == L't' || ch == L'v') {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:853:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ vrml/Scanner.cpp:853:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ vrml/Scanner.cpp:853:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ vrml/Scanner.cpp:853:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ vrml/Scanner.cpp:853:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ vrml/Scanner.cpp:853:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ vrml/Scanner.cpp:854:16: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:854:31: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:854:45: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:854:61: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:854:75: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:854:91: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:854:105: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:854:121: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:854:135: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:854:151: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:860:11: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:860:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:860:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:860:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ vrml/Scanner.cpp:866:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:866:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:866:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:866:70: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:866:100: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:866:114: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:866:130: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:866:144: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:871:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:871:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:871:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:871:70: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:871:100: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:871:114: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:871:130: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:871:144: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ vrml/Scanner.cpp:876:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'2')) {AddCh(); goto case_32;} ~~~^~~~~~~ vrml/Scanner.cpp:876:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'2')) {AddCh(); goto case_32;} ~~~^~~~~~~ vrml/Scanner.cpp:891:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ vrml/Scanner.cpp:891:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. io_x3d.h -o moc_io_x3d.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_io_x3d.o moc_io_x3d.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from moc_io_x3d.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_x3d.h:37, from moc_io_x3d.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_x3d.h:37, from moc_io_x3d.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_x3d.h:37, from moc_io_x3d.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from moc_io_x3d.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from moc_io_x3d.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from moc_io_x3d.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from moc_io_x3d.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from moc_io_x3d.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from moc_io_x3d.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_x3d.h:37, from moc_io_x3d.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_x3d.h:37, from moc_io_x3d.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_x3d.h:37, from moc_io_x3d.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_x3d.so g++ -Wl,-z,relro -shared -o libio_x3d.so io_x3d.o Parser.o Scanner.o moc_io_x3d.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_x3d.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_x3d' cd meshlabplugins/io_gts/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_gts' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o io_gts.o io_gts.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from io_gts.cpp:27: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_gts.h:29, from io_gts.cpp:27: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_gts.h:29, from io_gts.cpp:27: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_gts.h:29, from io_gts.cpp:27: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from io_gts.cpp:27: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from io_gts.cpp:27: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from io_gts.cpp:27: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from io_gts.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from io_gts.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from io_gts.cpp:27: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from io_gts.cpp:27: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/io_trimesh/export.h:56, from io_gts.cpp:29: ../../../../vcglib/wrap/io_trimesh/export_obj.h: In static member function 'static int vcg::tri::io::ExporterOBJ::Save(SaveMeshType&, const char*, int, bool (*)(int, const char*))': ../../../../vcglib/wrap/io_trimesh/export_obj.h:120:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(m.vn == 0) return E_NOTVEXTEXVALID; ^~ ../../../../vcglib/wrap/io_trimesh/export_obj.h:124:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int current = 0; ^~~ In file included from io_gts.cpp:32: ../../../../vcglib/wrap/io_trimesh/import_gts.h: In static member function 'static int vcg::tri::io::ImporterGTS::Open(MESH_TYPE&, const char*, int&, const vcg::tri::io::ImporterGTS::Options&, bool (*)(int, const char*))': ../../../../vcglib/wrap/io_trimesh/import_gts.h:188:21: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!sa.size()>=3) ^~ ../../../../vcglib/wrap/io_trimesh/import_gts.h:188:11: note: add parentheses around left hand side expression to silence this warning if (!sa.size()>=3) ^~~~~~~~~~ ( ) ../../../../vcglib/wrap/io_trimesh/import_gts.h:188:21: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] if (!sa.size()>=3) ~~~~~~~~~~^~~ ../../../../vcglib/wrap/io_trimesh/import_gts.h:216:21: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!sa.size()>=2) ^~ ../../../../vcglib/wrap/io_trimesh/import_gts.h:216:11: note: add parentheses around left hand side expression to silence this warning if (!sa.size()>=2) ^~~~~~~~~~ ( ) ../../../../vcglib/wrap/io_trimesh/import_gts.h:216:21: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] if (!sa.size()>=2) ~~~~~~~~~~^~~ ../../../../vcglib/wrap/io_trimesh/import_gts.h:241:21: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!sa.size()>=3) ^~ ../../../../vcglib/wrap/io_trimesh/import_gts.h:241:11: note: add parentheses around left hand side expression to silence this warning if (!sa.size()>=3) ^~~~~~~~~~ ( ) ../../../../vcglib/wrap/io_trimesh/import_gts.h:241:21: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] if (!sa.size()>=3) ~~~~~~~~~~^~~ io_gts.cpp: In member function 'virtual bool GtsIOPlugin::open(const QString&, const QString&, MeshModel&, int&, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_gts.cpp:49:125: warning: unused parameter 'parlst' [-Wunused-parameter] bool GtsIOPlugin::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask, const RichParameterSet &parlst, CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ io_gts.cpp: In member function 'virtual bool GtsIOPlugin::save(const QString&, const QString&, MeshModel&, int, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_gts.cpp:97:150: warning: unused parameter 'cb' [-Wunused-parameter] bool GtsIOPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~~~~^~ In file included from io_gts.cpp:32: ../../../../vcglib/wrap/io_trimesh/import_gts.h: In instantiation of 'static int vcg::tri::io::ImporterGTS::Open(MESH_TYPE&, const char*, int&, const vcg::tri::io::ImporterGTS::Options&, bool (*)(int, const char*)) [with MESH_TYPE = CMeshO; vcg::CallBackPos = bool(int, const char*)]': io_gts.cpp:74:93: required from here ../../../../vcglib/wrap/io_trimesh/import_gts.h:188:21: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] if (!sa.size()>=3) ~~~~~~~~~~^~~ ../../../../vcglib/wrap/io_trimesh/import_gts.h:216:21: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] if (!sa.size()>=2) ~~~~~~~~~~^~~ ../../../../vcglib/wrap/io_trimesh/import_gts.h:241:21: warning: comparison of constant '3' with boolean expression is always false [-Wbool-compare] if (!sa.size()>=3) ~~~~~~~~~~^~~ ../../../../vcglib/wrap/io_trimesh/import_gts.h:145:22: warning: variable 'eid2' set but not used [-Wunused-but-set-variable] int eid0, eid1, eid2; ^~~~ In file included from io_gts.cpp:33: ../../../../vcglib/wrap/io_trimesh/export_gts.h: In instantiation of 'static int vcg::tri::io::ExporterGTS::Save(SaveMeshType&, const char*, int) [with SaveMeshType = CMeshO]': io_gts.cpp:105:51: required from here ../../../../vcglib/wrap/io_trimesh/export_gts.h:56:65: warning: unused parameter 'mask' [-Wunused-parameter] static int Save(SaveMeshType &m, const char * filename, int mask=0 ) ~~~~^~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_gts.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_gts.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. io_gts.h -o moc_io_gts.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_io_gts.o moc_io_gts.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from moc_io_gts.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_gts.h:29, from moc_io_gts.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_gts.h:29, from moc_io_gts.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_gts.h:29, from moc_io_gts.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from moc_io_gts.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from moc_io_gts.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from moc_io_gts.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from moc_io_gts.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from moc_io_gts.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from moc_io_gts.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_gts.h:29, from moc_io_gts.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_gts.h:29, from moc_io_gts.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_gts.h:29, from moc_io_gts.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_gts.so g++ -Wl,-z,relro -shared -o libio_gts.so io_gts.o moc_io_gts.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_gts.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_gts' cd meshlabplugins/io_expe/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_expe' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o io_expe.o io_expe.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from io_expe.cpp:27: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_expe.h:29, from io_expe.cpp:27: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_expe.h:29, from io_expe.cpp:27: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_expe.h:29, from io_expe.cpp:27: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from io_expe.cpp:27: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from io_expe.cpp:27: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from io_expe.cpp:27: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from io_expe.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from io_expe.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from io_expe.cpp:27: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from io_expe.cpp:27: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/io_trimesh/export.h:56, from io_expe.cpp:29: ../../../../vcglib/wrap/io_trimesh/export_obj.h: In static member function 'static int vcg::tri::io::ExporterOBJ::Save(SaveMeshType&, const char*, int, bool (*)(int, const char*))': ../../../../vcglib/wrap/io_trimesh/export_obj.h:120:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(m.vn == 0) return E_NOTVEXTEXVALID; ^~ ../../../../vcglib/wrap/io_trimesh/export_obj.h:124:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int current = 0; ^~~ io_expe.cpp: In member function 'virtual bool ExpeIOPlugin::open(const QString&, const QString&, MeshModel&, int&, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_expe.cpp:57:7: warning: unused variable 'normalsUpdated' [-Wunused-variable] bool normalsUpdated = false; ^~~~~~~~~~~~~~ io_expe.cpp:44:126: warning: unused parameter 'parlst' [-Wunused-parameter] bool ExpeIOPlugin::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask, const RichParameterSet &parlst, CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ io_expe.cpp: In member function 'virtual bool ExpeIOPlugin::save(const QString&, const QString&, MeshModel&, int, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_expe.cpp:102:151: warning: unused parameter 'cb' [-Wunused-parameter] bool ExpeIOPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~~~~^~ In file included from io_expe.cpp:32: import_expe.h: In instantiation of 'static int vcg::tri::io::ImporterExpePTS::Open(MESH_TYPE&, const char*, int&, const vcg::tri::io::ImporterExpePTS::Options&, bool (*)(int, const char*)) [with MESH_TYPE = CMeshO; vcg::CallBackPos = bool(int, const char*)]': import_expe.h:159:15: required from 'static int vcg::tri::io::ImporterExpePTS::Open(MESH_TYPE&, const char*, int&, bool (*)(int, const char*), bool) [with MESH_TYPE = CMeshO; vcg::CallBackPos = bool(int, const char*)]' io_expe.cpp:68:92: required from here import_expe.h:163:41: warning: unused parameter 'cb' [-Wunused-parameter] const Options& options, CallBackPos *cb=0) ~~~~~~~~~~~~~^~~~ In file included from io_expe.cpp:33: import_xyz.h: In instantiation of 'static int vcg::tri::io::ImporterXYZ::Open(MESH_TYPE&, const char*, int&, const vcg::tri::io::ImporterXYZ::Options&, bool (*)(int, const char*)) [with MESH_TYPE = CMeshO; vcg::CallBackPos = bool(int, const char*)]': import_xyz.h:137:15: required from 'static int vcg::tri::io::ImporterXYZ::Open(MESH_TYPE&, const char*, int&, bool (*)(int, const char*), bool) [with MESH_TYPE = CMeshO; vcg::CallBackPos = bool(int, const char*)]' io_expe.cpp:85:90: required from here import_xyz.h:214:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for (int i=0; i::parse_vector(const QString&, VectorType&) [with VectorType = std::vector >; MESH_TYPE = CMeshO]': import_expe.h:310:26: required from 'static int vcg::tri::io::ImporterExpePTS::appendAsciiData(MESH_TYPE&, uint, const FileProperties&, QIODevice&) [with MESH_TYPE = CMeshO; uint = unsigned int; vcg::tri::io::ImporterExpePTS::FileProperties = std::vector::FileProperty, std::allocator::FileProperty> >]' import_expe.h:270:27: required from 'static int vcg::tri::io::ImporterExpePTS::Open(MESH_TYPE&, const char*, int&, const vcg::tri::io::ImporterExpePTS::Options&, bool (*)(int, const char*)) [with MESH_TYPE = CMeshO; vcg::CallBackPos = bool(int, const char*)]' import_expe.h:159:15: required from 'static int vcg::tri::io::ImporterExpePTS::Open(MESH_TYPE&, const char*, int&, bool (*)(int, const char*), bool) [with MESH_TYPE = CMeshO; vcg::CallBackPos = bool(int, const char*)]' io_expe.cpp:68:92: required from here import_expe.h:286:21: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] for (uint k=0 ; k::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_expe.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from io_expe.cpp:32: import_expe.h: At global scope: import_expe.h:49:21: warning: 'vcg::tri::io::Header_EPSA02' defined but not used [-Wunused-variable] static const char * Header_EPSA02 = "[Expe/PointSet/Ascii/0.2]"; ^~~~~~~~~~~~~ import_expe.h:48:21: warning: 'vcg::tri::io::Header_EPSB02' defined but not used [-Wunused-variable] static const char * Header_EPSB02 = "[Expe/PointSet/Binary/0.2]"; ^~~~~~~~~~~~~ import_expe.h:47:21: warning: 'vcg::tri::io::Header_EPSB01' defined but not used [-Wunused-variable] static const char * Header_EPSB01 = "[Expe/PointSet/Binary/0.1]"; ^~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. io_expe.h -o moc_io_expe.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_io_expe.o moc_io_expe.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from moc_io_expe.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_expe.h:29, from moc_io_expe.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_expe.h:29, from moc_io_expe.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_expe.h:29, from moc_io_expe.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from moc_io_expe.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from moc_io_expe.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from moc_io_expe.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from moc_io_expe.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from moc_io_expe.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from moc_io_expe.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_expe.h:29, from moc_io_expe.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_expe.h:29, from moc_io_expe.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_expe.h:29, from moc_io_expe.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_expe.so g++ -Wl,-z,relro -shared -o libio_expe.so io_expe.o moc_io_expe.o -L/usr/X11R6/lib -L/usr/lib/aarch64-linux-gnu -L../../distrib -lcommon -lGLEW -lGL -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lpthread mv -f libio_expe.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_expe' cd meshlabplugins/io_pdb/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_pdb' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o io_pdb.o io_pdb.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from io_pdb.cpp:27: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_pdb.h:28, from io_pdb.cpp:27: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_pdb.h:28, from io_pdb.cpp:27: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_pdb.h:28, from io_pdb.cpp:27: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from io_pdb.cpp:27: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from io_pdb.cpp:27: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from io_pdb.cpp:27: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from io_pdb.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from io_pdb.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from io_pdb.cpp:27: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from io_pdb.cpp:27: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/io_trimesh/import_ply.h:31, from io_pdb.cpp:29: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/export.h:56, from io_pdb.cpp:32: ../../../../vcglib/wrap/io_trimesh/export_obj.h: In static member function 'static int vcg::tri::io::ExporterOBJ::Save(SaveMeshType&, const char*, int, bool (*)(int, const char*))': ../../../../vcglib/wrap/io_trimesh/export_obj.h:120:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(m.vn == 0) return E_NOTVEXTEXVALID; ^~ ../../../../vcglib/wrap/io_trimesh/export_obj.h:124:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' int current = 0; ^~~ io_pdb.cpp: In member function 'virtual bool PDBIOPlugin::open(const QString&, const QString&, MeshModel&, int&, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_pdb.cpp:73:7: warning: unused variable 'normalsUpdated' [-Wunused-variable] bool normalsUpdated = false; ^~~~~~~~~~~~~~ io_pdb.cpp: In member function 'virtual bool PDBIOPlugin::save(const QString&, const QString&, MeshModel&, int, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_pdb.cpp:138:39: warning: unused parameter 'formatName' [-Wunused-parameter] bool PDBIOPlugin::save(const QString &formatName,const QString &fileName, MeshModel &m, const int mask, const RichParameterSet & par, CallBackPos *cb, QWidget */*parent*/) ~~~~~~~~~~~~~~~^~~~~~~~~~ io_pdb.cpp:138:65: warning: unused parameter 'fileName' [-Wunused-parameter] bool PDBIOPlugin::save(const QString &formatName,const QString &fileName, MeshModel &m, const int mask, const RichParameterSet & par, CallBackPos *cb, QWidget */*parent*/) ~~~~~~~~~~~~~~~^~~~~~~~ io_pdb.cpp:138:86: warning: unused parameter 'm' [-Wunused-parameter] bool PDBIOPlugin::save(const QString &formatName,const QString &fileName, MeshModel &m, const int mask, const RichParameterSet & par, CallBackPos *cb, QWidget */*parent*/) ~~~~~~~~~~~^ io_pdb.cpp:138:99: warning: unused parameter 'mask' [-Wunused-parameter] bool PDBIOPlugin::save(const QString &formatName,const QString &fileName, MeshModel &m, const int mask, const RichParameterSet & par, CallBackPos *cb, QWidget */*parent*/) ~~~~~~~~~~^~~~ io_pdb.cpp:138:130: warning: unused parameter 'par' [-Wunused-parameter] bool PDBIOPlugin::save(const QString &formatName,const QString &fileName, MeshModel &m, const int mask, const RichParameterSet & par, CallBackPos *cb, QWidget */*parent*/) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ io_pdb.cpp:138:148: warning: unused parameter 'cb' [-Wunused-parameter] bool PDBIOPlugin::save(const QString &formatName,const QString &fileName, MeshModel &m, const int mask, const RichParameterSet & par, CallBackPos *cb, QWidget */*parent*/) ~~~~~~~~~~~~~^~ io_pdb.cpp: In member function 'virtual void PDBIOPlugin::GetExportMaskCapability(QString&, int&, int&) const': io_pdb.cpp:170:52: warning: unused parameter 'format' [-Wunused-parameter] void PDBIOPlugin::GetExportMaskCapability(QString &format, int &capability, int &defaultBits) const ~~~~~~~~~^~~~~~ io_pdb.cpp: In member function 'virtual void PDBIOPlugin::initOpenParameter(const QString&, MeshModel&, RichParameterSet&)': io_pdb.cpp:176:52: warning: unused parameter 'format' [-Wunused-parameter] void PDBIOPlugin::initOpenParameter(const QString &format, MeshModel &/*m*/, RichParameterSet &par) ~~~~~~~~~~~~~~~^~~~~~ io_pdb.cpp:176:96: warning: unused parameter 'par' [-Wunused-parameter] void PDBIOPlugin::initOpenParameter(const QString &format, MeshModel &/*m*/, RichParameterSet &par) ~~~~~~~~~~~~~~~~~~^~~ io_pdb.cpp: In member function 'virtual void PDBIOPlugin::initSaveParameter(const QString&, MeshModel&, RichParameterSet&)': io_pdb.cpp:184:52: warning: unused parameter 'format' [-Wunused-parameter] void PDBIOPlugin::initSaveParameter(const QString &format, MeshModel &/*m*/, RichParameterSet &par) ~~~~~~~~~~~~~~~^~~~~~ io_pdb.cpp:184:96: warning: unused parameter 'par' [-Wunused-parameter] void PDBIOPlugin::initSaveParameter(const QString &format, MeshModel &/*m*/, RichParameterSet &par) ~~~~~~~~~~~~~~~~~~^~~ io_pdb.cpp: In member function 'virtual void PDBIOPlugin::applyOpenParameter(const QString&, MeshModel&, const RichParameterSet&)': io_pdb.cpp:192:53: warning: unused parameter 'format' [-Wunused-parameter] void PDBIOPlugin::applyOpenParameter(const QString &format, MeshModel &m, const RichParameterSet &par) ~~~~~~~~~~~~~~~^~~~~~ io_pdb.cpp:192:72: warning: unused parameter 'm' [-Wunused-parameter] void PDBIOPlugin::applyOpenParameter(const QString &format, MeshModel &m, const RichParameterSet &par) ~~~~~~~~~~~^ io_pdb.cpp:192:99: warning: unused parameter 'par' [-Wunused-parameter] void PDBIOPlugin::applyOpenParameter(const QString &format, MeshModel &m, const RichParameterSet &par) ~~~~~~~~~~~~~~~~~~~~~~~~^~~ io_pdb.cpp: In member function 'bool PDBIOPlugin::parsePDB(const string&, CMeshO&, const RichParameterSet&, bool (*)(int, const char*))': io_pdb.cpp:243:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(atomIndex=0; atomIndex5.0f) ) ^~ io_pdb.cpp:481:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' m.vert[vind].C().X() = rr/ww; ^ io_pdb.cpp: In member function 'void PDBIOPlugin::mysscanf(const char*, const char*, float*)': io_pdb.cpp:512:56: warning: unused parameter 'format' [-Wunused-parameter] void PDBIOPlugin::mysscanf(const char* st, const char* format, float *f) ~~~~~~~~~~~~^~~~~~ io_pdb.cpp: In member function 'vcg::Color4b PDBIOPlugin::getAtomColor(const char*)': io_pdb.cpp:680:10: warning: unused variable 'last' [-Wunused-variable] size_t last=std::min(atomicElement.length(),atomicElement.find_first_of(' ')); ^~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_pdb.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_pdb.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o plylib.o ../../../../vcglib/wrap/ply/plylib.cpp ../../../../vcglib/wrap/ply/plylib.cpp: In function 'void vcg::ply::interpret_texture_name(const char*, const char*, char*)': ../../../../vcglib/wrap/ply/plylib.cpp:3666:14: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(output,"%s%s",output,fn2); ^~~~~~ ~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. io_pdb.h -o moc_io_pdb.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_io_pdb.o moc_io_pdb.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from moc_io_pdb.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_pdb.h:28, from moc_io_pdb.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_pdb.h:28, from moc_io_pdb.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_pdb.h:28, from moc_io_pdb.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from moc_io_pdb.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from moc_io_pdb.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from moc_io_pdb.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from moc_io_pdb.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from moc_io_pdb.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from moc_io_pdb.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_pdb.h:28, from moc_io_pdb.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_pdb.h:28, from moc_io_pdb.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_pdb.h:28, from moc_io_pdb.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_pdb.so g++ -Wl,-z,relro -shared -o libio_pdb.so io_pdb.o plylib.o moc_io_pdb.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_pdb.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_pdb' cd meshlabplugins/filter_aging/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_aging' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_aging.o filter_aging.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from filter_aging.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_aging.h:28, from filter_aging.cpp:25: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_aging.h:28, from filter_aging.cpp:25: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_aging.h:28, from filter_aging.cpp:25: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from filter_aging.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from filter_aging.cpp:25: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from filter_aging.cpp:25: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from filter_aging.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from filter_aging.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from filter_aging.cpp:25: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from filter_aging.cpp:25: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/vcg/complex/algorithms/update/curvature.h:66, from filter_aging.cpp:28: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilar(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:797:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:805:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilarDual(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:814:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:837:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/curvature.h:68, from filter_aging.cpp:28: ../../../../vcglib/vcg/complex/algorithms/intersection.h: In function 'bool vcg::Intersection(vcg::Plane3, IndexingType*, std::vector&)': ../../../../vcglib/vcg/complex/algorithms/intersection.h:209:46: warning: typedef 'FaceContainer' locally defined but not used [-Wunused-local-typedefs] typedef typename TriMeshType::FaceContainer FaceContainer; ^~~~~~~~~~~~~ In file included from filter_aging.cpp:30: ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexQualityLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:649:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:661:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexNormalLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:705:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:717:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexCoordViewDepth(vcg::tri::Smooth::MeshType&, const CoordType&, vcg::tri::Smooth::ScalarType, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:766:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:778:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_aging.h:28, from filter_aging.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_aging.h:28, from filter_aging.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_aging.h -o moc_filter_aging.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_aging.o moc_filter_aging.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from moc_filter_aging.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_aging.h:28, from moc_filter_aging.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_aging.h:28, from moc_filter_aging.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_aging.h:28, from moc_filter_aging.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from moc_filter_aging.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from moc_filter_aging.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from moc_filter_aging.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from moc_filter_aging.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from moc_filter_aging.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from moc_filter_aging.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_aging.h:28, from moc_filter_aging.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_aging.h:28, from moc_filter_aging.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_aging.h:28, from moc_filter_aging.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_aging.so g++ -Wl,-z,relro -shared -o libfilter_aging.so filter_aging.o moc_filter_aging.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_aging.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_aging' cd meshlabplugins/filter_ao/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ao' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_ao.o filter_ao.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from filter_ao.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_ao.h:29, from filter_ao.cpp:25: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_ao.h:29, from filter_ao.cpp:25: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_ao.h:29, from filter_ao.cpp:25: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from filter_ao.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from filter_ao.cpp:25: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from filter_ao.cpp:25: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from filter_ao.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from filter_ao.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from filter_ao.cpp:25: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from filter_ao.cpp:25: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ filter_ao.cpp: In member function 'virtual void AmbientOcclusionPlugin::initParameterSet(QAction*, MeshModel&, RichParameterSet&)': filter_ao.cpp:98:75: warning: unused parameter 'm' [-Wunused-parameter] void AmbientOcclusionPlugin::initParameterSet(QAction *action, MeshModel &m, RichParameterSet &parlst) ~~~~~~~~~~~^ filter_ao.cpp: In member function 'virtual bool AmbientOcclusionPlugin::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_ao.cpp:174:17: warning: unused variable 'errname' [-Wunused-variable] const GLubyte* errname = gluErrorString(err); ^~~~~~~ filter_ao.cpp: In member function 'bool AmbientOcclusionPlugin::processGL(MeshModel&, std::vector, std::allocator > >&)': filter_ao.cpp:203:16: warning: format '%i' expects argument of type 'int', but argument 2 has type 'std::vector >::size_type' {aka 'long unsigned int'} [-Wformat=] qDebug("Now mesh has %i attrib",AllVertexAttribName.size()); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ filter_ao.cpp: In member function 'void AmbientOcclusionPlugin::initGL(bool (*)(int, const char*), unsigned int)': filter_ao.cpp:437:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] set_shaders(":/AmbientOcclusion/shaders/ambient_occlusion4",vs,fs,shdrID); ^ filter_ao.cpp:439:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] set_shaders(":/AmbientOcclusion/shaders/ambient_occlusion8",vs,fs,shdrID); //geforce 8+ ^ In file included from filter_ao.cpp:27: ../../../../vcglib/vcg/math/gen_normal.h: In instantiation of 'static void vcg::GenNormal::UniformCone(int, std::vector >&, ScalarType, vcg::GenNormal::Point3x) [with ScalarType = float; vcg::GenNormal::Point3x = vcg::Point3]': filter_ao.cpp:144:20: required from here ../../../../vcglib/vcg/math/gen_normal.h:70:10: warning: format '%i' expects argument of type 'int', but argument 3 has type 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wformat=] printf("asked %i got %i (expecting %i instead of %i)\n", int(vn/Ratio), NNT.size(), int(NNT.size()*Ratio), vn); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_ao.h:29, from filter_ao.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_ao.h:29, from filter_ao.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_ao.h -o moc_filter_ao.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_ao.o moc_filter_ao.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from moc_filter_ao.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_ao.h:29, from moc_filter_ao.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_ao.h:29, from moc_filter_ao.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_ao.h:29, from moc_filter_ao.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from moc_filter_ao.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from moc_filter_ao.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from moc_filter_ao.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from moc_filter_ao.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from moc_filter_ao.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from moc_filter_ao.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_ao.h:29, from moc_filter_ao.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_ao.h:29, from moc_filter_ao.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_ao.h:29, from moc_filter_ao.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name filter_ao filter_ao.qrc -o qrc_filter_ao.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o qrc_filter_ao.o qrc_filter_ao.cpp rm -f libfilter_ao.so g++ -Wl,-z,relro -shared -o libfilter_ao.so filter_ao.o moc_filter_ao.o qrc_filter_ao.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_ao.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ao' cd meshlabplugins/filter_autoalign/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_autoalign' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -o filter_autoalign.o filter_autoalign.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from filter_autoalign.cpp:15: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from filter_autoalign.cpp:15: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from filter_autoalign.cpp:15: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from filter_autoalign.cpp:15: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from filter_autoalign.cpp:15: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from filter_autoalign.cpp:15: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from filter_autoalign.cpp:15: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from filter_autoalign.cpp:15: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from filter_autoalign.cpp:15: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from filter_autoalign.cpp:15: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from filter_autoalign.cpp:15: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_autoalign.cpp:16: ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h: At global scope: ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:110:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const bool operator < (const Couple & o) const {return dist < o.dist;} ^~~~~ In file included from filter_autoalign.cpp:16: ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h: In member function 'int vcg::tri::FourPCS::EvaluateSample(vcg::tri::FourPCS::CandiType&, vcg::tri::FourPCS::CoordType&, vcg::tri::FourPCS::CoordType&, const float&)': ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:572:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(v!=0) ^ In file included from ../../meshlabplugins/edit_align/align/Guess.h:30, from filter_autoalign.cpp:17: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilar(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:797:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:805:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilarDual(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:814:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:837:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ filter_autoalign.cpp: In member function 'virtual bool FilterAutoalign::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_autoalign.cpp:141:17: warning: unused variable 'res' [-Wunused-variable] int res = GG.SearchBestTranslation(GG.u[0],GG.MV[i],4,1,baseTran,bestTran); ^~~ filter_autoalign.cpp:98:66: warning: unused parameter 'md' [-Wunused-parameter] bool FilterAutoalign::applyFilter(QAction *filter, MeshDocument &md, RichParameterSet & par, vcg::CallBackPos *cb) ~~~~~~~~~~~~~~^~ In file included from filter_autoalign.cpp:16: ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h: In instantiation of 'void vcg::tri::FourPCS::Init(MeshType&, MeshType&) [with MeshType = CMeshO]': filter_autoalign.cpp:112:46: required from here ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:231:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(vi = 0; vi < Q->vert.size(); ++vi) ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:235:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(vi = 0; vi < P->vert.size(); ++vi) ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:240:19: warning: unused variable 'dist' [-Wunused-variable] float avD = 0.0,dist; ^~~~ In file included from filter_autoalign.cpp:16: ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h: In instantiation of 'bool vcg::tri::FourPCS::Align(int, vcg::Matrix44f&, bool (*)(int, const char*)) [with MeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44; AACb = bool(int, const char*)]': filter_autoalign.cpp:113:51: required from here ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:652:9: warning: overflow in conversion from 'float' to 'int' changes value from '-3.40282347e+38f' to '-2147483648' [-Woverflow] bestv = -std::numeric_limits::max(); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:655:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::CandiType, std::allocator::CandiType> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0 ; i < U.size() ;++i) In file included from filter_autoalign.cpp:16: ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h: In instantiation of 'void vcg::tri::FourPCS::ComputeR1R2(vcg::tri::FourPCS::ScalarType, vcg::tri::FourPCS::ScalarType) [with MeshType = CMeshO; vcg::tri::FourPCS::ScalarType = float]': ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:621:2: required from 'bool vcg::tri::FourPCS::Align(int, vcg::Matrix44f&, bool (*)(int, const char*)) [with MeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44; AACb = bool(int, const char*)]' filter_autoalign.cpp:113:51: required from here ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:405:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(vi = 0; vi < mapsub.size(); ++vi) for(vj = vi; vj < mapsub.size(); ++vj){ ~~~~^~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:405:57: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(vi = 0; vi < mapsub.size(); ++vi) for(vj = vi; vj < mapsub.size(); ++vj){ ~~~^~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:404:6: warning: unused variable 'start' [-Wunused-variable] int start = clock(); ^~~~~ ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:400:57: warning: unused parameter 'd2' [-Wunused-parameter] FourPCS::ComputeR1R2(ScalarType d1,ScalarType d2){ ~~~~~~~~~~~^~ ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h: In instantiation of 'bool vcg::tri::FourPCS::SelectCoplanarBase() [with MeshType = CMeshO]': ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:628:13: required from 'bool vcg::tri::FourPCS::Align(int, vcg::Matrix44f&, bool (*)(int, const char*)) [with MeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44; AACb = bool(int, const char*)]' filter_autoalign.cpp:113:51: required from here ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:280:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(i = 0; i < P->vert.size(); ++i){ ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:288:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(i == P->vert.size()) ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:293:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(i = 0; i < P->vert.size(); ++i){ ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:329:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(i = 0; i ::FindCongruent() [with MeshType = CMeshO]': ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:644:6: required from 'bool vcg::tri::FourPCS::Align(int, vcg::Matrix44f&, bool (*)(int, const char*)) [with MeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44; AACb = bool(int, const char*)]' filter_autoalign.cpp:113:51: required from here ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:432:6: warning: variable 'ac' set but not used [-Wunused-but-set-variable] int ac =0 ,acf = 0,tr = 0,trf =0; ^~ ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:437:6: warning: unused variable 'start' [-Wunused-variable] int start = clock(); ^~~~~ In file included from filter_autoalign.cpp:17: ../../meshlabplugins/edit_align/align/Guess.h: In instantiation of 'void vcg::tri::Guess::Init(std::vector&, std::vector >&, MSH&, const Matrix44f&) [with MSH = CMeshO; vcg::Matrix44f = vcg::Matrix44]': ../../meshlabplugins/edit_align/align/Guess.h:114:3: required from 'void vcg::tri::Guess::Init(MSH&, MSH&) [with MSH = CMeshO]' filter_autoalign.cpp:128:52: required from here ../../meshlabplugins/edit_align/align/Guess.h:123:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i=0;i &FixMV, std::vector &FixTV, MSH &MovM, const Matrix44f & MovTr) ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_autoalign.h:29, from filter_autoalign.cpp:15: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_autoalign.h:29, from filter_autoalign.cpp:15: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:37, from filter_autoalign.cpp:16: ../../../../vcglib/vcg/math/point_matching.h: In instantiation of 'static bool vcg::PointMatching::ComputeRigidMatchMatrix(vcg::PointMatching::Matrix44x&, std::vector >&, std::vector >&, vcg::PointMatching::Quaternionx&, vcg::PointMatching::Point3x&) [with ScalarType = float; vcg::PointMatching::Matrix44x = vcg::Matrix44; vcg::PointMatching::Quaternionx = vcg::Quaternion; vcg::PointMatching::Point3x = vcg::Point3]': ../../../../vcglib/vcg/math/point_matching.h:94:32: required from 'static bool vcg::PointMatching::ComputeRigidMatchMatrix(vcg::PointMatching::Matrix44x&, std::vector >&, std::vector >&) [with ScalarType = float; vcg::PointMatching::Matrix44x = vcg::Matrix44]' ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:389:58: required from 'bool vcg::tri::FourPCS::IsTransfCongruent(vcg::tri::FourPCS::FourPoints, vcg::Matrix44&, float&) [with MeshType = CMeshO; vcg::tri::FourPCS::FourPoints = vcg::Point4 >; typename TriangleType::ScalarType = float; typename ComputeMeshType::ScalarType = float]' ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:508:10: required from 'bool vcg::tri::FourPCS::FindCongruent() [with MeshType = CMeshO]' ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:644:6: required from 'bool vcg::tri::FourPCS::Align(int, vcg::Matrix44f&, bool (*)(int, const char*)) [with MeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44; AACb = bool(int, const char*)]' filter_autoalign.cpp:113:51: required from here ../../../../vcglib/vcg/math/point_matching.h:243:6: warning: variable 'maxind' set but not used [-Wunused-but-set-variable] int maxind=-1; ^~~~~~ In file included from filter_autoalign.cpp:16: ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h: In member function 'int vcg::tri::FourPCS::EvaluateSample(vcg::tri::FourPCS::CandiType&, vcg::tri::FourPCS::CoordType&, vcg::tri::FourPCS::CoordType&, const float&) [with MeshType = CMeshO]': ../../../../vcglib/vcg/complex/algorithms/autoalign_4pcs.h:575:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -o AlignPair.o ../../meshlabplugins/edit_align/align/AlignPair.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:27: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../../../vcglib/vcg/space/index/space_iterators.h:56, from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:33, from ../../meshlabplugins/edit_align/align/AlignPair.h:34, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:33, from ../../meshlabplugins/edit_align/align/AlignPair.h:34, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../meshlabplugins/edit_align/align/AlignPair.h:34, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../meshlabplugins/edit_align/align/AlignPair.h:34, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlabplugins/edit_align/align/AlignPair.h:35, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/clean.h:35, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:27: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/clean.h:37, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:27: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../meshlabplugins/edit_align/align/AlignPair.cpp:27: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:67, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:34: ../../../../vcglib/wrap/io_trimesh/import_obj.h: In static member function 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&)': ../../../../vcglib/wrap/io_trimesh/import_obj.h:226:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (oi.mask == -1) ^~ ../../../../vcglib/wrap/io_trimesh/import_obj.h:229:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' const int inputMask = oi.mask; ^~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import_ply.h:31, from ../../../../vcglib/wrap/io_trimesh/import.h:68, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:34: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import_vmi.h:39, from ../../../../vcglib/wrap/io_trimesh/import.h:71, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:34: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ ../../meshlabplugins/edit_align/align/AlignPair.cpp: In member function 'bool vcg::AlignPair::A2Mesh::InitVert(const Matrix44d&, bool)': ../../meshlabplugins/edit_align/align/AlignPair.cpp:54:59: warning: unused parameter 'hasborderflag' [-Wunused-parameter] bool AlignPair::A2Mesh::InitVert(const Matrix44d &Tr,bool hasborderflag) ~~~~~^~~~~~~~~~~~~ ../../meshlabplugins/edit_align/align/AlignPair.cpp: In member function 'bool vcg::AlignPair::Align(vcg::AlignPair::A2Grid&, vcg::AlignPair::A2GridVert&, const Matrix44d&, vcg::Matrix44d&, std::vector >&, std::vector >&, std::vector >&, std::vector >&, vcg::Histogramf&, vcg::AlignPair::Stat&)': ../../meshlabplugins/edit_align/align/AlignPair.cpp:348:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if( beyondCntVec[i] < maxBeyondCnt ) ^ In file included from ../../meshlabplugins/edit_align/align/AlignPair.cpp:39: ../../../../vcglib/vcg/math/point_matching.h: In instantiation of 'static bool vcg::PointMatching::ComputeRigidMatchMatrix(vcg::PointMatching::Matrix44x&, std::vector >&, std::vector >&, vcg::PointMatching::Quaternionx&, vcg::PointMatching::Point3x&) [with ScalarType = double; vcg::PointMatching::Matrix44x = vcg::Matrix44; vcg::PointMatching::Quaternionx = vcg::Quaternion; vcg::PointMatching::Point3x = vcg::Point3]': ../../../../vcglib/vcg/math/point_matching.h:94:32: required from 'static bool vcg::PointMatching::ComputeRigidMatchMatrix(vcg::PointMatching::Matrix44x&, std::vector >&, std::vector >&) [with ScalarType = double; vcg::PointMatching::Matrix44x = vcg::Matrix44]' ../../meshlabplugins/edit_align/align/AlignPair.cpp:408:106: required from here ../../../../vcglib/vcg/math/point_matching.h:243:6: warning: variable 'maxind' set but not used [-Wunused-but-set-variable] int maxind=-1; ^~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:70, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:34: ../../../../vcglib/wrap/io_trimesh/import_off.h: In instantiation of 'static int vcg::tri::io::ImporterOFF::Open(MESH_TYPE&, const char*, int&, bool (*)(int, const char*)) [with MESH_TYPE = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]': ../../../../vcglib/wrap/io_trimesh/import.h:129:40: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:110:14: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../meshlabplugins/edit_align/align/AlignPair.cpp:45:58: required from here ../../../../vcglib/wrap/io_trimesh/import_off.h:189:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] unsigned int nVertices, nFaces, nEdges; ^~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:67, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:34: ../../../../vcglib/wrap/io_trimesh/import_obj.h: In instantiation of 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&) [with OpenMeshType = vcg::AlignPair::A2Mesh]': ../../../../vcglib/wrap/io_trimesh/import_obj.h:206:15: required from 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:134:40: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:110:14: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../meshlabplugins/edit_align/align/AlignPair.cpp:45:58: required from here ../../../../vcglib/wrap/io_trimesh/import_obj.h:533:17: warning: variable 'fi' set but not used [-Wunused-but-set-variable] FaceIterator fi = vcg::tri::Allocator::AddFaces(m,numTriangles); ^~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:71, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:34: ../../../../vcglib/wrap/io_trimesh/import_vmi.h: In instantiation of 'static int vcg::tri::io::ImporterVMI::Deserialize(OpenMeshType&, int&) [with OpenMeshType = vcg::AlignPair::A2Mesh; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char]': ../../../../vcglib/wrap/io_trimesh/import_vmi.h:658:34: required from 'static int vcg::tri::io::ImporterVMI::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:139:46: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:110:14: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../meshlabplugins/edit_align/align/AlignPair.cpp:45:58: required from here ../../../../vcglib/wrap/io_trimesh/import_vmi.h:714:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] size_t read = 0; ^~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:69, from ../../meshlabplugins/edit_align/align/AlignPair.cpp:34: ../../../../vcglib/wrap/io_trimesh/import_stl.h: In static member function 'static int vcg::tri::io::ImporterSTL::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh]': ../../../../vcglib/wrap/io_trimesh/import_stl.h:110:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&facenum, sizeof(int), 1, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:114:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(tmpbuf,sizeof(tmpbuf),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h: In static member function 'static int vcg::tri::io::ImporterSTL::OpenBinary(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh]': ../../../../vcglib/wrap/io_trimesh/import_stl.h:140:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&facenum, sizeof(int), 1, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:151:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&norm,sizeof(Point3f),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:152:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&tri,sizeof(Point3f),3,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:153:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&attr,sizeof(short),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -o Guess.o ../../meshlabplugins/edit_align/align/Guess.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:41, from ../../meshlabplugins/edit_align/align/Guess.h:30, from ../../meshlabplugins/edit_align/align/Guess.cpp:28: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../../../vcglib/vcg/space/index/space_iterators.h:56, from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_obj.h:53, from ../../meshlabplugins/edit_align/align/Guess.h:29, from ../../meshlabplugins/edit_align/align/Guess.cpp:28: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_obj.h:53, from ../../meshlabplugins/edit_align/align/Guess.h:29, from ../../meshlabplugins/edit_align/align/Guess.cpp:28: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../../../vcglib/vcg/complex/algorithms/closest.h:37, from ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:40, from ../../meshlabplugins/edit_align/align/Guess.h:30, from ../../meshlabplugins/edit_align/align/Guess.cpp:28: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:40, from ../../meshlabplugins/edit_align/align/Guess.h:30, from ../../meshlabplugins/edit_align/align/Guess.cpp:28: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/spatial_hashing.h:28, from ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:41, from ../../meshlabplugins/edit_align/align/Guess.h:30, from ../../meshlabplugins/edit_align/align/Guess.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/spatial_hashing.h:28, from ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:41, from ../../meshlabplugins/edit_align/align/Guess.h:30, from ../../meshlabplugins/edit_align/align/Guess.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:46, from ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:42, from ../../meshlabplugins/edit_align/align/Guess.h:30, from ../../meshlabplugins/edit_align/align/Guess.cpp:28: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../meshlabplugins/edit_align/align/Guess.h:30, from ../../meshlabplugins/edit_align/align/Guess.cpp:28: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilar(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:797:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:805:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilarDual(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:814:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:837:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../meshlabplugins/edit_align/align/Guess.cpp: In member function 'void vcg::tri::Guess::GenRotMatrix()': ../../meshlabplugins/edit_align/align/Guess.cpp:97:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(i=0;i >&, std::vector >&, vcg::Box3f&)': ../../meshlabplugins/edit_align/align/Guess.cpp:122:38: warning: unused parameter 'movNorm' [-Wunused-parameter] std::vector< Point3f > &movNorm, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../../meshlabplugins/edit_align/align/Guess.cpp: In member function 'int vcg::tri::Guess::SearchBestTranslation(vcg::GridStaticObj&, const Matrix44f&, int, int, vcg::Point3f&, vcg::Point3f&)': ../../meshlabplugins/edit_align/align/Guess.cpp:176:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(i=0;i::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from moc_filter_autoalign.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from moc_filter_autoalign.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from moc_filter_autoalign.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from moc_filter_autoalign.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from moc_filter_autoalign.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from moc_filter_autoalign.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from moc_filter_autoalign.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from moc_filter_autoalign.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_autoalign.h:29, from moc_filter_autoalign.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_autoalign.h:29, from moc_filter_autoalign.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_autoalign.h:29, from moc_filter_autoalign.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_autoalign.so g++ -Wl,-z,relro -shared -o libfilter_autoalign.so filter_autoalign.o AlignPair.o Guess.o point_matching_scale.o plylib.o moc_filter_autoalign.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_autoalign.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_autoalign' cd meshlabplugins/filter_camera/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_camera' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_camera.o filter_camera.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from filter_camera.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/vcg/math/shot.h:133, from ../../common/filterparameter.h:35, from ../../common/interfaces.h:35, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/math/camera.h: In instantiation of 'vcg::Point2 vcg::Camera::Project(const vcg::Point3&) const [with S = float]': ../../../../vcglib/vcg/math/shot.h:405:13: required from 'vcg::Point2 vcg::Shot::Project(const vcg::Point3&) const [with S = float; RotationType = vcg::Matrix44]' filter_camera.cpp:483:52: required from here ../../../../vcglib/vcg/math/camera.h:253:17: warning: variable 'd' set but not used [-Wunused-but-set-variable] vcg::Point2 d = Point2(p[0],p[1]); ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_camera.h:29, from filter_camera.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_camera.h:29, from filter_camera.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ filter_camera.cpp: In member function 'virtual bool FilterCameraPlugin::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_camera.cpp:254:38: warning: this statement may fall through [-Wimplicit-fallthrough=] rm->shot.ApplyRigidTransformation(transf); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ filter_camera.cpp:256:6: note: here case 1: ^~~~ filter_camera.cpp:327:38: warning: this statement may fall through [-Wimplicit-fallthrough=] rm->shot.ApplyRigidTransformation(trTranInv); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ filter_camera.cpp:329:6: note: here case 1: ^~~~ filter_camera.cpp:386:38: warning: this statement may fall through [-Wimplicit-fallthrough=] rm->shot.ApplyRigidTransformation(trTran); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ filter_camera.cpp:388:6: note: here case 1: ^~~~ filter_camera.cpp:441:38: warning: this statement may fall through [-Wimplicit-fallthrough=] rm->shot.ApplyRigidTransformation(mat); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ filter_camera.cpp:443:6: note: here case 1: ^~~~ filter_camera.cpp:266:11: warning: 'tranVec.vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] Point3f tranVec; ^~~~~~~ filter_camera.cpp:266:11: warning: 'tranVec.vcg::Point3::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] filter_camera.cpp:266:11: warning: 'tranVec.vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/math/deprecated_matrix44.h:561:3: warning: 'tranVec.vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] SetTranslate(t[0], t[1], t[2]); ^~~~~~~~~~~~ filter_camera.cpp:191:23: note: 'tranVec.vcg::Point3::_v[2]' was declared here Point3f axis, tranVec; ^~~~~~~ In file included from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/math/deprecated_matrix44.h:561:3: warning: 'tranVec.vcg::Point3::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] SetTranslate(t[0], t[1], t[2]); ^~~~~~~~~~~~ filter_camera.cpp:191:23: note: 'tranVec.vcg::Point3::_v[1]' was declared here Point3f axis, tranVec; ^~~~~~~ In file included from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from filter_camera.h:29, from filter_camera.cpp:24: ../../../../vcglib/vcg/math/deprecated_matrix44.h:561:3: warning: 'tranVec.vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] SetTranslate(t[0], t[1], t[2]); ^~~~~~~~~~~~ filter_camera.cpp:191:23: note: 'tranVec.vcg::Point3::_v[0]' was declared here Point3f axis, tranVec; ^~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_camera.h -o moc_filter_camera.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_camera.o moc_filter_camera.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from moc_filter_camera.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_camera.h:29, from moc_filter_camera.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_camera.h:29, from moc_filter_camera.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_camera.h:29, from moc_filter_camera.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from moc_filter_camera.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from moc_filter_camera.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from moc_filter_camera.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from moc_filter_camera.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from moc_filter_camera.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from moc_filter_camera.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_camera.h:29, from moc_filter_camera.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_camera.h:29, from moc_filter_camera.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_camera.h:29, from moc_filter_camera.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_camera.so g++ -Wl,-z,relro -shared -o libfilter_camera.so filter_camera.o moc_filter_camera.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_camera.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_camera' cd meshlabplugins/filter_bnpts/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_bnpts' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_bnpts.o filter_bnpts.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from filter_bnpts.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from filter_bnpts.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from filter_bnpts.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from filter_bnpts.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from filter_bnpts.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from filter_bnpts.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from filter_bnpts.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from filter_bnpts.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from filter_bnpts.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from filter_bnpts.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from filter_bnpts.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ filter_bnpts.cpp: In member function 'virtual void FilterBnptsPlugin::initParameterSet(QAction*, MeshDocument&, RichParameterSet&)': filter_bnpts.cpp:60:13: warning: unused variable 'mm' [-Wunused-variable] MeshModel *mm=md.mm(); ^~ filter_bnpts.cpp: In member function 'virtual bool FilterBnptsPlugin::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_bnpts.cpp:84:114: warning: unused parameter 'cb' [-Wunused-parameter] bool FilterBnptsPlugin::applyFilter(QAction *filter, MeshDocument &md, RichParameterSet & par, vcg::CallBackPos *cb) ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qfiledialog.h:47, from /usr/include/qt4/QtGui/QFileDialog:1, from filter_bnpts.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdialog.h:45, from /usr/include/qt4/QtGui/qfiledialog.h:47, from /usr/include/qt4/QtGui/QFileDialog:1, from filter_bnpts.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_bnpts.h -o moc_filter_bnpts.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_bnpts.o moc_filter_bnpts.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_bnpts.h:29, from moc_filter_bnpts.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_bnpts.so g++ -Wl,-z,relro -shared -o libfilter_bnpts.so filter_bnpts.o moc_filter_bnpts.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_bnpts.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_bnpts' cd meshlabplugins/filter_clean/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_clean' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o cleanfilter.o cleanfilter.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from cleanfilter.cpp:34: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/create/ball_pivoting.h:4, from cleanfilter.cpp:36: ../../../../vcglib/vcg/complex/algorithms/create/advancing_front.h: At global scope: ../../../../vcglib/vcg/complex/algorithms/create/advancing_front.h:31:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const bool operator==(const FrontEdge& f) const ^~~~~ cleanfilter.cpp: In member function 'virtual int CleanFilter::getRequirements(QAction*)': cleanfilter.cpp:163:50: warning: statement has no effect [-Wunused-value] case FP_BALL_PIVOTING: MeshModel::MM_VERTMARK; ^ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In instantiation of 'static int vcg::tri::Clean::SplitNonManifoldVertex(vcg::tri::Clean::MeshType&, float) [with CleanMeshType = CMeshO; vcg::tri::Clean::MeshType = CMeshO]': cleanfilter.cpp:333:39: required from here ../../../../vcglib/vcg/complex/algorithms/clean.h:519:18: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] qDebug("Splitting Vertex %i",ToSplitVec[i].first-&*m.vert.begin()); ^~~~~~~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/create/ball_pivoting.h:4, from cleanfilter.cpp:36: ../../../../vcglib/vcg/complex/algorithms/create/advancing_front.h: In instantiation of 'bool vcg::tri::AdvancingFront::AddFace() [with MESH = CMeshO]': ../../../../vcglib/vcg/complex/algorithms/create/advancing_front.h:83:9: required from 'void vcg::tri::AdvancingFront::BuildMesh(bool (*)(int, const char*), int) [with MESH = CMeshO; vcg::CallBackPos = bool(int, const char*)]' cleanfilter.cpp:242:25: required from here ../../../../vcglib/vcg/complex/algorithms/create/advancing_front.h:220:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((touch.first == FRONT) && (touch.second != front.end()) || ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/advancing_front.h:325:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] else if ((touch.first == FRONT) && (touch.second == front.end()) || ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from cleanfilter.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from cleanfilter.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from cleanfilter.cpp:30: ../../../../vcglib/vcg/simplex/face/distance.h: In function 'bool vcg::face::PointDistanceBase(const FaceType&, const vcg::Point3&, typename FaceType::ScalarType&, vcg::Point3&) [with FaceType = CFaceO]': ../../../../vcglib/vcg/simplex/face/distance.h:430:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:392:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:355:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ cleanfilter.cpp: In function 'int SnapVertexBorder(CMeshO&, float, bool (*)(int, const char*))': cleanfilter.cpp:400:13: warning: 'bestEdge' may be used uninitialized in this function [-Wmaybe-uninitialized] int bestEdge; ^~~~~~~~ cleanfilter.cpp:432:32: warning: 'localThr' may be used uninitialized in this function [-Wmaybe-uninitialized] if(bestDist < localThr && !bestFace->IsV()) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. cleanfilter.h -o moc_cleanfilter.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_cleanfilter.o moc_cleanfilter.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from cleanfilter.h:28, from moc_cleanfilter.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_clean.so g++ -Wl,-z,relro -shared -o libfilter_clean.so cleanfilter.o moc_cleanfilter.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_clean.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_clean' cd meshlabplugins/filter_colorize/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorize' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o meshcolorize.o meshcolorize.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from meshcolorize.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshcolorize.h:28, from meshcolorize.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshcolorize.h:28, from meshcolorize.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshcolorize.h:28, from meshcolorize.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from meshcolorize.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from meshcolorize.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from meshcolorize.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from meshcolorize.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from meshcolorize.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from meshcolorize.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from meshcolorize.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from meshcolorize.cpp:27: ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexQualityLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:649:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:661:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexNormalLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:705:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:717:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexCoordViewDepth(vcg::tri::Smooth::MeshType&, const CoordType&, vcg::tri::Smooth::ScalarType, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:766:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:778:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/curvature.h:66, from meshcolorize.cpp:28: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilar(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:797:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:805:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilarDual(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:814:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:837:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/curvature.h:68, from meshcolorize.cpp:28: ../../../../vcglib/vcg/complex/algorithms/intersection.h: In function 'bool vcg::Intersection(vcg::Plane3, IndexingType*, std::vector&)': ../../../../vcglib/vcg/complex/algorithms/intersection.h:209:46: warning: typedef 'FaceContainer' locally defined but not used [-Wunused-local-typedefs] typedef typename TriMeshType::FaceContainer FaceContainer; ^~~~~~~~~~~~~ In file included from meshcolorize.cpp:29: ../../../../vcglib/vcg/complex/algorithms/parametrization/distortion.h: In static member function 'static vcg::tri::Distortion::ScalarType vcg::tri::Distortion::AngleRad3D(const FaceType*, int)': ../../../../vcglib/vcg/complex/algorithms/parametrization/distortion.h:122:44: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename CoordType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/parametrization/distortion.h: In instantiation of 'static vcg::tri::Distortion::ScalarType vcg::tri::Distortion::MeshScalingFactor(MeshType&, vcg::tri::Distortion::ScalarType&, vcg::tri::Distortion::ScalarType&) [with MeshType = CMeshO; bool PerWedgeFlag = true; vcg::tri::Distortion::ScalarType = float]': meshcolorize.cpp:323:37: required from here ../../../../vcglib/vcg/complex/algorithms/parametrization/distortion.h:190:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for (int i=0;i::ScalarType vcg::tri::Distortion::MeshScalingFactor(MeshType&, vcg::tri::Distortion::ScalarType&, vcg::tri::Distortion::ScalarType&) [with MeshType = CMeshO; bool PerWedgeFlag = false; vcg::tri::Distortion::ScalarType = float]': meshcolorize.cpp:327:38: required from here ../../../../vcglib/vcg/complex/algorithms/parametrization/distortion.h:190:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for (int i=0;i::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshcolorize.h:28, from meshcolorize.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ meshcolorize.cpp: In member function 'virtual bool ExtraMeshColorizePlugin::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': meshcolorize.cpp:174:22: warning: this statement may fall through [-Wimplicit-fallthrough=] m.updateDataMask(MeshModel::MM_VERTCOLOR); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ meshcolorize.cpp:175:3: note: here case CP_CLAMP_QUALITY: ^~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. meshcolorize.h -o moc_meshcolorize.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_meshcolorize.o moc_meshcolorize.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshcolorize.h:28, from moc_meshcolorize.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_colorize.so g++ -Wl,-z,relro -shared -o libfilter_colorize.so meshcolorize.o moc_meshcolorize.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_colorize.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorize' cd meshlabplugins/filter_colorproc/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorproc' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_colorproc.o filter_colorproc.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_colorproc.h:28, from filter_colorproc.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_colorproc.h:28, from filter_colorproc.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from filter_colorproc.cpp:25: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In member function 'virtual bool FilterColorProc::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': ../../../../vcglib/vcg/complex/algorithms/update/color.h:764:11: warning: 'unbalancedWhite.vcg::Point4::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] Color4b unbalancedWhite; ^~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/update/color.h:764:11: warning: 'unbalancedWhite.vcg::Point4::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ../../../../vcglib/vcg/complex/algorithms/update/color.h:764:11: warning: 'unbalancedWhite.vcg::Point4::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_colorproc.h -o moc_filter_colorproc.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_colorproc.o moc_filter_colorproc.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_colorproc.h:28, from moc_filter_colorproc.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_colorproc.so g++ -Wl,-z,relro -shared -o libfilter_colorproc.so filter_colorproc.o moc_filter_colorproc.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_colorproc.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorproc' cd meshlabplugins/filter_color_projection/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_color_projection' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_color_projection.o filter_color_projection.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from filter_color_projection.cpp:31: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from filter_color_projection.cpp:31: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from filter_color_projection.cpp:31: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from filter_color_projection.cpp:31: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from filter_color_projection.cpp:31: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from filter_color_projection.cpp:31: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from filter_color_projection.cpp:31: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from filter_color_projection.cpp:31: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from filter_color_projection.cpp:31: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from filter_color_projection.cpp:31: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from filter_color_projection.cpp:31: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_color_projection.cpp:33: floatbuffer.cpp: In member function 'int floatbuffer::applysobel(floatbuffer*)': floatbuffer.cpp:127:9: warning: unused variable 'val' [-Wunused-variable] float val; ^~~ floatbuffer.cpp: In member function 'int floatbuffer::initborder(floatbuffer*)': floatbuffer.cpp:186:6: warning: unused variable 'kk' [-Wunused-variable] int kk; ^~ floatbuffer.cpp:187:6: warning: unused variable 'xx' [-Wunused-variable] int xx,yy; ^~ floatbuffer.cpp:187:9: warning: unused variable 'yy' [-Wunused-variable] int xx,yy; ^~ floatbuffer.cpp: In member function 'int floatbuffer::dumppfm(QString)': floatbuffer.cpp:336:18: warning: too many arguments for format [-Wformat-extra-args] fprintf(miofile,"-1.000000\n",sx,sy); ^~~~~~~~~~~~~ floatbuffer.cpp:328:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] int res; ^~~ floatbuffer.cpp:330:7: warning: unused variable 'buff' [-Wunused-variable] char buff[64]; ^~~~ In file included from filter_color_projection.cpp:35: render_helper.cpp: In member function 'void RenderHelper::renderScene(vcg::Shotf&, MeshModel*, RenderHelper::RenderingMode, float, float)': render_helper.cpp:222:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] GLenum err = glGetError(); ^~~ In file included from rastering.h:29, from filter_color_projection.cpp:38: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilar(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:797:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:805:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilarDual(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:814:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:837:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ In file included from filter_color_projection.cpp:38: rastering.h: In member function 'void TexFillerSampler::AddTextureSample(const FaceType&, const CoordType&, const Point2i&, float)': rastering.h:189:112: warning: unused parameter 'edgeDist' [-Wunused-parameter] void AddTextureSample(const CMeshO::FaceType &f, const CMeshO::CoordType &p, const vcg::Point2i &tp, float edgeDist= 0.0) ~~~~~~^~~~~~~~~~~~~ filter_color_projection.cpp: In member function 'virtual void FilterColorProjectionPlugin::initParameterSet(QAction*, MeshDocument&, RichParameterSet&)': filter_color_projection.cpp:104:13: warning: unused variable 'mm' [-Wunused-variable] MeshModel *mm=md.mm(); ^~ filter_color_projection.cpp: In member function 'virtual bool FilterColorProjectionPlugin::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_color_projection.cpp:336:12: warning: unused variable 'dumpFileName' [-Wunused-variable] char dumpFileName[1024]; ^~~~~~~~~~~~ filter_color_projection.cpp:733:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(texcount=0; texcount < texels.size(); texcount++) ~~~~~~~~~^~~~~~~~~~~~~~~ filter_color_projection.cpp:824:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(texcount=0; texcount < texels.size(); texcount++) ~~~~~~~~~^~~~~~~~~~~~~~~ filter_color_projection.cpp:569:12: warning: unused variable 'onselection' [-Wunused-variable] bool onselection = par.getBool("onselection"); ^~~~~~~~~~~ In file included from ../../../../vcglib/vcg/math/shot.h:133, from ../../common/filterparameter.h:35, from ../../common/interfaces.h:35, from filter_color_projection.h:28, from filter_color_projection.cpp:31: ../../../../vcglib/vcg/math/camera.h: In instantiation of 'vcg::Point2 vcg::Camera::Project(const vcg::Point3&) const [with S = float]': ../../../../vcglib/vcg/math/shot.h:405:13: required from 'vcg::Point2 vcg::Shot::Project(const vcg::Point3&) const [with S = float; RotationType = vcg::Matrix44]' filter_color_projection.cpp:264:46: required from here ../../../../vcglib/vcg/math/camera.h:253:17: warning: variable 'd' set but not used [-Wunused-but-set-variable] vcg::Point2 d = Point2(p[0],p[1]); ^ In file included from rastering.h:29, from filter_color_projection.cpp:38: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In instantiation of 'static void vcg::tri::SurfaceSampling::SingleFaceRaster(typename MetroMesh::FaceType&, VertexSampler&, const vcg::Point2&, const vcg::Point2&, const vcg::Point2&, bool) [with MetroMesh = CMeshO; VertexSampler = TexFillerSampler; typename MetroMesh::FaceType = CFaceO; typename CameraType::ScalarType = float]': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:1377:33: required from 'static void vcg::tri::SurfaceSampling::Texture(MetroMesh&, VertexSampler&, int, int, bool) [with MetroMesh = CMeshO; VertexSampler = TexFillerSampler]' filter_color_projection.cpp:647:54: required from here ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:976:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] bool in = false; ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_color_projection.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_color_projection.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_color_projection.h -o moc_filter_color_projection.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_color_projection.o moc_filter_color_projection.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_color_projection.h:28, from moc_filter_color_projection.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_color_projection.so g++ -Wl,-z,relro -shared -o libfilter_color_projection.so filter_color_projection.o moc_filter_color_projection.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_color_projection.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_color_projection' cd meshlabplugins/filter_create/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_create' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_create.o filter_create.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from filter_create.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_create.h:26, from filter_create.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_create.h:26, from filter_create.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_create.h:26, from filter_create.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from filter_create.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from filter_create.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from filter_create.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from filter_create.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from filter_create.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from filter_create.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from filter_create.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_create.cpp:25: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_create.h:26, from filter_create.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_create.h:26, from filter_create.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_create.h -o moc_filter_create.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_create.o moc_filter_create.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from moc_filter_create.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_create.h:26, from moc_filter_create.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_create.h:26, from moc_filter_create.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_create.h:26, from moc_filter_create.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from moc_filter_create.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from moc_filter_create.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from moc_filter_create.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from moc_filter_create.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from moc_filter_create.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from moc_filter_create.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_create.h:26, from moc_filter_create.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_create.h:26, from moc_filter_create.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_create.h:26, from moc_filter_create.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_create.so g++ -Wl,-z,relro -shared -o libfilter_create.so filter_create.o moc_filter_create.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_create.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_create' cd meshlabplugins/filter_dirt/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_dirt' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_dirt.o filter_dirt.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from filter_dirt.cpp:26: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from filter_dirt.h:30, from filter_dirt.cpp:26: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from filter_dirt.h:30, from filter_dirt.cpp:26: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from filter_dirt.h:30, from filter_dirt.cpp:26: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from filter_dirt.cpp:26: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from filter_dirt.cpp:26: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from filter_dirt.cpp:26: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from filter_dirt.cpp:26: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from filter_dirt.cpp:26: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from filter_dirt.cpp:26: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from filter_dirt.h:30, from filter_dirt.cpp:26: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from dirt_utils.h:51, from filter_dirt.cpp:28: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilar(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:797:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:805:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilarDual(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:814:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:837:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ In file included from filter_dirt.cpp:40: ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexQualityLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:649:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:661:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexNormalLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:705:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:717:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexCoordViewDepth(vcg::tri::Smooth::MeshType&, const CoordType&, vcg::tri::Smooth::ScalarType, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:766:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:778:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ filter_dirt.cpp: In member function 'virtual void FilterDirt::initParameterSet(QAction*, MeshDocument&, RichParameterSet&)': filter_dirt.cpp:103:65: warning: unused parameter 'md' [-Wunused-parameter] void FilterDirt::initParameterSet(QAction* filter,MeshDocument &md, RichParameterSet &par){ ~~~~~~~~~~~~~~^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_dirt.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_dirt.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o dirt_utils.o dirt_utils.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from dirt_utils.h:34, from dirt_utils.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from dirt_utils.h:34, from dirt_utils.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from dirt_utils.h:34, from dirt_utils.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from dirt_utils.h:34, from dirt_utils.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from dirt_utils.h:34, from dirt_utils.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from dirt_utils.h:34, from dirt_utils.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from dirt_utils.h:34, from dirt_utils.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from dirt_utils.h:34, from dirt_utils.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from dirt_utils.h:34, from dirt_utils.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from dirt_utils.h:34, from dirt_utils.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from dirt_utils.h:34, from dirt_utils.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from dirt_utils.h:51, from dirt_utils.cpp:24: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilar(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:797:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:805:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilarDual(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:814:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:837:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ dirt_utils.cpp: In function 'vcg::tri::TriMesh, vcg::face::vector_ocf >::CoordType fromBarCoords(vcg::Point3f, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer)': dirt_utils.cpp:108:13: warning: variable 'p0' set but not used [-Wunused-but-set-variable] Point3f p0=f->P(0); ^~ dirt_utils.cpp:109:13: warning: variable 'p1' set but not used [-Wunused-but-set-variable] Point3f p1=f->P(1); ^~ dirt_utils.cpp:110:13: warning: variable 'p2' set but not used [-Wunused-but-set-variable] Point3f p2=f->P(2); ^~ dirt_utils.cpp: In function 'int ComputeIntersection(vcg::tri::TriMesh, vcg::face::vector_ocf >::CoordType, vcg::tri::TriMesh, vcg::face::vector_ocf >::CoordType, vcg::tri::MeshTypeHolder, vcg::vertex::vector_ocf, vcg::tri::Der>, vcg::face::vector_ocf, vcg::AllTypes::AFaceType>::FaceType*&, vcg::tri::MeshTypeHolder, vcg::vertex::vector_ocf, vcg::tri::Der>, vcg::face::vector_ocf, vcg::AllTypes::AFaceType>::FaceType*&, vcg::tri::TriMesh, vcg::face::vector_ocf >::CoordType&)': dirt_utils.cpp:297:43: warning: unused parameter 'p1' [-Wunused-parameter] int ComputeIntersection(CMeshO::CoordType p1,CMeshO::CoordType p2,CMeshO::FacePointer &f,CMeshO::FacePointer &new_f,CMeshO::CoordType &int_point){ ~~~~~~~~~~~~~~~~~~^~ dirt_utils.cpp: In function 'void ComputeSurfaceExposure(MeshModel*, int, int)': dirt_utils.cpp:384:25: warning: variable 'face' set but not used [-Wunused-but-set-variable] CMeshO::FacePointer face; ^~~~ dirt_utils.cpp:375:46: warning: unused parameter 'r' [-Wunused-parameter] void ComputeSurfaceExposure(MeshModel* m,int r,int n_ray){ ~~~~^ dirt_utils.cpp: In function 'bool GenerateParticles(MeshModel*, std::vector, std::allocator > >&, int, float)': dirt_utils.cpp:465:126: warning: unused parameter 'threshold' [-Wunused-parameter] bool GenerateParticles(MeshModel* m,std::vector &cpv,/*std::vector< Particle > &dpv,*/int d,float threshold){ ~~~~~~^~~~~~~~~ dirt_utils.cpp: In function 'void MoveParticle(Particle&, vcg::tri::TriMesh, vcg::face::vector_ocf >::VertexPointer, float, int, vcg::Point3f, vcg::Point3f, float)': dirt_utils.cpp:612:21: warning: variable 'n' set but not used [-Wunused-but-set-variable] Point3f n = new_face->N(); ^ dirt_utils.cpp: In function 'void ComputeRepulsion(MeshModel*, MeshModel*, int, float, vcg::Point3f, float)': dirt_utils.cpp:649:65: warning: unused parameter 'l' [-Wunused-parameter] void ComputeRepulsion(MeshModel* b_m,MeshModel *c_m,int k,float l,Point3f g,float a){ ~~~~~~^ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qpixmap.h:50, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from dirt_utils.h:28, from dirt_utils.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qtransform.h:44, from /usr/include/qt4/QtGui/qimage.h:45, from /usr/include/qt4/QtGui/qpixmap.h:50, from /usr/include/qt4/QtGui/qpainter.h:49, from /usr/include/qt4/QtGui/QPainter:1, from dirt_utils.h:28, from dirt_utils.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from dirt_utils.h:34, from dirt_utils.cpp:24: ../../../../vcglib/vcg/simplex/face/distance.h: In function 'bool vcg::face::PointDistanceBase(const FaceType&, const vcg::Point3&, typename FaceType::ScalarType&, vcg::Point3&) [with FaceType = CFaceO]': ../../../../vcglib/vcg/simplex/face/distance.h:430:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:392:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:355:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_dirt.h -o moc_filter_dirt.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_dirt.o moc_filter_dirt.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../../common/filterscript.h:27, from ../../common/meshmodel.h:62, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../../common/filterscript.h:27, from ../../common/meshmodel.h:62, from filter_dirt.h:30, from moc_filter_dirt.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_dirt.so g++ -Wl,-z,relro -shared -o libfilter_dirt.so filter_dirt.o dirt_utils.o moc_filter_dirt.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_dirt.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_dirt' cd meshlabplugins/filter_fractal/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_fractal' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_fractal.o filter_fractal.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from fractal_utils.h:6, from craters_utils.h:5, from filter_fractal.h:32, from filter_fractal.cpp:27: ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexQualityLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:649:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:661:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexNormalLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:705:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:717:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexCoordViewDepth(vcg::tri::Smooth::MeshType&, const CoordType&, vcg::tri::Smooth::ScalarType, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:766:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:778:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ In file included from craters_utils.h:5, from filter_fractal.h:32, from filter_fractal.cpp:27: fractal_utils.h: In instantiation of 'FractalUtils::FractalArgs::~FractalArgs() [with MeshType = CMeshO]': filter_fractal.cpp:211:102: required from here fractal_utils.h:74:26: warning: deleting object of abstract class type 'NoiseFunctor' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] ~FractalArgs() { delete noiseFunctor; } ^~~~~~ In file included from filter_fractal.h:32, from filter_fractal.cpp:27: craters_utils.h: In instantiation of 'CratersUtils::CratersArgs::~CratersArgs() [with MeshType = CMeshO]': filter_fractal.cpp:256:74: required from here craters_utils.h:117:13: warning: deleting object of abstract class type 'RadialFunctor' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete radialFunctor; ^~~~~~ craters_utils.h:118:13: warning: deleting object of abstract class type 'RadialFunctor' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete blendingFunctor; ^~~~~~ craters_utils.h:120:17: warning: deleting object of abstract class type 'NoiseFunctor' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete noiseFunctor; ^~~~~~ craters_utils.h:122:13: warning: deleting object of polymorphic class type 'CraterFunctor' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] delete craterFunctor; ^~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_fractal.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_fractal.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from fractal_utils.h:7, from craters_utils.h:5, from filter_fractal.h:32, from filter_fractal.cpp:27: filter_functors.h: At global scope: filter_functors.h:209:25: warning: inline function 'void NoiseFunctor::init(ScalarType&, ScalarType&, ScalarType&, ScalarType&) [with ScalarType = float]' used but never defined virtual inline void init(ScalarType&x, ScalarType& y, ScalarType& z, ScalarType& noise) = 0; ^~~~ filter_functors.h:210:25: warning: inline function 'void NoiseFunctor::update(int, ScalarType&, ScalarType&, ScalarType&, ScalarType&) [with ScalarType = float]' used but never defined virtual inline void update(int oct, ScalarType&x, ScalarType& y, ScalarType& z, ScalarType& noise) = 0; ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from filter_fractal.cpp:27: ../../../../vcglib/vcg/simplex/face/distance.h: In function 'bool vcg::face::PointDistanceBase(const FaceType&, const vcg::Point3&, typename FaceType::ScalarType&, vcg::Point3&) [with FaceType = CFaceO]': ../../../../vcglib/vcg/simplex/face/distance.h:430:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:392:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:355:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_fractal.h -o moc_filter_fractal.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_fractal.o moc_filter_fractal.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from fractal_utils.h:6, from craters_utils.h:5, from filter_fractal.h:32, from moc_filter_fractal.cpp:9: ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexQualityLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:649:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:661:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexNormalLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:705:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:717:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexCoordViewDepth(vcg::tri::Smooth::MeshType&, const CoordType&, vcg::tri::Smooth::ScalarType, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:766:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:778:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_fractal.h:31, from moc_filter_fractal.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name ff_res ff_res.qrc -o qrc_ff_res.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o qrc_ff_res.o qrc_ff_res.cpp rm -f libfilter_fractal.so g++ -Wl,-z,relro -shared -o libfilter_fractal.so filter_fractal.o moc_filter_fractal.o qrc_ff_res.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_fractal.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_fractal' cd meshlabplugins/filter_func/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_func' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include/muParser -I/usr/X11R6/include -I. -o filter_func.o filter_func.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from filter_func.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_func.h:29, from filter_func.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_func.h:29, from filter_func.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_func.h:29, from filter_func.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from filter_func.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from filter_func.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from filter_func.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from filter_func.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from filter_func.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from filter_func.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from filter_func.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_func.cpp:25: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ filter_func.cpp: In member function 'virtual bool FilterFunctionPlugin::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_func.cpp:658:16: warning: format '%i' expects argument of type 'int', but argument 2 has type 'std::vector >::size_type' {aka 'long unsigned int'} [-Wformat=] qDebug("Now mesh has %i vertex float attribute",AllVertexAttribName.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_func.h:29, from filter_func.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_func.h:29, from filter_func.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include/muParser -I/usr/X11R6/include -I. filter_func.h -o moc_filter_func.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include/muParser -I/usr/X11R6/include -I. -o moc_filter_func.o moc_filter_func.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from moc_filter_func.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_func.h:29, from moc_filter_func.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_func.h:29, from moc_filter_func.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_func.h:29, from moc_filter_func.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from moc_filter_func.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from moc_filter_func.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from moc_filter_func.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from moc_filter_func.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from moc_filter_func.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from moc_filter_func.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_func.h:29, from moc_filter_func.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_func.h:29, from moc_filter_func.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_func.h:29, from moc_filter_func.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_func.so g++ -Wl,-z,relro -shared -o libfilter_func.so filter_func.o moc_filter_func.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lmuparser -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_func.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_func' cd meshlabplugins/filter_img_patch_param/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_img_patch_param' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_img_patch_param.o filter_img_patch_param.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/glw/glw.h:4, from filter_img_patch_param.h:34, from filter_img_patch_param.cpp:24: ../../../../vcglib/wrap/glw/./context.h: In member function 'typename glw::Context::BindingHandleFromBinding::Type glw::Context::bind(typename glw::Context::SafeHandleFromBinding::Type&, const typename glw::detail::ParamsOf::Type&)': ../../../../vcglib/wrap/glw/./context.h:568:75: warning: typedef 'BindingParamsType' locally defined but not used [-Wunused-local-typedefs] typedef typename detail::ParamsOf::Type BindingParamsType; ^~~~~~~~~~~~~~~~~ filter_img_patch_param.cpp: In member function 'virtual bool FilterImgPatchParamPlugin::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_img_patch_param.cpp:201:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if( glewInit() != GLEW_OK ) ^~ filter_img_patch_param.cpp:204:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' glPushAttrib(GL_ALL_ATTRIB_BITS); ^~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = Patch]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = Patch]' /usr/include/qt4/QtCore/qvector.h:281:41: required from 'void QVector::push_back(const T&) [with T = Patch]' filter_img_patch_param.cpp:615:53: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'T* QVector::erase(QVector::iterator, QVector::iterator) [with T = Patch; QVector::iterator = Patch*]': /usr/include/qt4/QtCore/qvector.h:256:66: required from 'T* QVector::erase(QVector::iterator) [with T = Patch; QVector::iterator = Patch*]' /usr/include/qt4/QtCore/qvector.h:283:45: required from 'void QVector::pop_back() [with T = Patch]' filter_img_patch_param.cpp:784:30: required from here /usr/include/qt4/QtCore/qvector.h:642:16: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct Patch' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memmove(p->array + f, p->array + l, (d->size-l)*sizeof(T)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from filter_img_patch_param.h:33, from filter_img_patch_param.cpp:24: Patch.h:38:8: note: 'struct Patch' declared here struct Patch ^~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_img_patch_param.h:31, from filter_img_patch_param.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ filter_img_patch_param.cpp: In member function 'virtual void FilterImgPatchParamPlugin::initParameterSet(QAction*, MeshDocument&, RichParameterSet&)': filter_img_patch_param.cpp:145:169: warning: this statement may fall through [-Wimplicit-fallthrough=] "Highest values increase the robustness of the color correction process in the case of strong image-to-geometry misalignments" ) ); ^ filter_img_patch_param.cpp:147:9: note: here case FP_PATCH_PARAM_ONLY: ^~~~ In file included from filter_img_patch_param.cpp:27: ../../../../vcglib/vcg/space/rect_packer.h: In member function 'void FilterImgPatchParamPlugin::patchPacking(RasterPatchMap&, int, bool)': ../../../../vcglib/vcg/space/rect_packer.h:202:28: warning: 'bestsy' may be used uninitialized in this function [-Wmaybe-uninitialized] int bestx,besty,bestsx,bestsy,bestArea; ^~~~~~ ../../../../vcglib/vcg/space/rect_packer.h:255:34: warning: 'bestsx' may be used uninitialized in this function [-Wmaybe-uninitialized] if( bestsx==global_size[0] && bestsy==global_size[1] ) ../../../../vcglib/vcg/space/rect_packer.h:202:21: note: 'bestsx' was declared here int bestx,besty,bestsx,bestsy,bestArea; ^~~~~~ filter_img_patch_param.cpp:825:16: warning: 'coveredArea.vcg::Point2::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] scaleU = 1.0f / coveredArea.X(); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o VisibleSet.o VisibleSet.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from VisibleSet.h:30, from VisibleSet.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from VisibleSet.h:30, from VisibleSet.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from VisibleSet.h:30, from VisibleSet.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from VisibleSet.h:30, from VisibleSet.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from VisibleSet.h:30, from VisibleSet.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from VisibleSet.h:30, from VisibleSet.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from VisibleSet.h:30, from VisibleSet.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from VisibleSet.h:30, from VisibleSet.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from VisibleSet.h:30, from VisibleSet.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from VisibleSet.h:30, from VisibleSet.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from VisibleSet.h:30, from VisibleSet.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/glw/glw.h:4, from VisibleSet.h:31, from VisibleSet.cpp:24: ../../../../vcglib/wrap/glw/./context.h: In member function 'typename glw::Context::BindingHandleFromBinding::Type glw::Context::bind(typename glw::Context::SafeHandleFromBinding::Type&, const typename glw::detail::ParamsOf::Type&)': ../../../../vcglib/wrap/glw/./context.h:568:75: warning: typedef 'BindingParamsType' locally defined but not used [-Wunused-local-typedefs] typedef typename detail::ParamsOf::Type BindingParamsType; ^~~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/math/shot.h:133, from ../../../../vcglib/vcg/complex/complex.h:33, from ../../common/meshmodel.h:38, from VisibleSet.h:30, from VisibleSet.cpp:24: ../../../../vcglib/vcg/math/camera.h: In instantiation of 'vcg::Point2 vcg::Camera::Project(const vcg::Point3&) const [with S = float]': ../../../../vcglib/vcg/math/shot.h:405:13: required from 'vcg::Point2 vcg::Shot::Project(const vcg::Point3&) const [with S = float; RotationType = vcg::Matrix44]' VisibleSet.cpp:102:55: required from here ../../../../vcglib/vcg/math/camera.h:253:17: warning: variable 'd' set but not used [-Wunused-but-set-variable] vcg::Point2 d = Point2(p[0],p[1]); ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o VisibilityCheck.o VisibilityCheck.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/glw/glw.h:4, from VisibilityCheck.h:31, from VisibilityCheck.cpp:24: ../../../../vcglib/wrap/glw/./context.h: In member function 'typename glw::Context::BindingHandleFromBinding::Type glw::Context::bind(typename glw::Context::SafeHandleFromBinding::Type&, const typename glw::detail::ParamsOf::Type&)': ../../../../vcglib/wrap/glw/./context.h:568:75: warning: typedef 'BindingParamsType' locally defined but not used [-Wunused-local-typedefs] typedef typename detail::ParamsOf::Type BindingParamsType; ^~~~~~~~~~~~~~~~~ VisibilityCheck.cpp: In member function 'virtual void VisibilityCheck_ShadowMap::setMesh(CMeshO*)': VisibilityCheck.cpp:507:25: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if(!hfb->isComplete()); ^ VisibilityCheck.cpp:507:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!hfb->isComplete()); ^~ VisibilityCheck.cpp:508:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' { ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../../common/filterscript.h:27, from ../../common/meshmodel.h:62, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../../common/filterscript.h:27, from ../../common/meshmodel.h:62, from VisibilityCheck.h:30, from VisibilityCheck.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o TexturePainter.o TexturePainter.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/glw/glw.h:4, from TexturePainter.h:31, from TexturePainter.cpp:25: ../../../../vcglib/wrap/glw/./context.h: In member function 'typename glw::Context::BindingHandleFromBinding::Type glw::Context::bind(typename glw::Context::SafeHandleFromBinding::Type&, const typename glw::detail::ParamsOf::Type&)': ../../../../vcglib/wrap/glw/./context.h:568:75: warning: typedef 'BindingParamsType' locally defined but not used [-Wunused-local-typedefs] typedef typename detail::ParamsOf::Type BindingParamsType; ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../../common/filterscript.h:27, from ../../common/meshmodel.h:62, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = Patch]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = Patch]' /usr/include/qt4/QtCore/qvector.h:147:45: required from 'void QVector::detach() [with T = Patch]' /usr/include/qt4/QtCore/qvector.h:247:31: required from 'T* QVector::begin() [with T = Patch; QVector::iterator = Patch*]' TexturePainter.cpp:239:51: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../../common/filterscript.h:27, from ../../common/meshmodel.h:62, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../../common/filterscript.h:27, from ../../common/meshmodel.h:62, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../../common/filterscript.h:27, from ../../common/meshmodel.h:62, from Patch.h:30, from TexturePainter.h:30, from TexturePainter.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_img_patch_param.h -o moc_filter_img_patch_param.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_img_patch_param.o moc_filter_img_patch_param.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/glw/glw.h:4, from filter_img_patch_param.h:34, from moc_filter_img_patch_param.cpp:9: ../../../../vcglib/wrap/glw/./context.h: In member function 'typename glw::Context::BindingHandleFromBinding::Type glw::Context::bind(typename glw::Context::SafeHandleFromBinding::Type&, const typename glw::detail::ParamsOf::Type&)': ../../../../vcglib/wrap/glw/./context.h:568:75: warning: typedef 'BindingParamsType' locally defined but not used [-Wunused-local-typedefs] typedef typename detail::ParamsOf::Type BindingParamsType; ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_img_patch_param.h:31, from moc_filter_img_patch_param.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_img_patch_param.so g++ -Wl,-z,relro -shared -o libfilter_img_patch_param.so filter_img_patch_param.o VisibleSet.o VisibilityCheck.o TexturePainter.o moc_filter_img_patch_param.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_img_patch_param.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_img_patch_param' cd meshlabplugins/filter_isoparametrization/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_isoparametrization' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I. -I../../external/levmar-2.3 -I/usr/X11R6/include -I. -o filter_isoparametrization.o filter_isoparametrization.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from filter_isoparametrization.cpp:28: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ./param_collapse.h:7, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ../../../../vcglib/vcg/complex/algorithms/local_optimization.h: In member function 'void vcg::LocalOptimization::ClearHeapOld()': ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:395:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(hi=h.begin();hi!=h.end();++hi) ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:403:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' make_heap(h.begin(),h.end()); ^~~~~~~~~ In file included from ./param_collapse.h:8, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h: In member function 'vcg::tri::TriEdgeCollapseQuadric::ScalarType vcg::tri::TriEdgeCollapseQuadric::ComputePriority(vcg::BaseParameterClass*)': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:370:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(x.F() = v[0]->VFp(), x.I() = v[0]->VFi(); x.F()!=0; ++x ) // for all faces in v0 ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:374:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(x.F() = v[1]->VFp(), x.I() = v[1]->VFi(); x.F()!=0; ++x ) // for all faces in v1 ^~~ In file included from ./local_parametrization.h:8, from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./texcoord_optimization.h: In function 'bool vcg::tri::IsTexCoordFoldFree(MESH_TYPE&)': ./texcoord_optimization.h:898:67: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TexCoordType::PointType PointType; ^~~~~~~~~ ./texcoord_optimization.h: In function 'int vcg::tri::MarkTexCoordFolds(MESH_TYPE&)': ./texcoord_optimization.h:920:67: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TexCoordType::PointType PointType; ^~~~~~~~~ In file included from ./local_parametrization.h:9, from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./mesh_operators.h: In function 'void FindSortedBorderVertices(const MeshType&, typename MeshType::VertexType*, std::vector&)': ./mesh_operators.h:183:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h:184:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./mesh_operators.h:185:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./mesh_operators.h: In function 'void CopyMeshFromFaces(const std::vector&, std::vector&, MeshType&)': ./mesh_operators.h:214:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h:215:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./mesh_operators.h: In function 'void CopySubMeshLevels(std::vector&, MeshType&, MeshType&)': ./mesh_operators.h:294:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./mesh_operators.h: In function 'bool getSharedFace(typename MeshType::VertexType*, typename MeshType::VertexType*, std::vector&, std::vector&, std::vector&)': ./mesh_operators.h:355:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./mesh_operators.h:357:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ In file included from ./local_parametrization.h:9, from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./mesh_operators.h: In function 'void getSharedFace(std::vector&, std::vector&)': ./mesh_operators.h:401:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'void CopyMeshFromVertices(std::vector&, std::vector&, std::vector&, MeshType&)': ./mesh_operators.h:434:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h:435:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./mesh_operators.h: In function 'void getSharedVertex(const std::vector&, std::vector&)': ./mesh_operators.h:552:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'void getVertexStar(typename MeshType::VertexType*, std::vector&)': ./mesh_operators.h:600:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./mesh_operators.h:602:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'void getSharedVertexStar(typename MeshType::VertexType*, typename MeshType::VertexType*, std::vector&)': ./mesh_operators.h:629:38: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType FaceType; ^~~~~~~~ ./mesh_operators.h:630:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'typename MeshType::ScalarType StarAspectRatio(const std::vector&)': ./mesh_operators.h:647:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./mesh_operators.h:649:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'typename MeshType::ScalarType StarDispersion(const std::vector&)': ./mesh_operators.h:667:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./mesh_operators.h:669:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'void getAroundFaceVertices(typename MeshType::VertexType*, typename MeshType::VertexType*, std::vector&, std::vector&, std::vector&, std::vector&)': ./mesh_operators.h:723:38: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType FaceType; ^~~~~~~~ ./mesh_operators.h: In function 'void CopyHlevMesh(std::vector&, MeshType&, std::vector&)': ./mesh_operators.h:765:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./local_parametrization.h: In function 'void ParametrizeExternal(MeshType&)': ./local_parametrization.h:21:38: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType FaceType; ^~~~~~~~ ./local_parametrization.h:22:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./local_parametrization.h: In function 'void MeanVal(const std::vector >&, std::vector&, typename MeshType::CoordType&)': ./local_parametrization.h:381:38: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType FaceType; ^~~~~~~~ ./local_parametrization.h:382:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./local_parametrization.h: In function 'void ForceInParam(vcg::Point2&, MeshType&)': ./local_parametrization.h:689:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:691:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./local_parametrization.h: In function 'bool testParametrization(MeshType&, MeshType&)': ./local_parametrization.h:820:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:821:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./local_parametrization.h: In function 'bool NonFolded(MeshType&)': ./local_parametrization.h:899:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:901:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./local_parametrization.h: In function 'bool NonFolded(MeshType&, std::vector&)': ./local_parametrization.h:926:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:928:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./local_parametrization.h: In function 'void ParametrizeStarEquilateral(MeshType&, const typename MeshType::ScalarType&)': ./local_parametrization.h:956:38: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType FaceType; ^~~~~~~~ ./local_parametrization.h:957:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h: In function 'void ParametrizeDiamondEquilateral(MeshType&, const int&, const int&, const typename MeshType::ScalarType&)': ./local_parametrization.h:1067:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h: In function 'void ParametrizeFaceEquilateral(MeshType&, const typename MeshType::ScalarType&)': ./local_parametrization.h:1115:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:1117:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType VertexType; ^~~~~~~~~~ ./local_parametrization.h: In function 'void ParametrizeLocally(MeshType&, const std::vector&, std::vector&, std::vector&)': ./local_parametrization.h:1138:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:1139:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::ScalarType ScalarType; ^~~~~~~~~~ ./local_parametrization.h: In function 'bool GetBaryFaceFromUV(std::vector, const typename FaceType::ScalarType&, const typename FaceType::ScalarType&, typename FaceType::CoordType&, int&)': ./local_parametrization.h:1234:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:1236:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType VertexType; ^~~~~~~~~~ In file included from ./param_collapse.h:18, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./uv_grid.h: In member function 'bool UVGrid::getClosest(const vcg::Point2&, UVGrid::FaceType*&, UVGrid::CoordType&)': ./uv_grid.h:188:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (unsigned int j=0;j&, std::vector&, MeshType&)': ./iso_parametrization.h:126:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./iso_parametrization.h:127:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./iso_parametrization.h: In function 'void CopyMeshFromVerticesAbs(std::vector&, std::vector&, std::vector&, MeshType&)': ./iso_parametrization.h:195:46: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./iso_parametrization.h:196:47: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./iso_parametrization.h: In member function 'void IsoParametrization::inv_GE1Quad(const int&, const vcg::Point2&, int&, vcg::Point2&)': ./iso_parametrization.h:1531:27: warning: variable 'c2' set but not used [-Wunused-but-set-variable] vcg::Point2 c2=vcg::Point2(0,(ScalarType)0.5); ^~ ./iso_parametrization.h: In member function 'void IsoParametrization::GE1Quad(const int&, const vcg::Point2&, int&, vcg::Point2&)': ./iso_parametrization.h:1578:27: warning: variable 'c2' set but not used [-Wunused-but-set-variable] vcg::Point2 c2=vcg::Point2(0,(ScalarType)0.5); ^~ ./iso_parametrization.h: In member function 'void IsoParametrization::GE1Quad(const int&, const vcg::Point2&, vcg::Point2&)': ./iso_parametrization.h:1605:27: warning: variable 'c2' set but not used [-Wunused-but-set-variable] vcg::Point2 c2=vcg::Point2(0,(ScalarType)0.5); ^~ ./iso_parametrization.h: In member function 'void IsoParametrization::SaveBaseDomain(char*)': ./iso_parametrization.h:1782:15: warning: variable 'RPos' set but not used [-Wunused-but-set-variable] CoordType RPos=vert->RPos; ^~~~ In file included from ./param_collapse.h:21, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./local_optimization.h: In function 'bool SmartOptimizeStar(typename MeshType::VertexType*, MeshType&, int, EnergyType)': ./local_optimization.h:328:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ In file included from ./parametrizator.h:46, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./stat_remeshing.h: In function 'typename MeshType::ScalarType MinimumAspectRatio(const MeshType&)': ./stat_remeshing.h:22:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'typename MeshType::ScalarType MinimumArea(const MeshType&)': ./stat_remeshing.h:41:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'typename MeshType::ScalarType MaximumArea(const MeshType&)': ./stat_remeshing.h:60:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'typename MeshType::ScalarType MinAngle(const MeshType&)': ./stat_remeshing.h:120:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'typename MeshType::ScalarType MaxAngle(const MeshType&)': ./stat_remeshing.h:137:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'void MaxMinEdge(const MeshType&, typename MeshType::ScalarType&, typename MeshType::ScalarType&)': ./stat_remeshing.h:155:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'void StatAngle(MeshType&, typename MeshType::ScalarType&, typename MeshType::ScalarType&, typename MeshType::ScalarType&, typename MeshType::ScalarType&)': ./stat_remeshing.h:260:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ In file included from ./filter_isoparametrization.h:31, from filter_isoparametrization.cpp:29: ./diamond_sampler.h: In member function 'void DiamSampler::GetMesh(OutputMesh&)': ./diamond_sampler.h:107:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (unsigned int j=0;j2) ^ filter_isoparametrization.cpp:371:8: note: add parentheses around left hand side expression to silence this warning if (!SamplingRate>2) ^~~~~~~~~~~~~ ( ) filter_isoparametrization.cpp:371:21: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] if (!SamplingRate>2) ~~~~~~~~~~~~~^~ In file included from ./param_collapse.h:18, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./uv_grid.h: In instantiation of 'bool UVGrid::getClosest(const vcg::Point2&, UVGrid::FaceType*&, UVGrid::CoordType&) [with MeshType = ParamMesh; typename MESH_TYPE::ScalarType = float; UVGrid::FaceType = ParamFace; UVGrid::CoordType = vcg::Point3]': ./iso_parametrization.h:386:52: required from here ./uv_grid.h:185:16: warning: variable 'cell' set but not used [-Wunused-but-set-variable] vcg::Point2i cell=Cell(UVTest); ^~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./local_parametrization.h: In instantiation of 'bool testParametrization(MeshType&, MeshType&) [with MeshType = BaseMesh]': ./parametrizator.h:297:54: required from here ./local_parametrization.h:834:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\n ADDRESS EXCEEDS OF %d \n",v->father-&(*domain.face.begin())); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./local_parametrization.h: In instantiation of 'void AssingFather(typename MeshType::VertexType&, typename MeshType::FaceType*, typename MeshType::CoordType&, MeshType&) [with MeshType = BaseMesh; typename MeshType::VertexType = BaseVertex; typename MeshType::FaceType = BaseFace; typename MeshType::CoordType = vcg::Point3]': ./parametrizator.h:332:41: required from here ./local_parametrization.h:798:30: warning: unused parameter 'domain' [-Wunused-parameter] MeshType & domain) ~~~~~~~~~~~^~~~~~ ./local_parametrization.h: In instantiation of 'bool NonFolded(MeshType&) [with MeshType = AbstractMesh]': ./local_parametrization.h:1026:17: required from 'void ParametrizeStarEquilateral(MeshType&, const typename MeshType::ScalarType&) [with MeshType = AbstractMesh; typename MeshType::ScalarType = float]' ./iso_parametrization.h:452:76: required from here ./local_parametrization.h:912:31: warning: variable 't2d' set but not used [-Wunused-but-set-variable] vcg::Triangle2 t2d=vcg::Triangle2(tex0,tex1,tex2); ^~~ In file included from ./parametrizator.h:35, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./dual_coord_optimization.h: In instantiation of 'void BaryOptimizatorDual::InitDiamondEquilateral(const ScalarType&) [with MeshType = BaseMesh; BaryOptimizatorDual::ScalarType = float]': ./dual_coord_optimization.h:594:3: required from 'void BaryOptimizatorDual::Init(MeshType&, MeshType&, bool (*)(int, const char*), int, EnergyType) [with MeshType = BaseMesh; vcg::CallBackPos = bool(int, const char*)]' ./parametrizator.h:752:55: required from here ./dual_coord_optimization.h:89:38: warning: variable 'entry' set but not used [-Wunused-but-set-variable] std::pair entry=std::pair(f0,f1); ^~~~~ ./dual_coord_optimization.h: In instantiation of 'void BaryOptimizatorDual::MinimizeStep(const int&) [with MeshType = BaseMesh]': ./dual_coord_optimization.h:642:4: required from 'void BaryOptimizatorDual::Optimize(BaryOptimizatorDual::ScalarType, int) [with MeshType = BaseMesh; BaryOptimizatorDual::ScalarType = float]' ./parametrizator.h:753:52: required from here ./dual_coord_optimization.h:472:11: warning: variable 'IsOK' set but not used [-Wunused-but-set-variable] bool IsOK=true; ^~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./local_parametrization.h: In instantiation of 'bool NonFolded(MeshType&) [with MeshType = BaseMesh]': ./local_parametrization.h:1026:17: required from 'void ParametrizeStarEquilateral(MeshType&, const typename MeshType::ScalarType&) [with MeshType = BaseMesh; typename MeshType::ScalarType = float]' ./local_optimization.h:74:38: required from 'typename MeshType::ScalarType StarDistorsion(typename MeshType::VertexType*) [with MeshType = BaseMesh; typename MeshType::ScalarType = float; typename MeshType::VertexType = BaseVertex]' ./parametrizator.h:360:63: required from here ./local_parametrization.h:912:31: warning: variable 't2d' set but not used [-Wunused-but-set-variable] vcg::Triangle2 t2d=vcg::Triangle2(tex0,tex1,tex2); ^~~ ./local_parametrization.h: In instantiation of 'bool NonFolded(MeshType&, std::vector&) [with MeshType = BaseMesh; typename CleanMeshType::FaceType = BaseFace]': ./local_optimization.h:14:36: required from 'bool UnFold(MeshType&, int, bool) [with MeshType = BaseMesh]' ./local_optimization.h:179:25: required from 'void OptimizeStar(typename MeshType::VertexType*, MeshType&, int, EnergyType) [with MeshType = BaseMesh; typename MeshType::VertexType = BaseVertex]' ./local_optimization.h:345:25: required from 'bool SmartOptimizeStar(typename MeshType::VertexType*, MeshType&, int, EnergyType) [with MeshType = BaseMesh; typename MeshType::VertexType = BaseVertex]' ./parametrizator.h:370:85: required from here ./local_parametrization.h:942:31: warning: variable 't2d' set but not used [-Wunused-but-set-variable] vcg::Triangle2 t2d=vcg::Triangle2(tex0,tex1,tex2); ^~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_isoparametrization.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_isoparametrization.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./local_parametrization.h: In instantiation of 'typename MeshType::ScalarType EstimateAreaByParam(const typename MeshType::VertexType*, const typename MeshType::VertexType*, typename MeshType::FaceType**) [with MeshType = BaseMesh; typename MeshType::ScalarType = float; typename MeshType::VertexType = BaseVertex; typename MeshType::FaceType = BaseFace]': ./param_collapse.h:70:54: required from 'vcg::tri::ParamEdgeCollapse::ScalarType vcg::tri::ParamEdgeCollapse::Cost() [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeCollapse::ScalarType = float]' ./param_collapse.h:302:10: required from 'vcg::tri::ParamEdgeCollapse::ScalarType vcg::tri::ParamEdgeCollapse::ComputePriority(vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeCollapse::ScalarType = float]' ./param_collapse.h:59:28: required from 'vcg::tri::ParamEdgeCollapse::ParamEdgeCollapse(const VertexPair&, int, vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; vcg::tri::VertexPair = vcg::tri::BasicVertexPair]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:229:34: required from 'static void vcg::tri::TriEdgeCollapse::Init(TriMeshType&, vcg::tri::TriEdgeCollapse::HeapType&, vcg::BaseParameterClass*) [with TriMeshType = BaseMesh; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::ParamEdgeCollapse; vcg::tri::TriEdgeCollapse::HeapType = std::vector::HeapElem, std::allocator::HeapElem> >]' ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:353:32: required from 'void vcg::LocalOptimization::Init() [with LocalModificationType = MyTriEdgeCollapse; MeshType = BaseMesh]' ./parametrizator.h:189:40: required from here ./local_parametrization.h:461:14: warning: variable 'v2' set but not used [-Wunused-but-set-variable] VertexType *v2[2]; ^~ In file included from ./parametrizator.h:8, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./param_flip.h: In instantiation of 'vcg::tri::ParamEdgeFlip::ScalarType vcg::tri::ParamEdgeFlip::EdgeDiff() [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeFlip::ScalarType = float]': ./param_flip.h:304:21: required from 'vcg::tri::ParamEdgeFlip::ScalarType vcg::tri::ParamEdgeFlip::ComputePriority(vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeFlip::ScalarType = float]' ./param_flip.h:46:29: required from 'vcg::tri::ParamEdgeFlip::ParamEdgeFlip(typename vcg::tri::ParamEdgeFlip::Super::PosType, int, vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; typename vcg::tri::ParamEdgeFlip::Super::PosType = vcg::face::Pos]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:106:25: required from 'static void vcg::tri::PlanarEdgeFlip::Insert(vcg::tri::PlanarEdgeFlip::HeapType&, vcg::tri::PlanarEdgeFlip::PosType&, int, vcg::BaseParameterClass*) [with TRIMESH_TYPE = BaseMesh; MYTYPE = vcg::tri::ParamEdgeFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality; vcg::tri::PlanarEdgeFlip::HeapType = std::vector::HeapElem, std::allocator::HeapElem> >; vcg::tri::PlanarEdgeFlip::PosType = vcg::face::Pos; typename UpdateMeshType::FaceType = BaseFace]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:303:21: required from 'static void vcg::tri::PlanarEdgeFlip::Init(TRIMESH_TYPE&, vcg::tri::PlanarEdgeFlip::HeapType&, vcg::BaseParameterClass*) [with TRIMESH_TYPE = BaseMesh; MYTYPE = vcg::tri::ParamEdgeFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality; vcg::tri::PlanarEdgeFlip::HeapType = std::vector::HeapElem, std::allocator::HeapElem> >]' ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:353:32: required from 'void vcg::LocalOptimization::Init() [with LocalModificationType = MyTriEdgeFlip; MeshType = BaseMesh]' ./parametrizator.h:918:36: required from here ./param_flip.h:163:15: warning: variable 'v0' set but not used [-Wunused-but-set-variable] VertexType *v0, *v1, *v2, *v3; ^~ ./param_flip.h:163:20: warning: variable 'v1' set but not used [-Wunused-but-set-variable] VertexType *v0, *v1, *v2, *v3; ^~ ./param_flip.h:163:25: warning: variable 'v2' set but not used [-Wunused-but-set-variable] VertexType *v0, *v1, *v2, *v3; ^~ ./param_flip.h:163:30: warning: variable 'v3' set but not used [-Wunused-but-set-variable] VertexType *v0, *v1, *v2, *v3; ^~ ./param_flip.h: In instantiation of 'void vcg::tri::ParamEdgeFlip::ExecuteFlip(vcg::tri::ParamEdgeFlip::FaceType&, const int&, BaseMesh*) [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeFlip::FaceType = BaseFace]': ./param_flip.h:201:3: required from 'vcg::tri::ParamEdgeFlip::ScalarType vcg::tri::ParamEdgeFlip::EdgeDiff() [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeFlip::ScalarType = float]' ./param_flip.h:304:21: required from 'vcg::tri::ParamEdgeFlip::ScalarType vcg::tri::ParamEdgeFlip::ComputePriority(vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeFlip::ScalarType = float]' ./param_flip.h:46:29: required from 'vcg::tri::ParamEdgeFlip::ParamEdgeFlip(typename vcg::tri::ParamEdgeFlip::Super::PosType, int, vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; typename vcg::tri::ParamEdgeFlip::Super::PosType = vcg::face::Pos]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:106:25: required from 'static void vcg::tri::PlanarEdgeFlip::Insert(vcg::tri::PlanarEdgeFlip::HeapType&, vcg::tri::PlanarEdgeFlip::PosType&, int, vcg::BaseParameterClass*) [with TRIMESH_TYPE = BaseMesh; MYTYPE = vcg::tri::ParamEdgeFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality; vcg::tri::PlanarEdgeFlip::HeapType = std::vector::HeapElem, std::allocator::HeapElem> >; vcg::tri::PlanarEdgeFlip::PosType = vcg::face::Pos; typename UpdateMeshType::FaceType = BaseFace]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:303:21: required from 'static void vcg::tri::PlanarEdgeFlip::Init(TRIMESH_TYPE&, vcg::tri::PlanarEdgeFlip::HeapType&, vcg::BaseParameterClass*) [with TRIMESH_TYPE = BaseMesh; MYTYPE = vcg::tri::ParamEdgeFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality; vcg::tri::PlanarEdgeFlip::HeapType = std::vector::HeapElem, std::allocator::HeapElem> >]' ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:353:32: required from 'void vcg::LocalOptimization::Init() [with LocalModificationType = MyTriEdgeFlip; MeshType = BaseMesh]' ./parametrizator.h:918:36: required from here ./param_flip.h:66:28: warning: variable 't0' set but not used [-Wunused-but-set-variable] vcg::Point2 t0=father->V(0)->T().P(); ^~ ./param_flip.h:67:28: warning: variable 't1' set but not used [-Wunused-but-set-variable] vcg::Point2 t1=father->V(1)->T().P(); ^~ ./param_flip.h:68:28: warning: variable 't2' set but not used [-Wunused-but-set-variable] vcg::Point2 t2=father->V(2)->T().P(); ^~ In file included from ./param_collapse.h:9, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h: In instantiation of 'const char* vcg::tri::PlanarEdgeFlip::Info(TRIMESH_TYPE&) [with TRIMESH_TYPE = BaseMesh; MYTYPE = vcg::tri::ParamEdgeFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:284:14: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(dump,"%d -> %d %g\n", _pos.F()->V(0)-&m.vert[0], _pos.F()->V(1)-&m.vert[0],-_priority); ^~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] In file included from ./local_parametrization.h:8, from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./texcoord_optimization.h: In instantiation of 'void vcg::tri::AreaPreservingTexCoordOptimization::UpdateSum(const double&) [with MESH_TYPE = BaseMesh]': ./texcoord_optimization.h:408:2: required from 'vcg::tri::AreaPreservingTexCoordOptimization::ScalarType vcg::tri::AreaPreservingTexCoordOptimization::Iterate() [with MESH_TYPE = BaseMesh; vcg::tri::AreaPreservingTexCoordOptimization::ScalarType = float]' ./texcoord_optimization.h:399:13: required from here ./texcoord_optimization.h:362:13: warning: variable 'f' set but not used [-Wunused-but-set-variable] FaceType *f; ^ In file included from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./param_collapse.h: In instantiation of 'void vcg::tri::ParamEdgeCollapse::UpdateFF(vcg::tri::VertexPair&) [with BaseMesh = BaseMesh; vcg::tri::VertexPair = vcg::tri::BasicVertexPair]': ./param_collapse.h:634:3: required from 'void vcg::tri::ParamEdgeCollapse::Execute(BaseMesh&, vcg::BaseParameterClass*) [with BaseMesh = BaseMesh]' ./param_collapse.h:594:6: required from here ./param_collapse.h:326:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (face->V(0)==posEdge.V(1))&&(face->V(1)==posEdge.V(0))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./param_collapse.h:330:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (face->V(1)==posEdge.V(1))&&(face->V(2)==posEdge.V(0))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./param_collapse.h:334:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (face->V(2)==posEdge.V(1))&&(face->V(0)==posEdge.V(0))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./local_parametrization.h: In instantiation of 'void ParametrizeLocally(MeshType&, bool, bool) [with MeshType = BaseMesh]': ./param_collapse.h:397:30: required from 'void vcg::tri::ParamEdgeCollapse::CreatePreCollapseSubmesh(vcg::tri::VertexPair&, BaseMesh&, std::vector&, std::vector&) [with BaseMesh = BaseMesh; vcg::tri::VertexPair = vcg::tri::BasicVertexPair; typename FaceType::VertexType = BaseVertex; typename CleanMeshType::FaceType = BaseFace]' ./param_collapse.h:630:5: required from 'void vcg::tri::ParamEdgeCollapse::Execute(BaseMesh&, vcg::BaseParameterClass*) [with BaseMesh = BaseMesh]' ./param_collapse.h:594:6: required from here ./local_parametrization.h:604:49: warning: variable 't2d' set but not used [-Wunused-but-set-variable] vcg::Triangle2 t2d=vcg::Triangle2(tex0,tex1,tex2); ^~~ In file included from ./statistics.h:1, from ./local_optimization.h:4, from ./param_collapse.h:21, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./iso_parametrization.h: In member function 'bool IsoParametrization::LoadBaseDomain(char*, MeshType*, ParamMesh*, AbstractMesh*, bool) [with MeshType = CMeshO]': ./iso_parametrization.h:1860:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d,%d \n",&abstract_mesh->fn,&abstract_mesh->vn); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./iso_parametrization.h:1868:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%f,%f,%f;\n",&pos.X(),&pos.Y(),&pos.Z()); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./iso_parametrization.h:1879:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d,%d,%d \n",&index0,&index1,&index2); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from filter_isoparametrization.cpp:30: ./iso_transfer.h: In member function 'void IsoTransfer::Transfer(IsoParametrization&, MeshType&) [with MeshType = CMeshO]': ./iso_transfer.h:117:13: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] system("pause"); ~~~~~~^~~~~~~~~ In file included from ./filter_isoparametrization.h:32, from filter_isoparametrization.cpp:29: ./diam_parametrization.h: In member function 'bool DiamondParametrizator::To_Split(FaceType*, const float&, bool*, DiamondParametrizator::InterpData*) [with FaceType = ParamFace]': ./diam_parametrization.h:160:18: warning: '*((void*)& p_inters +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] vcg::Point2f p_inters; ^~~~~~~~ ./diam_parametrization.h:160:18: warning: 'p_inters' may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from ../../../../vcglib/vcg/space/triangle3.h:32, from ../../../../vcglib/vcg/simplex/face/component.h:28, from ../../../../vcglib/vcg/simplex/face/base.h:31, from ../../common/meshmodel.h:34, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/space/triangle2.h: In member function 'bool DiamSampler::SamplePos(const int&)': ../../../../vcglib/vcg/space/triangle2.h:105:31: warning: 'closest.vcg::Point2::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] L1=((y2-y3)*(x-x3)+(x3-x2)*(y-y3))/((y2-y3)*(x1-x3)+(x3-x2)*(y1-y3)); ~~^~~~ In file included from ./param_collapse.h:18, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./uv_grid.h:196:30: note: 'closest.vcg::Point2::_v[1]' was declared here vcg::Point2 closest; ^~~~~~~ In file included from ../../../../vcglib/vcg/space/triangle3.h:32, from ../../../../vcglib/vcg/simplex/face/component.h:28, from ../../../../vcglib/vcg/simplex/face/base.h:31, from ../../common/meshmodel.h:34, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/space/triangle2.h:105:16: warning: 'closest.vcg::Point2::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] L1=((y2-y3)*(x-x3)+(x3-x2)*(y-y3))/((y2-y3)*(x1-x3)+(x3-x2)*(y1-y3)); ~~^~~~ In file included from ./param_collapse.h:18, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./uv_grid.h:196:30: note: 'closest.vcg::Point2::_v[0]' was declared here vcg::Point2 closest; ^~~~~~~ In file included from ../../../../vcglib/vcg/space/point2.h:25, from ../../../../vcglib/vcg/space/texcoord2.h:27, from ../../../../vcglib/vcg/simplex/vertex/base.h:72, from ../../common/meshmodel.h:31, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/space/deprecated_point2.h: In function 'void ForceInParam(vcg::Point2&, MeshType&) [with MeshType = BaseMesh]': ../../../../vcglib/vcg/space/deprecated_point2.h:157:60: warning: 'closest.vcg::Point2::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point2( _v[0]+p._v[0], _v[1]+p._v[1] ); ^ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./local_parametrization.h:694:26: note: 'closest.vcg::Point2::_v[0]' was declared here vcg::Point2 closest; ^~~~~~~ In file included from ../../../../vcglib/vcg/space/point2.h:25, from ../../../../vcglib/vcg/space/texcoord2.h:27, from ../../../../vcglib/vcg/simplex/vertex/base.h:72, from ../../common/meshmodel.h:31, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/space/deprecated_point2.h:157:60: warning: 'closest.vcg::Point2::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point2( _v[0]+p._v[0], _v[1]+p._v[1] ); ^ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./local_parametrization.h:694:26: note: 'closest.vcg::Point2::_v[1]' was declared here vcg::Point2 closest; ^~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/simplex/face/distance.h: In function 'bool vcg::face::PointDistanceBase(const FaceType&, const vcg::Point3&, typename FaceType::ScalarType&, vcg::Point3&) [with FaceType = ParamFace]': ../../../../vcglib/vcg/simplex/face/distance.h:430:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:392:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:355:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ In file included from ./parametrizator.h:35, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./dual_coord_optimization.h: In member function 'void BaryOptimizatorDual::MinimizeStep(const int&) [with MeshType = BaseMesh]': ./dual_coord_optimization.h:514:44: warning: 'currDom' may be used uninitialized in this function [-Wmaybe-uninitialized] ForceInParam(UV,*currDom->domain); ~~~~~~~~~^~~~~~ In file included from ./parametrizator.h:8, from ./filter_isoparametrization.h:29, from filter_isoparametrization.cpp:29: ./param_flip.h: In member function 'void vcg::tri::ParamEdgeFlip::ExecuteFlip(vcg::tri::ParamEdgeFlip::FaceType&, const int&, BaseMesh*) [with BaseMesh = BaseMesh]': ./param_flip.h:111:8: warning: 'index' may be used uninitialized in this function [-Wmaybe-uninitialized] int index; ^~~~~ In file included from ../../../../vcglib/vcg/simplex/vertex/base.h:75, from ../../common/meshmodel.h:31, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/simplex/vertex/component.h: In member function 'void DiamSampler::GetMesh(OutputMesh&) [with OutputMesh = CMeshO]': ../../../../vcglib/vcg/simplex/vertex/component.h:165:35: warning: '.vcg::vertex::Coord, vcg::Arity1, vcg::vertex::InfoOcf> >::' may be used uninitialized in this function [-Wmaybe-uninitialized] template class Coord: public T { ^~~~~ ../../../../vcglib/vcg/simplex/vertex/component.h:165:35: warning: '.vcg::vertex::Coord, vcg::Arity1, vcg::vertex::InfoOcf> >::' may be used uninitialized in this function [-Wmaybe-uninitialized] template class Coord: public T { ^~~~~ In file included from ../../../../vcglib/vcg/space/point2.h:25, from ../../../../vcglib/vcg/space/texcoord2.h:27, from ../../../../vcglib/vcg/simplex/vertex/base.h:72, from ../../common/meshmodel.h:31, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/space/deprecated_point2.h:131:15: warning: '.vcg::Point2::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; _v[1]= p._v[1]; ~~~~^ In file included from ../../../../vcglib/vcg/simplex/vertex/base.h:72, from ../../common/meshmodel.h:31, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/space/texcoord2.h:40:7: warning: '.vcg::TexCoord2::_n' may be used uninitialized in this function [-Wmaybe-uninitialized] class TexCoord2 ^~~~~~~~~ In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/space/color4.h:77, from ../../../../vcglib/vcg/simplex/vertex/base.h:73, from ../../common/meshmodel.h:31, from filter_isoparametrization.cpp:28: ../../../../vcglib/vcg/space/deprecated_point3.h:138:14: warning: '*((void*)(&)+36).vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:138:14: warning: '*((void*)(&)+36).vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; ~~~~^ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I. -I../../external/levmar-2.3 -I/usr/X11R6/include -I. filter_isoparametrization.h -o moc_filter_isoparametrization.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I. -I../../external/levmar-2.3 -I/usr/X11R6/include -I. -o moc_filter_isoparametrization.o moc_filter_isoparametrization.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ./parametrizator.h:16, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:98, from ./param_collapse.h:7, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ./param_collapse.h:7, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ../../../../vcglib/vcg/complex/algorithms/local_optimization.h: In member function 'void vcg::LocalOptimization::ClearHeapOld()': ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:395:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(hi=h.begin();hi!=h.end();++hi) ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:403:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' make_heap(h.begin(),h.end()); ^~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/edge_collapse.h:28, from ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28, from ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:82, from ./param_collapse.h:8, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ./param_collapse.h:8, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h: In member function 'vcg::tri::TriEdgeCollapseQuadric::ScalarType vcg::tri::TriEdgeCollapseQuadric::ComputePriority(vcg::BaseParameterClass*)': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:370:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(x.F() = v[0]->VFp(), x.I() = v[0]->VFi(); x.F()!=0; ++x ) // for all faces in v0 ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:374:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(x.F() = v[1]->VFp(), x.I() = v[1]->VFi(); x.F()!=0; ++x ) // for all faces in v1 ^~~ In file included from ./local_parametrization.h:8, from ./param_collapse.h:15, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./texcoord_optimization.h: In function 'bool vcg::tri::IsTexCoordFoldFree(MESH_TYPE&)': ./texcoord_optimization.h:898:67: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TexCoordType::PointType PointType; ^~~~~~~~~ ./texcoord_optimization.h: In function 'int vcg::tri::MarkTexCoordFolds(MESH_TYPE&)': ./texcoord_optimization.h:920:67: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TexCoordType::PointType PointType; ^~~~~~~~~ In file included from ./local_parametrization.h:9, from ./param_collapse.h:15, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./mesh_operators.h: In function 'void FindSortedBorderVertices(const MeshType&, typename MeshType::VertexType*, std::vector&)': ./mesh_operators.h:183:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h:184:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./mesh_operators.h:185:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./mesh_operators.h: In function 'void CopyMeshFromFaces(const std::vector&, std::vector&, MeshType&)': ./mesh_operators.h:214:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h:215:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./mesh_operators.h: In function 'void CopySubMeshLevels(std::vector&, MeshType&, MeshType&)': ./mesh_operators.h:294:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./mesh_operators.h: In function 'bool getSharedFace(typename MeshType::VertexType*, typename MeshType::VertexType*, std::vector&, std::vector&, std::vector&)': ./mesh_operators.h:355:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./mesh_operators.h:357:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ In file included from ./local_parametrization.h:9, from ./param_collapse.h:15, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./mesh_operators.h: In function 'void getSharedFace(std::vector&, std::vector&)': ./mesh_operators.h:401:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'void CopyMeshFromVertices(std::vector&, std::vector&, std::vector&, MeshType&)': ./mesh_operators.h:434:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h:435:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./mesh_operators.h: In function 'void getSharedVertex(const std::vector&, std::vector&)': ./mesh_operators.h:552:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'void getVertexStar(typename MeshType::VertexType*, std::vector&)': ./mesh_operators.h:600:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./mesh_operators.h:602:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'void getSharedVertexStar(typename MeshType::VertexType*, typename MeshType::VertexType*, std::vector&)': ./mesh_operators.h:629:38: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType FaceType; ^~~~~~~~ ./mesh_operators.h:630:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'typename MeshType::ScalarType StarAspectRatio(const std::vector&)': ./mesh_operators.h:647:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./mesh_operators.h:649:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'typename MeshType::ScalarType StarDispersion(const std::vector&)': ./mesh_operators.h:667:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./mesh_operators.h:669:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./mesh_operators.h: In function 'void getAroundFaceVertices(typename MeshType::VertexType*, typename MeshType::VertexType*, std::vector&, std::vector&, std::vector&, std::vector&)': ./mesh_operators.h:723:38: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType FaceType; ^~~~~~~~ ./mesh_operators.h: In function 'void CopyHlevMesh(std::vector&, MeshType&, std::vector&)': ./mesh_operators.h:765:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./local_parametrization.h: In function 'void ParametrizeExternal(MeshType&)': ./local_parametrization.h:21:38: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType FaceType; ^~~~~~~~ ./local_parametrization.h:22:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./local_parametrization.h: In function 'void MeanVal(const std::vector >&, std::vector&, typename MeshType::CoordType&)': ./local_parametrization.h:381:38: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType FaceType; ^~~~~~~~ ./local_parametrization.h:382:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./local_parametrization.h: In function 'void ForceInParam(vcg::Point2&, MeshType&)': ./local_parametrization.h:689:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:691:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./local_parametrization.h: In function 'bool testParametrization(MeshType&, MeshType&)': ./local_parametrization.h:820:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:821:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./local_parametrization.h: In function 'bool NonFolded(MeshType&)': ./local_parametrization.h:899:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:901:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./local_parametrization.h: In function 'bool NonFolded(MeshType&, std::vector&)': ./local_parametrization.h:926:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:928:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ ./local_parametrization.h: In function 'void ParametrizeStarEquilateral(MeshType&, const typename MeshType::ScalarType&)': ./local_parametrization.h:956:38: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType FaceType; ^~~~~~~~ ./local_parametrization.h:957:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h: In function 'void ParametrizeDiamondEquilateral(MeshType&, const int&, const int&, const typename MeshType::ScalarType&)': ./local_parametrization.h:1067:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h: In function 'void ParametrizeFaceEquilateral(MeshType&, const typename MeshType::ScalarType&)': ./local_parametrization.h:1115:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:1117:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType VertexType; ^~~~~~~~~~ ./local_parametrization.h: In function 'void ParametrizeLocally(MeshType&, const std::vector&, std::vector&, std::vector&)': ./local_parametrization.h:1138:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:1139:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::ScalarType ScalarType; ^~~~~~~~~~ ./local_parametrization.h: In function 'bool GetBaryFaceFromUV(std::vector, const typename FaceType::ScalarType&, const typename FaceType::ScalarType&, typename FaceType::CoordType&, int&)': ./local_parametrization.h:1234:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::CoordType CoordType; ^~~~~~~~~ ./local_parametrization.h:1236:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType VertexType; ^~~~~~~~~~ In file included from ./param_collapse.h:18, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./uv_grid.h: In member function 'bool UVGrid::getClosest(const vcg::Point2&, UVGrid::FaceType*&, UVGrid::CoordType&)': ./uv_grid.h:188:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (unsigned int j=0;j&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ./iso_parametrization.h:12, from ./statistics.h:1, from ./local_optimization.h:4, from ./param_collapse.h:21, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ./iso_parametrization.h:12, from ./statistics.h:1, from ./local_optimization.h:4, from ./param_collapse.h:21, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ./iso_parametrization.h:12, from ./statistics.h:1, from ./local_optimization.h:4, from ./param_collapse.h:21, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ./iso_parametrization.h:12, from ./statistics.h:1, from ./local_optimization.h:4, from ./param_collapse.h:21, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ./statistics.h:1, from ./local_optimization.h:4, from ./param_collapse.h:21, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./iso_parametrization.h: In function 'void CopyMeshFromFacesAbs(const std::vector&, std::vector&, MeshType&)': ./iso_parametrization.h:126:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./iso_parametrization.h:127:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./iso_parametrization.h: In function 'void CopyMeshFromVerticesAbs(std::vector&, std::vector&, std::vector&, MeshType&)': ./iso_parametrization.h:195:46: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./iso_parametrization.h:196:47: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ./iso_parametrization.h: In member function 'void IsoParametrization::inv_GE1Quad(const int&, const vcg::Point2&, int&, vcg::Point2&)': ./iso_parametrization.h:1531:27: warning: variable 'c2' set but not used [-Wunused-but-set-variable] vcg::Point2 c2=vcg::Point2(0,(ScalarType)0.5); ^~ ./iso_parametrization.h: In member function 'void IsoParametrization::GE1Quad(const int&, const vcg::Point2&, int&, vcg::Point2&)': ./iso_parametrization.h:1578:27: warning: variable 'c2' set but not used [-Wunused-but-set-variable] vcg::Point2 c2=vcg::Point2(0,(ScalarType)0.5); ^~ ./iso_parametrization.h: In member function 'void IsoParametrization::GE1Quad(const int&, const vcg::Point2&, vcg::Point2&)': ./iso_parametrization.h:1605:27: warning: variable 'c2' set but not used [-Wunused-but-set-variable] vcg::Point2 c2=vcg::Point2(0,(ScalarType)0.5); ^~ ./iso_parametrization.h: In member function 'void IsoParametrization::SaveBaseDomain(char*)': ./iso_parametrization.h:1782:15: warning: variable 'RPos' set but not used [-Wunused-but-set-variable] CoordType RPos=vert->RPos; ^~~~ In file included from ./param_collapse.h:21, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./local_optimization.h: In function 'bool SmartOptimizeStar(typename MeshType::VertexType*, MeshType&, int, EnergyType)': ./local_optimization.h:328:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ In file included from ./parametrizator.h:16, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ./parametrizator.h:46, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./stat_remeshing.h: In function 'typename MeshType::ScalarType MinimumAspectRatio(const MeshType&)': ./stat_remeshing.h:22:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'typename MeshType::ScalarType MinimumArea(const MeshType&)': ./stat_remeshing.h:41:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'typename MeshType::ScalarType MaximumArea(const MeshType&)': ./stat_remeshing.h:60:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'typename MeshType::ScalarType MinAngle(const MeshType&)': ./stat_remeshing.h:120:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'typename MeshType::ScalarType MaxAngle(const MeshType&)': ./stat_remeshing.h:137:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'void MaxMinEdge(const MeshType&, typename MeshType::ScalarType&, typename MeshType::ScalarType&)': ./stat_remeshing.h:155:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ./stat_remeshing.h: In function 'void StatAngle(MeshType&, typename MeshType::ScalarType&, typename MeshType::ScalarType&, typename MeshType::ScalarType&, typename MeshType::ScalarType&)': ./stat_remeshing.h:260:40: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexType VertexType; ^~~~~~~~~~ In file included from filter_isoparametrization.h:31, from moc_filter_isoparametrization.cpp:9: ./diamond_sampler.h: In member function 'void DiamSampler::GetMesh(OutputMesh&)': ./diamond_sampler.h:107:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (unsigned int j=0;j::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_isoparametrization.h:34, from moc_filter_isoparametrization.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ./param_collapse.h:18, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./uv_grid.h: In instantiation of 'bool UVGrid::getClosest(const vcg::Point2&, UVGrid::FaceType*&, UVGrid::CoordType&) [with MeshType = ParamMesh; typename MESH_TYPE::ScalarType = float; UVGrid::FaceType = ParamFace; UVGrid::CoordType = vcg::Point3]': ./iso_parametrization.h:386:52: required from here ./uv_grid.h:185:16: warning: variable 'cell' set but not used [-Wunused-but-set-variable] vcg::Point2i cell=Cell(UVTest); ^~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./local_parametrization.h: In instantiation of 'bool testParametrization(MeshType&, MeshType&) [with MeshType = BaseMesh]': ./parametrizator.h:297:54: required from here ./local_parametrization.h:834:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("\n ADDRESS EXCEEDS OF %d \n",v->father-&(*domain.face.begin())); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./local_parametrization.h: In instantiation of 'void AssingFather(typename MeshType::VertexType&, typename MeshType::FaceType*, typename MeshType::CoordType&, MeshType&) [with MeshType = BaseMesh; typename MeshType::VertexType = BaseVertex; typename MeshType::FaceType = BaseFace; typename MeshType::CoordType = vcg::Point3]': ./parametrizator.h:332:41: required from here ./local_parametrization.h:798:30: warning: unused parameter 'domain' [-Wunused-parameter] MeshType & domain) ~~~~~~~~~~~^~~~~~ ./local_parametrization.h: In instantiation of 'bool NonFolded(MeshType&) [with MeshType = AbstractMesh]': ./local_parametrization.h:1026:17: required from 'void ParametrizeStarEquilateral(MeshType&, const typename MeshType::ScalarType&) [with MeshType = AbstractMesh; typename MeshType::ScalarType = float]' ./iso_parametrization.h:452:76: required from here ./local_parametrization.h:912:31: warning: variable 't2d' set but not used [-Wunused-but-set-variable] vcg::Triangle2 t2d=vcg::Triangle2(tex0,tex1,tex2); ^~~ In file included from ./parametrizator.h:35, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./dual_coord_optimization.h: In instantiation of 'void BaryOptimizatorDual::InitDiamondEquilateral(const ScalarType&) [with MeshType = BaseMesh; BaryOptimizatorDual::ScalarType = float]': ./dual_coord_optimization.h:594:3: required from 'void BaryOptimizatorDual::Init(MeshType&, MeshType&, bool (*)(int, const char*), int, EnergyType) [with MeshType = BaseMesh; vcg::CallBackPos = bool(int, const char*)]' ./parametrizator.h:752:55: required from here ./dual_coord_optimization.h:89:38: warning: variable 'entry' set but not used [-Wunused-but-set-variable] std::pair entry=std::pair(f0,f1); ^~~~~ ./dual_coord_optimization.h: In instantiation of 'void BaryOptimizatorDual::MinimizeStep(const int&) [with MeshType = BaseMesh]': ./dual_coord_optimization.h:642:4: required from 'void BaryOptimizatorDual::Optimize(BaryOptimizatorDual::ScalarType, int) [with MeshType = BaseMesh; BaryOptimizatorDual::ScalarType = float]' ./parametrizator.h:753:52: required from here ./dual_coord_optimization.h:472:11: warning: variable 'IsOK' set but not used [-Wunused-but-set-variable] bool IsOK=true; ^~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./local_parametrization.h: In instantiation of 'bool NonFolded(MeshType&) [with MeshType = BaseMesh]': ./local_parametrization.h:1026:17: required from 'void ParametrizeStarEquilateral(MeshType&, const typename MeshType::ScalarType&) [with MeshType = BaseMesh; typename MeshType::ScalarType = float]' ./local_optimization.h:74:38: required from 'typename MeshType::ScalarType StarDistorsion(typename MeshType::VertexType*) [with MeshType = BaseMesh; typename MeshType::ScalarType = float; typename MeshType::VertexType = BaseVertex]' ./parametrizator.h:360:63: required from here ./local_parametrization.h:912:31: warning: variable 't2d' set but not used [-Wunused-but-set-variable] vcg::Triangle2 t2d=vcg::Triangle2(tex0,tex1,tex2); ^~~ ./local_parametrization.h: In instantiation of 'bool NonFolded(MeshType&, std::vector&) [with MeshType = BaseMesh; typename MeshType::FaceType = BaseFace]': ./local_optimization.h:14:36: required from 'bool UnFold(MeshType&, int, bool) [with MeshType = BaseMesh]' ./local_optimization.h:179:25: required from 'void OptimizeStar(typename MeshType::VertexType*, MeshType&, int, EnergyType) [with MeshType = BaseMesh; typename MeshType::VertexType = BaseVertex]' ./local_optimization.h:345:25: required from 'bool SmartOptimizeStar(typename MeshType::VertexType*, MeshType&, int, EnergyType) [with MeshType = BaseMesh; typename MeshType::VertexType = BaseVertex]' ./parametrizator.h:370:85: required from here ./local_parametrization.h:942:31: warning: variable 't2d' set but not used [-Wunused-but-set-variable] vcg::Triangle2 t2d=vcg::Triangle2(tex0,tex1,tex2); ^~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_isoparametrization.h:34, from moc_filter_isoparametrization.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_isoparametrization.h:34, from moc_filter_isoparametrization.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./local_parametrization.h: In instantiation of 'typename MeshType::ScalarType EstimateAreaByParam(const typename MeshType::VertexType*, const typename MeshType::VertexType*, typename MeshType::FaceType**) [with MeshType = BaseMesh; typename MeshType::ScalarType = float; typename MeshType::VertexType = BaseVertex; typename MeshType::FaceType = BaseFace]': ./param_collapse.h:70:54: required from 'vcg::tri::ParamEdgeCollapse::ScalarType vcg::tri::ParamEdgeCollapse::Cost() [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeCollapse::ScalarType = float]' ./param_collapse.h:302:10: required from 'vcg::tri::ParamEdgeCollapse::ScalarType vcg::tri::ParamEdgeCollapse::ComputePriority(vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeCollapse::ScalarType = float]' ./param_collapse.h:59:28: required from 'vcg::tri::ParamEdgeCollapse::ParamEdgeCollapse(const VertexPair&, int, vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; vcg::tri::VertexPair = vcg::tri::BasicVertexPair]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:229:34: required from 'static void vcg::tri::TriEdgeCollapse::Init(TriMeshType&, vcg::tri::TriEdgeCollapse::HeapType&, vcg::BaseParameterClass*) [with TriMeshType = BaseMesh; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::ParamEdgeCollapse; vcg::tri::TriEdgeCollapse::HeapType = std::vector::HeapElem, std::allocator::HeapElem> >]' ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:353:32: required from 'void vcg::LocalOptimization::Init() [with LocalModificationType = MyTriEdgeCollapse; MeshType = BaseMesh]' ./parametrizator.h:189:40: required from here ./local_parametrization.h:461:14: warning: variable 'v2' set but not used [-Wunused-but-set-variable] VertexType *v2[2]; ^~ In file included from ./parametrizator.h:8, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./param_flip.h: In instantiation of 'vcg::tri::ParamEdgeFlip::ScalarType vcg::tri::ParamEdgeFlip::EdgeDiff() [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeFlip::ScalarType = float]': ./param_flip.h:304:21: required from 'vcg::tri::ParamEdgeFlip::ScalarType vcg::tri::ParamEdgeFlip::ComputePriority(vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeFlip::ScalarType = float]' ./param_flip.h:46:29: required from 'vcg::tri::ParamEdgeFlip::ParamEdgeFlip(typename vcg::tri::ParamEdgeFlip::Super::PosType, int, vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; typename vcg::tri::ParamEdgeFlip::Super::PosType = vcg::face::Pos]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:106:25: required from 'static void vcg::tri::PlanarEdgeFlip::Insert(vcg::tri::PlanarEdgeFlip::HeapType&, vcg::tri::PlanarEdgeFlip::PosType&, int, vcg::BaseParameterClass*) [with TRIMESH_TYPE = BaseMesh; MYTYPE = vcg::tri::ParamEdgeFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality; vcg::tri::PlanarEdgeFlip::HeapType = std::vector::HeapElem, std::allocator::HeapElem> >; vcg::tri::PlanarEdgeFlip::PosType = vcg::face::Pos; typename UpdateMeshType::FaceType = BaseFace]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:303:21: required from 'static void vcg::tri::PlanarEdgeFlip::Init(TRIMESH_TYPE&, vcg::tri::PlanarEdgeFlip::HeapType&, vcg::BaseParameterClass*) [with TRIMESH_TYPE = BaseMesh; MYTYPE = vcg::tri::ParamEdgeFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality; vcg::tri::PlanarEdgeFlip::HeapType = std::vector::HeapElem, std::allocator::HeapElem> >]' ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:353:32: required from 'void vcg::LocalOptimization::Init() [with LocalModificationType = MyTriEdgeFlip; MeshType = BaseMesh]' ./parametrizator.h:918:36: required from here ./param_flip.h:163:15: warning: variable 'v0' set but not used [-Wunused-but-set-variable] VertexType *v0, *v1, *v2, *v3; ^~ ./param_flip.h:163:20: warning: variable 'v1' set but not used [-Wunused-but-set-variable] VertexType *v0, *v1, *v2, *v3; ^~ ./param_flip.h:163:25: warning: variable 'v2' set but not used [-Wunused-but-set-variable] VertexType *v0, *v1, *v2, *v3; ^~ ./param_flip.h:163:30: warning: variable 'v3' set but not used [-Wunused-but-set-variable] VertexType *v0, *v1, *v2, *v3; ^~ ./param_flip.h: In instantiation of 'void vcg::tri::ParamEdgeFlip::ExecuteFlip(vcg::tri::ParamEdgeFlip::FaceType&, const int&, BaseMesh*) [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeFlip::FaceType = BaseFace]': ./param_flip.h:201:3: required from 'vcg::tri::ParamEdgeFlip::ScalarType vcg::tri::ParamEdgeFlip::EdgeDiff() [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeFlip::ScalarType = float]' ./param_flip.h:304:21: required from 'vcg::tri::ParamEdgeFlip::ScalarType vcg::tri::ParamEdgeFlip::ComputePriority(vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; vcg::tri::ParamEdgeFlip::ScalarType = float]' ./param_flip.h:46:29: required from 'vcg::tri::ParamEdgeFlip::ParamEdgeFlip(typename vcg::tri::ParamEdgeFlip::Super::PosType, int, vcg::BaseParameterClass*) [with BaseMesh = BaseMesh; typename vcg::tri::ParamEdgeFlip::Super::PosType = vcg::face::Pos]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:106:25: required from 'static void vcg::tri::PlanarEdgeFlip::Insert(vcg::tri::PlanarEdgeFlip::HeapType&, vcg::tri::PlanarEdgeFlip::PosType&, int, vcg::BaseParameterClass*) [with TRIMESH_TYPE = BaseMesh; MYTYPE = vcg::tri::ParamEdgeFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality; vcg::tri::PlanarEdgeFlip::HeapType = std::vector::HeapElem, std::allocator::HeapElem> >; vcg::tri::PlanarEdgeFlip::PosType = vcg::face::Pos; typename UpdateMeshType::FaceType = BaseFace]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:303:21: required from 'static void vcg::tri::PlanarEdgeFlip::Init(TRIMESH_TYPE&, vcg::tri::PlanarEdgeFlip::HeapType&, vcg::BaseParameterClass*) [with TRIMESH_TYPE = BaseMesh; MYTYPE = vcg::tri::ParamEdgeFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality; vcg::tri::PlanarEdgeFlip::HeapType = std::vector::HeapElem, std::allocator::HeapElem> >]' ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:353:32: required from 'void vcg::LocalOptimization::Init() [with LocalModificationType = MyTriEdgeFlip; MeshType = BaseMesh]' ./parametrizator.h:918:36: required from here ./param_flip.h:66:28: warning: variable 't0' set but not used [-Wunused-but-set-variable] vcg::Point2 t0=father->V(0)->T().P(); ^~ ./param_flip.h:67:28: warning: variable 't1' set but not used [-Wunused-but-set-variable] vcg::Point2 t1=father->V(1)->T().P(); ^~ ./param_flip.h:68:28: warning: variable 't2' set but not used [-Wunused-but-set-variable] vcg::Point2 t2=father->V(2)->T().P(); ^~ In file included from ./param_collapse.h:9, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h: In instantiation of 'const char* vcg::tri::PlanarEdgeFlip::Info(TRIMESH_TYPE&) [with TRIMESH_TYPE = BaseMesh; MYTYPE = vcg::tri::ParamEdgeFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:284:14: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(dump,"%d -> %d %g\n", _pos.F()->V(0)-&m.vert[0], _pos.F()->V(1)-&m.vert[0],-_priority); ^~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] In file included from ./local_parametrization.h:8, from ./param_collapse.h:15, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./texcoord_optimization.h: In instantiation of 'void vcg::tri::AreaPreservingTexCoordOptimization::UpdateSum(const double&) [with MESH_TYPE = BaseMesh]': ./texcoord_optimization.h:408:2: required from 'vcg::tri::AreaPreservingTexCoordOptimization::ScalarType vcg::tri::AreaPreservingTexCoordOptimization::Iterate() [with MESH_TYPE = BaseMesh; vcg::tri::AreaPreservingTexCoordOptimization::ScalarType = float]' ./texcoord_optimization.h:399:13: required from here ./texcoord_optimization.h:362:13: warning: variable 'f' set but not used [-Wunused-but-set-variable] FaceType *f; ^ In file included from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./param_collapse.h: In instantiation of 'void vcg::tri::ParamEdgeCollapse::UpdateFF(vcg::tri::VertexPair&) [with BaseMesh = BaseMesh; vcg::tri::VertexPair = vcg::tri::BasicVertexPair]': ./param_collapse.h:634:3: required from 'void vcg::tri::ParamEdgeCollapse::Execute(BaseMesh&, vcg::BaseParameterClass*) [with BaseMesh = BaseMesh]' ./param_collapse.h:594:6: required from here ./param_collapse.h:326:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (face->V(0)==posEdge.V(1))&&(face->V(1)==posEdge.V(0))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./param_collapse.h:330:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (face->V(1)==posEdge.V(1))&&(face->V(2)==posEdge.V(0))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./param_collapse.h:334:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (face->V(2)==posEdge.V(1))&&(face->V(0)==posEdge.V(0))) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./param_collapse.h:15, from ./parametrizator.h:7, from filter_isoparametrization.h:29, from moc_filter_isoparametrization.cpp:9: ./local_parametrization.h: In instantiation of 'void ParametrizeLocally(MeshType&, bool, bool) [with MeshType = BaseMesh]': ./param_collapse.h:397:30: required from 'void vcg::tri::ParamEdgeCollapse::CreatePreCollapseSubmesh(vcg::tri::VertexPair&, BaseMesh&, std::vector&, std::vector&) [with BaseMesh = BaseMesh; vcg::tri::VertexPair = vcg::tri::BasicVertexPair; typename FaceType::VertexType = BaseVertex; typename MeshType::FaceType = BaseFace]' ./param_collapse.h:630:5: required from 'void vcg::tri::ParamEdgeCollapse::Execute(BaseMesh&, vcg::BaseParameterClass*) [with BaseMesh = BaseMesh]' ./param_collapse.h:594:6: required from here ./local_parametrization.h:604:49: warning: variable 't2d' set but not used [-Wunused-but-set-variable] vcg::Triangle2 t2d=vcg::Triangle2(tex0,tex1,tex2); ^~~ rm -f libfilter_isoparametrization.so g++ -Wl,-z,relro -shared -o libfilter_isoparametrization.so filter_isoparametrization.o moc_filter_isoparametrization.o -L/usr/X11R6/lib -L/usr/lib/aarch64-linux-gnu -L../../distrib -lcommon -lGLEW -L../../external/lib/linux-g++ -llevmar -lGL -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lpthread mv -f libfilter_isoparametrization.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_isoparametrization' cd meshlabplugins/filter_layer/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_layer' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_layer.o filter_layer.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from filter_layer.cpp:30: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_layer.h:29, from filter_layer.cpp:30: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_layer.h:29, from filter_layer.cpp:30: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_layer.h:29, from filter_layer.cpp:30: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from filter_layer.cpp:30: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from filter_layer.cpp:30: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from filter_layer.cpp:30: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from filter_layer.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from filter_layer.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from filter_layer.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from filter_layer.cpp:30: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_layer.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_layer.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_layer.h -o moc_filter_layer.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_layer.o moc_filter_layer.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from moc_filter_layer.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_layer.h:29, from moc_filter_layer.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_layer.h:29, from moc_filter_layer.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_layer.h:29, from moc_filter_layer.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from moc_filter_layer.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from moc_filter_layer.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from moc_filter_layer.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from moc_filter_layer.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from moc_filter_layer.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from moc_filter_layer.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_layer.h:29, from moc_filter_layer.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_layer.h:29, from moc_filter_layer.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_layer.h:29, from moc_filter_layer.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_layer.so g++ -Wl,-z,relro -shared -o libfilter_layer.so filter_layer.o moc_filter_layer.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_layer.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_layer' cd meshlabplugins/filter_measure/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_measure' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_measure.o filter_measure.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from filter_measure.cpp:29: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/clean.h:35, from filter_measure.cpp:29: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../../../vcglib/vcg/complex/algorithms/clean.h:36, from filter_measure.cpp:29: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/clean.h:37, from filter_measure.cpp:29: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/clean.h:37, from filter_measure.cpp:29: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/clean.h:37, from filter_measure.cpp:29: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/clean.h:38, from filter_measure.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/clean.h:38, from filter_measure.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from filter_measure.cpp:29: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ In file included from filter_measure.cpp:29: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_measure.h:29, from filter_measure.cpp:38: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_measure.h:29, from filter_measure.cpp:38: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_measure.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_measure.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/space/box3.h:26, from ../../../../vcglib/vcg/complex/complex.h:31, from ../../../../vcglib/vcg/complex/algorithms/clean.h:36, from filter_measure.cpp:29: ../../../../vcglib/vcg/space/deprecated_point3.h: In member function 'virtual bool FilterMeasurePlugin::applyFilter(const QString&, MeshDocument&, EnvWrap&, bool (*)(int, const char*))': ../../../../vcglib/vcg/space/deprecated_point3.h:247:42: warning: 'qv[].vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point3( _v[0]-p._v[0], _v[1]-p._v[1], _v[2]-p._v[2] ); ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:247:57: warning: 'qv[].vcg::Point3::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point3( _v[0]-p._v[0], _v[1]-p._v[1], _v[2]-p._v[2] ); ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:247:72: warning: 'qv[].vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point3( _v[0]-p._v[0], _v[1]-p._v[1], _v[2]-p._v[2] ); ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:247:34: warning: 'qv[].vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point3( _v[0]-p._v[0], _v[1]-p._v[1], _v[2]-p._v[2] ); ~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:247:49: warning: 'qv[].vcg::Point3::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point3( _v[0]-p._v[0], _v[1]-p._v[1], _v[2]-p._v[2] ); ~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:247:64: warning: 'qv[].vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point3( _v[0]-p._v[0], _v[1]-p._v[1], _v[2]-p._v[2] ); ~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:247:42: warning: 'qv[].vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point3( _v[0]-p._v[0], _v[1]-p._v[1], _v[2]-p._v[2] ); ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:247:57: warning: 'qv[].vcg::Point3::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point3( _v[0]-p._v[0], _v[1]-p._v[1], _v[2]-p._v[2] ); ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:247:72: warning: 'qv[].vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point3( _v[0]-p._v[0], _v[1]-p._v[1], _v[2]-p._v[2] ); ~~~~^ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_measure.h -o moc_filter_measure.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_measure.o moc_filter_measure.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_measure.h:29, from moc_filter_measure.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_measure.h:29, from moc_filter_measure.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_measure.h:29, from moc_filter_measure.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_measure.h:29, from moc_filter_measure.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_measure.h:29, from moc_filter_measure.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_measure.h:29, from moc_filter_measure.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_measure.h:29, from moc_filter_measure.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_measure.h:29, from moc_filter_measure.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_measure.h:29, from moc_filter_measure.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_measure.h:29, from moc_filter_measure.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_measure.h:29, from moc_filter_measure.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_measure.h:29, from moc_filter_measure.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_measure.h:29, from moc_filter_measure.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_measure.so g++ -Wl,-z,relro -shared -o libfilter_measure.so filter_measure.o moc_filter_measure.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_measure.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_measure' cd meshlabplugins/filter_meshing/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_meshing' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o meshfilter.o meshfilter.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from meshfilter.cpp:23: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from meshfilter.cpp:26: ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexQualityLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:649:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:661:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexNormalLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:705:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:717:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexCoordViewDepth(vcg::tri::Smooth::MeshType&, const CoordType&, vcg::tri::Smooth::ScalarType, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:766:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:778:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ In file included from meshfilter.cpp:32: ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h: In static member function 'static bool vcg::tri::AttributeSeam::SplitVertex(src_trimesh_t&, extract_wedge_attribs_t, compare_vertex_attribs_t&)': ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h:162:52: warning: typedef 'src_vertex_container_t' locally defined but not used [-Wunused-local-typedefs] typedef typename src_trimesh_t::VertContainer src_vertex_container_t; ^~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h: In static member function 'static bool vcg::tri::AttributeSeam::SplitVertex(const src_trimesh_t&, dst_trimesh_t&, extract_wedge_attribs_t&, compare_vertex_attribs_t&, copy_vertex_t&)': ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h:248:57: warning: typedef 'dst_vertex_container_t' locally defined but not used [-Wunused-local-typedefs] typedef typename dst_trimesh_t::VertContainer dst_vertex_container_t; ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/curvature.h:66, from meshfilter.cpp:33: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilar(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:797:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:805:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilarDual(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:814:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:837:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/curvature.h:68, from meshfilter.cpp:33: ../../../../vcglib/vcg/complex/algorithms/intersection.h: In function 'bool vcg::Intersection(vcg::Plane3, IndexingType*, std::vector&)': ../../../../vcglib/vcg/complex/algorithms/intersection.h:209:46: warning: typedef 'FaceContainer' locally defined but not used [-Wunused-local-typedefs] typedef typename TriMeshType::FaceContainer FaceContainer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:30, from quadric_tex_simp.h:26, from meshfilter.cpp:38: ../../../../vcglib/vcg/complex/algorithms/local_optimization.h: In member function 'void vcg::LocalOptimization::ClearHeapOld()': ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:395:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(hi=h.begin();hi!=h.end();++hi) ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:403:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' make_heap(h.begin(),h.end()); ^~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:31, from quadric_tex_simp.h:26, from meshfilter.cpp:38: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h: In member function 'vcg::tri::TriEdgeCollapseQuadric::ScalarType vcg::tri::TriEdgeCollapseQuadric::ComputePriority(vcg::BaseParameterClass*)': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:370:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(x.F() = v[0]->VFp(), x.I() = v[0]->VFi(); x.F()!=0; ++x ) // for all faces in v0 ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:374:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(x.F() = v[1]->VFp(), x.I() = v[1]->VFi(); x.F()!=0; ++x ) // for all faces in v1 ^~~ meshfilter.cpp: In member function 'virtual bool ExtraMeshFilterPlugin::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': meshfilter.cpp:812:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(CMeshO::VertexIterator vi=m.cm.vert.begin();vi!=m.cm.vert.end();++vi) ^~~ meshfilter.cpp:818:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' Log("Using %i vertexes to build a fitting plane",int(selected_pts.size())); ^~~ meshfilter.cpp:933:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(CMeshO::VertexIterator vi=m.cm.vert.begin(); vi!=m.cm.vert.end();++vi) ^~~ meshfilter.cpp:939:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' bp/=m.cm.vn; ^~ meshfilter.cpp:1289:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.cm.vert.begin();vi!=m.cm.vert.end();++vi) ^~~ meshfilter.cpp:1318:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' avgZ = avgZ/um->cm.vert.size(); ^~~~ meshfilter.cpp:1335:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int ii1=0;ii1::PerVertexNormalizedPerFace(um->cm); ^~~ In file included from meshfilter.cpp:35: ../../../../vcglib/vcg/space/normal_extrapolation.h: In instantiation of 'static void vcg::NormalExtrapolation::ExtrapolateNormals(const VertexIterator&, const VertexIterator&, unsigned int, int, vcg::NormalExtrapolation::NormalOrientation, bool (*)(int, const char*)) [with VERTEX_CONTAINER = std::vector >; vcg::NormalExtrapolation::VertexIterator = __gnu_cxx::__normal_iterator > >; vcg::CallBackPos = bool(int, const char*)]': meshfilter.cpp:1180:44: required from here ../../../../vcglib/vcg/space/normal_extrapolation.h:275:44: warning: variable 'iFirstPlane' set but not used [-Wunused-but-set-variable] typename std::vector< Plane >::iterator iFirstPlane = tangent_planes.begin(); ^~~~~~~~~~~ In file included from meshfilter.cpp:33: ../../../../vcglib/vcg/complex/algorithms/update/curvature.h: In instantiation of 'static void vcg::tri::UpdateCurvature::PrincipalDirections(MeshType&) [with MeshType = CMeshO]': meshfilter.cpp:1218:38: required from here ../../../../vcglib/vcg/complex/algorithms/update/curvature.h:217:16: warning: variable 'bl' set but not used [-Wunused-but-set-variable] CoordType bl = Q.GetColumn(0); ^~ In file included from ../../../../vcglib/vcg/space/normal_extrapolation.h:33, from meshfilter.cpp:35: ../../../../vcglib/vcg/space/index/octree.h: In instantiation of 'vcg::Octree::~Octree() [with OBJECT_TYPE = CVertexO; SCALAR_TYPE = float]': ../../../../vcglib/vcg/space/normal_extrapolation.h:159:42: required from 'static void vcg::NormalExtrapolation::ExtrapolateNormals(const VertexIterator&, const VertexIterator&, unsigned int, int, vcg::NormalExtrapolation::NormalOrientation, bool (*)(int, const char*)) [with VERTEX_CONTAINER = std::vector >; vcg::NormalExtrapolation::VertexIterator = __gnu_cxx::__normal_iterator > >; vcg::CallBackPos = bool(int, const char*)]' meshfilter.cpp:1180:44: required from here ../../../../vcglib/vcg/space/index/octree.h:226:5: warning: deleting object of abstract class type 'vcg::OctreeTemplate::Node' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete TemplatedOctree::nodes[i]; ^~~~~~ ../../../../vcglib/vcg/space/index/octree.h: In instantiation of 'vcg::Octree::~Octree() [with OBJECT_TYPE = vcg::NormalExtrapolation > >::Plane; SCALAR_TYPE = float]': ../../../../vcglib/vcg/space/normal_extrapolation.h:209:37: required from 'static void vcg::NormalExtrapolation::ExtrapolateNormals(const VertexIterator&, const VertexIterator&, unsigned int, int, vcg::NormalExtrapolation::NormalOrientation, bool (*)(int, const char*)) [with VERTEX_CONTAINER = std::vector >; vcg::NormalExtrapolation::VertexIterator = __gnu_cxx::__normal_iterator > >; vcg::CallBackPos = bool(int, const char*)]' meshfilter.cpp:1180:44: required from here ../../../../vcglib/vcg/space/index/octree.h:226:5: warning: deleting object of abstract class type 'vcg::OctreeTemplate::Node' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] In file included from ../../../../vcglib/vcg/complex/algorithms/bitquad_support.h:5, from meshfilter.cpp:29: ../../../../vcglib/vcg/complex/algorithms/subset.h: In instantiation of 'void vcg::tri::SubSet(S_MESH_TYPE&, STL_CONT&) [with S_MESH_TYPE = CMeshO; STL_CONT = std::vector >]': ../../../../vcglib/vcg/complex/algorithms/intersection.h:338:8: required from 'void vcg::IntersectionBallMesh(TriMeshType&, const vcg::Sphere3&, TriMeshType&, float) [with TriMeshType = CMeshO; ScalarType = float]' ../../../../vcglib/vcg/complex/algorithms/update/curvature.h:352:48: required from 'static void vcg::tri::UpdateCurvature::PrincipalDirectionsPCA(MeshType&, vcg::tri::UpdateCurvature::ScalarType, bool, bool (*)(int, const char*)) [with MeshType = CMeshO; vcg::tri::UpdateCurvature::ScalarType = float; vcg::CallBackPos = bool(int, const char*)]' meshfilter.cpp:1219:45: required from here ../../../../vcglib/vcg/complex/algorithms/subset.h:141:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (*next).f->V((*next).z)=(typename S_MESH_TYPE::VertexPointer)pos; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/wrap/gl/glu_tessellator_cap.h:3, from meshfilter.cpp:37: ../../../../vcglib/wrap/gl/glu_tesselator.h: In instantiation of 'static void vcg::glu_tesselator::do_tesselation(const std::vector >&, vcg::glu_tesselator::tess_prim_data_vec&) [with point_type = vcg::Point3; vcg::glu_tesselator::tess_prim_data_vec = std::vector]': ../../../../vcglib/wrap/gl/glu_tesselator.h:115:29: required from 'static void vcg::glu_tesselator::tesselate(const std::vector >&, std::vector&) [with point_type = vcg::Point3]' ../../../../vcglib/wrap/gl/glu_tessellator_cap.h:53:28: required from 'void vcg::tri::CapEdgeMesh(MeshType&, MeshType&, bool) [with MeshType = CMeshO]' meshfilter.cpp:1523:38: required from here ../../../../vcglib/wrap/gl/glu_tesselator.h:221:48: warning: cast between incompatible function types from 'void (*)(GLenum, void*)' {aka 'void (*)(unsigned int, void*)'} to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_BEGIN_DATA, (GLvoid (CALLBACK *)())(this_type::begin_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:222:48: warning: cast between incompatible function types from 'void (*)(void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_END_DATA, (GLvoid (CALLBACK *)())(this_type::end_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:223:48: warning: cast between incompatible function types from 'void (*)(void*, void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_VERTEX_DATA, (GLvoid (CALLBACK *)())(this_type::vertex_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:237:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gluTessVertex(tess, vertex, (void *)k); ^~~~~~~~~ In file included from quadric_tex_simp.h:26, from meshfilter.cpp:38: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h: In instantiation of 'vcg::tri::TriEdgeCollapseQuadricTex::ScalarType vcg::tri::TriEdgeCollapseQuadricTex::ComputeTexPriority(const double*, vcg::Quadric5&, vcg::BaseParameterClass*) [with TriMeshType = CMeshO; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::MyTriEdgeCollapseQTex; HelperType = vcg::tri::QuadricTexHelper; vcg::tri::TriEdgeCollapseQuadricTex::ScalarType = float]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:429:19: required from 'vcg::tri::TriEdgeCollapseQuadricTex::ScalarType vcg::tri::TriEdgeCollapseQuadricTex::ComputeMinimalsAndPriority(double*, double*, vcg::Quadric5&, vcg::Quadric5&, const TexCoord2f&, const TexCoord2f&, const TexCoord2f&, const TexCoord2f&, int, vcg::BaseParameterClass*) [with TriMeshType = CMeshO; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::MyTriEdgeCollapseQTex; HelperType = vcg::tri::QuadricTexHelper; vcg::tri::TriEdgeCollapseQuadricTex::ScalarType = float; vcg::TexCoord2f = vcg::TexCoord2]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:293:26: required from 'vcg::tri::TriEdgeCollapseQuadricTex::ScalarType vcg::tri::TriEdgeCollapseQuadricTex::ComputePriority(vcg::BaseParameterClass*) [with TriMeshType = CMeshO; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::MyTriEdgeCollapseQTex; HelperType = vcg::tri::QuadricTexHelper; vcg::tri::TriEdgeCollapseQuadricTex::ScalarType = float]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:199:25: required from 'vcg::tri::TriEdgeCollapseQuadricTex::TriEdgeCollapseQuadricTex(const VertexPair&, int, vcg::BaseParameterClass*) [with TriMeshType = CMeshO; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::MyTriEdgeCollapseQTex; HelperType = vcg::tri::QuadricTexHelper]' quadric_tex_simp.h:38:107: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:328:11: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshfilter.h:27, from meshfilter.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshfilter.h:27, from meshfilter.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from meshfilter.cpp:31: ../../../../vcglib/vcg/complex/algorithms/clustering.h: In instantiation of 'int vcg::tri::Clustering::SimpleTri::ii(int) const [with MeshType = CMeshO; CellType = vcg::tri::AverageColorCell]': ../../../../vcglib/vcg/complex/algorithms/clustering.h:265:15: required from 'vcg::tri::Clustering::SimpleTri::operator size_t() const [with MeshType = CMeshO; CellType = vcg::tri::AverageColorCell; size_t = long unsigned int]' /usr/include/c++/8/bits/stl_function.h:356:20: required from 'constexpr bool std::equal_to<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = vcg::tri::Clustering >::SimpleTri]' /usr/include/c++/8/backward/hashtable.h:768:2: required from 'std::pair<__gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>, bool> __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::insert_unique_noresize(const value_type&) [with _Val = vcg::tri::Clustering >::SimpleTri; _Key = vcg::tri::Clustering >::SimpleTri; _HashFcn = vcg::tri::Clustering >::SimpleTriHashFunc; _ExtractKey = std::_Identity >::SimpleTri>; _EqualKey = std::equal_to >::SimpleTri>; _Alloc = std::allocator >::SimpleTri>; __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::value_type = vcg::tri::Clustering >::SimpleTri]' /usr/include/c++/8/backward/hashtable.h:452:9: required from 'std::pair<__gnu_cxx::_Hashtable_iterator<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>, bool> __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::insert_unique(const value_type&) [with _Val = vcg::tri::Clustering >::SimpleTri; _Key = vcg::tri::Clustering >::SimpleTri; _HashFcn = vcg::tri::Clustering >::SimpleTriHashFunc; _ExtractKey = std::_Identity >::SimpleTri>; _EqualKey = std::equal_to >::SimpleTri>; _Alloc = std::allocator >::SimpleTri>; __gnu_cxx::hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc>::value_type = vcg::tri::Clustering >::SimpleTri]' /usr/include/c++/8/ext/hash_set:195:37: required from 'std::pair, _EqualKey, _Alloc>::const_iterator, bool> __gnu_cxx::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>::insert(const value_type&) [with _Value = vcg::tri::Clustering >::SimpleTri; _HashFcn = vcg::tri::Clustering >::SimpleTriHashFunc; _EqualKey = std::equal_to >::SimpleTri>; _Alloc = std::allocator >::SimpleTri>; typename __gnu_cxx::hashtable<_Value, _Value, _HashFcn, std::_Identity<_Tp>, _EqualKey, _Alloc>::const_iterator = __gnu_cxx::_Hashtable_const_iterator >::SimpleTri, vcg::tri::Clustering >::SimpleTri, vcg::tri::Clustering >::SimpleTriHashFunc, std::_Identity >::SimpleTri>, std::equal_to >::SimpleTri>, std::allocator >::SimpleTri> >; __gnu_cxx::hash_set<_Value, _HashFcn, _EqualKey, _Alloc>::value_type = vcg::tri::Clustering >::SimpleTri]' ../../../../vcglib/vcg/complex/algorithms/clustering.h:350:6: required from 'void vcg::tri::Clustering::AddMesh(MeshType&) [with MeshType = CMeshO; CellType = vcg::tri::AverageColorCell]' meshfilter.cpp:679:31: required from here ../../../../vcglib/vcg/complex/algorithms/clustering.h:242:46: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] int ii(int i) const {return *((int *)(&(v[i])));} ~~^~~~ meshfilter.cpp: In member function 'virtual void ExtraMeshFilterPlugin::initParameterSet(QAction*, MeshModel&, RichParameterSet&)': meshfilter.cpp:368:165: warning: this statement may fall through [-Wimplicit-fallthrough=] parlst.addParam(new RichEnum("LoopWeight", 0, loopWeightLst, "Weighting scheme", "Change the weights used. Allow to optimize some beaviors in despite of others.")); ^ meshfilter.cpp:369:2: note: here case FP_BUTTERFLY_SS: ^~~~ In file included from meshfilter.cpp:30: ../../../../vcglib/vcg/complex/algorithms/bitquad_creation.h: In static member function 'static int vcg::tri::BitQuadCreation<_MeshType, Interpolator>::MakePureByFlipStepByStep(vcg::tri::BitQuadCreation<_MeshType, Interpolator>::MeshType&, int, int) [with _MeshType = CMeshO; Interpolator = vcg::tri::GeometricInterpolator]': ../../../../vcglib/vcg/complex/algorithms/bitquad_creation.h:780:5: warning: 'mustDoFlip' may be used uninitialized in this function [-Wmaybe-uninitialized] if (mustDoFlip) { ^~ In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/math/deprecated_matrix44.h:107, from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/space/deprecated_point3.h: In static member function 'static void vcg::tri::UpdateCurvature::PrincipalDirections(MeshType&) [with MeshType = CMeshO]': ../../../../vcglib/vcg/space/deprecated_point3.h:243:76: warning: 'best_s' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point3( _v[0]+p._v[0], _v[1]+p._v[1], _v[2]+p._v[2] ); ^ In file included from meshfilter.cpp:33: ../../../../vcglib/vcg/complex/algorithms/update/curvature.h:233:20: note: 'best_s' was declared here float best_c, best_s; ^~~~~~ In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/math/deprecated_matrix44.h:107, from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/space/deprecated_point3.h:247:76: warning: 'best_c' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point3( _v[0]-p._v[0], _v[1]-p._v[1], _v[2]-p._v[2] ); ^ In file included from meshfilter.cpp:33: ../../../../vcglib/vcg/complex/algorithms/update/curvature.h:233:12: note: 'best_c' was declared here float best_c, best_s; ^~~~~~ meshfilter.cpp: In member function 'virtual bool ExtraMeshFilterPlugin::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': meshfilter.cpp:1070:14: warning: 'tranVec.vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] Point3f tranVec; ^~~~~~~ meshfilter.cpp:1070:14: warning: 'tranVec.vcg::Point3::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] meshfilter.cpp:1070:14: warning: 'tranVec.vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] meshfilter.cpp:1114:13: warning: 'tranVec.vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] Point3f tranVec; ^~~~~~~ meshfilter.cpp:1114:13: warning: 'tranVec.vcg::Point3::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] meshfilter.cpp:1114:13: warning: 'tranVec.vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/math/deprecated_matrix44.h:107, from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/space/deprecated_point3.h:260:58: warning: 'planeCenter.vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] return ( _v[0]*p._v[0] + _v[1]*p._v[1] + _v[2]*p._v[2] ); ^ meshfilter.cpp:1493:12: note: 'planeCenter.vcg::Point3::_v[2]' was declared here Point3f planeCenter; ^~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/math/deprecated_matrix44.h:107, from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/space/deprecated_point3.h:260:33: warning: 'planeCenter.vcg::Point3::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] return ( _v[0]*p._v[0] + _v[1]*p._v[1] + _v[2]*p._v[2] ); ~~~~~^~~~~~ meshfilter.cpp:1493:12: note: 'planeCenter.vcg::Point3::_v[1]' was declared here Point3f planeCenter; ^~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/math/deprecated_matrix44.h:107, from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/space/deprecated_point3.h:260:26: warning: 'planeCenter.vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] return ( _v[0]*p._v[0] + _v[1]*p._v[1] + _v[2]*p._v[2] ); ~~~~~~~~~~~~~~^~~~~~~~~~~~~ meshfilter.cpp:1493:12: note: 'planeCenter.vcg::Point3::_v[0]' was declared here Point3f planeCenter; ^~~~~~~~~~~ In file included from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/math/deprecated_matrix44.h:561:3: warning: 'tranVec.vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] SetTranslate(t[0], t[1], t[2]); ^~~~~~~~~~~~ meshfilter.cpp:871:18: note: 'tranVec.vcg::Point3::_v[2]' was declared here Point3f axis, tranVec; ^~~~~~~ In file included from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/math/deprecated_matrix44.h:561:3: warning: 'tranVec.vcg::Point3::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] SetTranslate(t[0], t[1], t[2]); ^~~~~~~~~~~~ meshfilter.cpp:871:18: note: 'tranVec.vcg::Point3::_v[1]' was declared here Point3f axis, tranVec; ^~~~~~~ In file included from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from meshfilter.h:27, from meshfilter.cpp:23: ../../../../vcglib/vcg/math/deprecated_matrix44.h:561:3: warning: 'tranVec.vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] SetTranslate(t[0], t[1], t[2]); ^~~~~~~~~~~~ meshfilter.cpp:871:18: note: 'tranVec.vcg::Point3::_v[0]' was declared here Point3f axis, tranVec; ^~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o quadric_simp.o quadric_simp.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_simp.cpp:22: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_simp.cpp:22: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_simp.cpp:22: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_simp.cpp:22: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_simp.cpp:22: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_simp.cpp:22: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_simp.cpp:22: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_simp.cpp:22: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_simp.cpp:22: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_simp.cpp:22: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_simp.cpp:22: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from quadric_simp.h:61, from quadric_simp.cpp:23: ../../../../vcglib/vcg/complex/algorithms/local_optimization.h: In member function 'void vcg::LocalOptimization::ClearHeapOld()': ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:395:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(hi=h.begin();hi!=h.end();++hi) ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:403:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' make_heap(h.begin(),h.end()); ^~~~~~~~~ In file included from quadric_simp.h:62, from quadric_simp.cpp:23: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h: In member function 'vcg::tri::TriEdgeCollapseQuadric::ScalarType vcg::tri::TriEdgeCollapseQuadric::ComputePriority(vcg::BaseParameterClass*)': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:370:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(x.F() = v[0]->VFp(), x.I() = v[0]->VFi(); x.F()!=0; ++x ) // for all faces in v0 ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:374:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(x.F() = v[1]->VFp(), x.I() = v[1]->VFi(); x.F()!=0; ++x ) // for all faces in v1 ^~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshfilter.h:27, from quadric_simp.cpp:22: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshfilter.h:27, from quadric_simp.cpp:22: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o quadric_tex_simp.o quadric_tex_simp.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:30, from quadric_tex_simp.h:26, from quadric_tex_simp.cpp:25: ../../../../vcglib/vcg/complex/algorithms/local_optimization.h: In member function 'void vcg::LocalOptimization::ClearHeapOld()': ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:395:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(hi=h.begin();hi!=h.end();++hi) ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:403:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' make_heap(h.begin(),h.end()); ^~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:31, from quadric_tex_simp.h:26, from quadric_tex_simp.cpp:25: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h: In member function 'vcg::tri::TriEdgeCollapseQuadric::ScalarType vcg::tri::TriEdgeCollapseQuadric::ComputePriority(vcg::BaseParameterClass*)': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:370:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(x.F() = v[0]->VFp(), x.I() = v[0]->VFi(); x.F()!=0; ++x ) // for all faces in v0 ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:374:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(x.F() = v[1]->VFp(), x.I() = v[1]->VFi(); x.F()!=0; ++x ) // for all faces in v1 ^~~ In file included from quadric_tex_simp.h:26, from quadric_tex_simp.cpp:25: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h: In instantiation of 'vcg::tri::TriEdgeCollapseQuadricTex::ScalarType vcg::tri::TriEdgeCollapseQuadricTex::ComputeTexPriority(const double*, vcg::Quadric5&, vcg::BaseParameterClass*) [with TriMeshType = CMeshO; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::MyTriEdgeCollapseQTex; HelperType = vcg::tri::QuadricTexHelper; vcg::tri::TriEdgeCollapseQuadricTex::ScalarType = float]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:429:19: required from 'vcg::tri::TriEdgeCollapseQuadricTex::ScalarType vcg::tri::TriEdgeCollapseQuadricTex::ComputeMinimalsAndPriority(double*, double*, vcg::Quadric5&, vcg::Quadric5&, const TexCoord2f&, const TexCoord2f&, const TexCoord2f&, const TexCoord2f&, int, vcg::BaseParameterClass*) [with TriMeshType = CMeshO; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::MyTriEdgeCollapseQTex; HelperType = vcg::tri::QuadricTexHelper; vcg::tri::TriEdgeCollapseQuadricTex::ScalarType = float; vcg::TexCoord2f = vcg::TexCoord2]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:293:26: required from 'vcg::tri::TriEdgeCollapseQuadricTex::ScalarType vcg::tri::TriEdgeCollapseQuadricTex::ComputePriority(vcg::BaseParameterClass*) [with TriMeshType = CMeshO; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::MyTriEdgeCollapseQTex; HelperType = vcg::tri::QuadricTexHelper; vcg::tri::TriEdgeCollapseQuadricTex::ScalarType = float]' ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:199:25: required from 'vcg::tri::TriEdgeCollapseQuadricTex::TriEdgeCollapseQuadricTex(const VertexPair&, int, vcg::BaseParameterClass*) [with TriMeshType = CMeshO; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::MyTriEdgeCollapseQTex; HelperType = vcg::tri::QuadricTexHelper]' quadric_tex_simp.h:38:107: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:328:11: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshfilter.h:27, from quadric_tex_simp.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshfilter.h:27, from quadric_tex_simp.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/simplex/vertex/base.h:72, from ../../common/meshmodel.h:31, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/space/texcoord2.h: In static member function 'static void vcg::tri::TriEdgeCollapseQuadricTex::InitQuadric(TriMeshType&, vcg::BaseParameterClass*) [with TriMeshType = CMeshO; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::MyTriEdgeCollapseQTex; HelperType = vcg::tri::QuadricTexHelper]': ../../../../vcglib/vcg/space/texcoord2.h:40:7: warning: 'newcoord.vcg::TexCoord2::_n[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] class TexCoord2 ^~~~~~~~~ In file included from quadric_tex_simp.h:26, from quadric_tex_simp.cpp:25: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:110:24: note: 'newcoord.vcg::TexCoord2::_n[0]' was declared here vcg::TexCoord2f newcoord; ^~~~~~~~ In file included from ../../../../vcglib/vcg/simplex/vertex/base.h:72, from ../../common/meshmodel.h:31, from ../../common/interfaces.h:37, from meshfilter.h:27, from quadric_tex_simp.cpp:24: ../../../../vcglib/vcg/space/texcoord2.h: In member function 'void vcg::tri::TriEdgeCollapseQuadricTex::Execute(TriMeshType&, vcg::BaseParameterClass*) [with TriMeshType = CMeshO; VertexPair = vcg::tri::BasicVertexPair; MYTYPE = vcg::tri::MyTriEdgeCollapseQTex; HelperType = vcg::tri::QuadricTexHelper]': ../../../../vcglib/vcg/space/texcoord2.h:40:7: warning: '*((void*)& newtcoord +8)' may be used uninitialized in this function [-Wmaybe-uninitialized] class TexCoord2 ^~~~~~~~~ In file included from quadric_tex_simp.h:26, from quadric_tex_simp.cpp:25: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:719:19: note: '*((void*)& newtcoord +8)' was declared here vcg::TexCoord2f newtcoord; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:766:7: warning: 'newtcoord2.vcg::Point2::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] tcoords.v()= newtcoord2.v(); ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric_tex.h:765:7: warning: 'newtcoord2.vcg::Point2::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] tcoords.u()= newtcoord2.u(); ^~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. meshfilter.h -o moc_meshfilter.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_meshfilter.o moc_meshfilter.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from moc_meshfilter.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshfilter.h:27, from moc_meshfilter.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshfilter.h:27, from moc_meshfilter.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshfilter.h:27, from moc_meshfilter.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from moc_meshfilter.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from moc_meshfilter.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from moc_meshfilter.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from moc_meshfilter.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from moc_meshfilter.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from moc_meshfilter.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshfilter.h:27, from moc_meshfilter.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshfilter.h:27, from moc_meshfilter.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshfilter.h:27, from moc_meshfilter.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_meshing.so g++ -Wl,-z,relro -shared -o libfilter_meshing.so meshfilter.o quadric_simp.o quadric_tex_simp.o moc_meshfilter.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_meshing.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_meshing' cd meshlabplugins/filter_mutualinfoxml/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mutualinfoxml' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_mutualinfo.o filter_mutualinfo.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ filter_mutualinfo.cpp: In member function 'virtual bool MutualInfoPlugin::applyFilter(const QString&, MeshDocument&, EnvWrap&, bool (*)(int, const char*))': filter_mutualinfo.cpp:30:112: warning: unused parameter 'cb' [-Wunused-parameter] bool MutualInfoPlugin::applyFilter( const QString& filterName,MeshDocument& md,EnvWrap&env, vcg::CallBackPos * cb ) ~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_mutualinfo.h:27, from filter_mutualinfo.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o alignset.o alignset.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from alignset.h:10, from alignset.cpp:14: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from alignset.h:10, from alignset.cpp:14: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from alignset.h:10, from alignset.cpp:14: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from alignset.h:10, from alignset.cpp:14: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from alignset.h:10, from alignset.cpp:14: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from alignset.h:10, from alignset.cpp:14: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from alignset.h:10, from alignset.cpp:14: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from alignset.h:10, from alignset.cpp:14: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from alignset.h:10, from alignset.cpp:14: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from alignset.h:10, from alignset.cpp:14: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from alignset.h:10, from alignset.cpp:14: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/io_trimesh/import_ply.h:31, from alignset.cpp:21: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from alignset.cpp:14: alignset.h: In constructor 'AlignSet::AlignSet()': alignset.h:45:27: warning: 'AlignSet::render' will be initialized after [-Wreorder] unsigned char *target, *render; //buffers for rendered images ^~~~~~ alignset.h:38:10: warning: 'GLuint AlignSet::vbo' [-Wreorder] GLuint vbo, nbo, cbo, ibo; // vertex buffer object (vertices, normals, colors indices) ^~~ alignset.cpp:27:1: warning: when initialized here [-Wreorder] AlignSet::AlignSet(): mode(COMBINE), ^~~~~~~~ In file included from alignset.cpp:14: alignset.h:38:25: warning: 'AlignSet::ibo' will be initialized after [-Wreorder] GLuint vbo, nbo, cbo, ibo; // vertex buffer object (vertices, normals, colors indices) ^~~ alignset.h:36:10: warning: 'double AlignSet::error' [-Wreorder] double error; //alignment error in px ^~~~~ alignset.cpp:27:1: warning: when initialized here [-Wreorder] AlignSet::AlignSet(): mode(COMBINE), ^~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o levmarmethods.o levmarmethods.cpp levmarmethods.cpp: In static member function 'static bool LevmarMethods::calibrate(vcg::Shot*, std::__cxx11::list*, bool)': levmarmethods.cpp:33:8: warning: unused variable 'm' [-Wunused-variable] int m=6; ^ levmarmethods.cpp:38:8: warning: unused variable 'm' [-Wunused-variable] int m=1; ^ levmarmethods.cpp:31:7: warning: unused variable 'n' [-Wunused-variable] int n= corr->size()*2; ^ levmarmethods.cpp: In static member function 'static bool LevmarMethods::createDataSet(std::__cxx11::list*, vcg::Shot*, LevmarData*, double*, double*, double*)': levmarmethods.cpp:59:65: warning: unused parameter 'corr' [-Wunused-parameter] bool LevmarMethods::createDataSet(std::list* corr,vcg::Shot* s, LevmarData* data, double* x,double opts[LM_OPTS_SZ],double info[LM_INFO_SZ]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ levmarmethods.cpp:59:88: warning: unused parameter 's' [-Wunused-parameter] bool LevmarMethods::createDataSet(std::list* corr,vcg::Shot* s, LevmarData* data, double* x,double opts[LM_OPTS_SZ],double info[LM_INFO_SZ]) ~~~~~~~~~~~~~~~~~~^ levmarmethods.cpp:59:103: warning: unused parameter 'data' [-Wunused-parameter] bool LevmarMethods::createDataSet(std::list* corr,vcg::Shot* s, LevmarData* data, double* x,double opts[LM_OPTS_SZ],double info[LM_INFO_SZ]) ~~~~~~~~~~~~^~~~ levmarmethods.cpp:59:117: warning: unused parameter 'x' [-Wunused-parameter] bool LevmarMethods::createDataSet(std::list* corr,vcg::Shot* s, LevmarData* data, double* x,double opts[LM_OPTS_SZ],double info[LM_INFO_SZ]) ~~~~~~~~^ levmarmethods.cpp:59:126: warning: unused parameter 'opts' [-Wunused-parameter] bool LevmarMethods::createDataSet(std::list* corr,vcg::Shot* s, LevmarData* data, double* x,double opts[LM_OPTS_SZ],double info[LM_INFO_SZ]) ~~~~~~~^~~~~~~~~~~~~~~~ levmarmethods.cpp:59:150: warning: unused parameter 'info' [-Wunused-parameter] bool LevmarMethods::createDataSet(std::list* corr,vcg::Shot* s, LevmarData* data, double* x,double opts[LM_OPTS_SZ],double info[LM_INFO_SZ]) ~~~~~~~^~~~~~~~~~~~~~~~ levmarmethods.cpp: In static member function 'static void LevmarMethods::Cam2Levmar(vcg::Shot*)': levmarmethods.cpp:177:50: warning: unused parameter 's' [-Wunused-parameter] void LevmarMethods::Cam2Levmar(vcg::Shot *s){ ~~~~~~~~~~~~~~~~~~^ levmarmethods.cpp: In static member function 'static void LevmarMethods::estimateExtr(double*, double*, int, int, void*)': levmarmethods.cpp:197:60: warning: unused parameter 'm' [-Wunused-parameter] void LevmarMethods::estimateExtr(double *p, double *x, int m, int n, void *data) ~~~~^ levmarmethods.cpp: In static member function 'static void LevmarMethods::estimateFocal(double*, double*, int, int, void*)': levmarmethods.cpp:224:61: warning: unused parameter 'm' [-Wunused-parameter] void LevmarMethods::estimateFocal(double *p, double *x, int m, int n, void *data) ~~~~^ In file included from ../../../../vcglib/vcg/math/shot.h:133, from levmarmethods.h:11, from levmarmethods.cpp:7: ../../../../vcglib/vcg/math/camera.h: In instantiation of 'vcg::Point2 vcg::Camera::Project(const vcg::Point3&) const [with S = float]': ../../../../vcglib/vcg/math/shot.h:405:13: required from 'vcg::Point2 vcg::Shot::Project(const vcg::Point3&) const [with S = float; RotationType = vcg::Matrix44]' levmarmethods.cpp:217:52: required from here ../../../../vcglib/vcg/math/camera.h:253:17: warning: variable 'd' set but not used [-Wunused-but-set-variable] vcg::Point2 d = Point2(p[0],p[1]); ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o mutual.o mutual.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o parameters.o parameters.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from parameters.cpp:3: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from parameters.cpp:3: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from parameters.cpp:3: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from parameters.cpp:3: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from parameters.cpp:3: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from parameters.cpp:3: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from parameters.cpp:3: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from parameters.cpp:3: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from parameters.cpp:3: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from parameters.cpp:3: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from parameters.cpp:3: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ parameters.cpp: In member function 'double Parameters::pixelDiff(Parameters::Shot&, CMeshO&)': parameters.cpp:141:50: warning: unused parameter 'mesh' [-Wunused-parameter] double Parameters::pixelDiff(Shot &test, CMeshO &mesh) ~~~~~~~~^~~~ parameters.cpp: In member function 'vcg::Shot Parameters::toShot(bool)': parameters.cpp:226:10: warning: unused variable 'h' [-Wunused-variable] double h = reference.Intrinsics.ViewportPx[0]*reference.Intrinsics.PixelSizeMm[0]; ^ parameters.cpp: In member function 'void Parameters::scramble(double*, bool)': parameters.cpp:275:10: warning: unused variable 'h' [-Wunused-variable] double h = reference.Intrinsics.ViewportPx[0]*reference.Intrinsics.PixelSizeMm[0]; ^ parameters.cpp:290:11: warning: variable 'diff' set but not used [-Wunused-but-set-variable] Point3f diff = view - (center + (view - center)*ratio); ^~~~ In file included from ../../../../vcglib/vcg/math/shot.h:133, from ../../../../vcglib/vcg/complex/complex.h:33, from ../../common/meshmodel.h:38, from parameters.cpp:3: ../../../../vcglib/vcg/math/camera.h: In instantiation of 'vcg::Point2 vcg::Camera::Project(const vcg::Point3&) const [with S = float]': ../../../../vcglib/vcg/math/shot.h:405:13: required from 'vcg::Point2 vcg::Shot::Project(const vcg::Point3&) const [with S = float; RotationType = vcg::Matrix44]' parameters.cpp:204:44: required from here ../../../../vcglib/vcg/math/camera.h:253:17: warning: variable 'd' set but not used [-Wunused-but-set-variable] vcg::Point2 d = Point2(p[0],p[1]); ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o pointCorrespondence.o pointCorrespondence.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o solver.o solver.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from solver.cpp:3: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from solver.cpp:3: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from solver.cpp:3: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from solver.cpp:3: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from solver.cpp:3: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from solver.cpp:3: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from solver.cpp:3: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from solver.cpp:3: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from solver.cpp:3: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from solver.cpp:3: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from solver.cpp:3: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ solver.cpp: In member function 'bool Solver::levmar(AlignSet*, Solver::Shot&)': solver.cpp:640:10: warning: format '%f' expects a matching 'double' argument [-Wformat=] qDebug("Point2d %f %f %f",(float)corrLevmar->point2d.X(),(float)corrLevmar->point2d.Y()); ^~~~~~~~~~~~~~~~~~ solver.cpp: In instantiation of 'double Solver::calculateError(std::__cxx11::list*, Solver::Shot&) [with Correlation = LevmarCorrelation; Solver::Shot = vcg::Shot]': solver.cpp:673:42: required from here solver.cpp:546:15: warning: unused variable 'c' [-Wunused-variable] Correlation* c; ^ solver.cpp:548:12: warning: unused variable 'ratio' [-Wunused-variable] double ratio = shot.Intrinsics.ViewportPx.X()/(double) shot.Intrinsics.ViewportPx.Y(); ^~~~~ solver.cpp:549:16: warning: unused variable 'p1' [-Wunused-variable] vcg::Point3f *p1; ^~ solver.cpp:550:16: warning: unused variable 'p2' [-Wunused-variable] vcg::Point2d *p2; ^~ solver.cpp:544:55: warning: unused parameter 'corrs' [-Wunused-parameter] double Solver::calculateError(std::list *corrs, Shot &shot){ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from ../../../../vcglib/vcg/math/shot.h:133, from ../../common/filterparameter.h:35, from ../../common/interfaces.h:35, from filter_mutualinfo.h:27, from solver.cpp:3: ../../../../vcglib/vcg/math/camera.h: In instantiation of 'vcg::Point2 vcg::Camera::Project(const vcg::Point3&) const [with S = float]': ../../../../vcglib/vcg/math/shot.h:405:13: required from 'vcg::Point2 vcg::Shot::Project(const vcg::Point3&) const [with S = float; RotationType = vcg::Matrix44]' solver.cpp:597:39: required from here ../../../../vcglib/vcg/math/camera.h:253:17: warning: variable 'd' set but not used [-Wunused-but-set-variable] vcg::Point2 d = Point2(p[0],p[1]); ^ In file included from solver.cpp:5: ../../external/newuoa/include/newuoa.h: In instantiation of 'int biglag_(int, int, TYPE*, TYPE*, TYPE*, TYPE*, int*, int*, int*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, Func&) [with TYPE = double; Func = Solver]': ../../external/newuoa/include/newuoa.h:1315:16: required from 'TYPE newuob_(int, int, TYPE*, TYPE, TYPE, int*, int, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, int*, TYPE*, TYPE*, TYPE*, Func&) [with TYPE = double; Func = Solver]' ../../external/newuoa/include/newuoa.h:1712:19: required from 'TYPE newuoa_(int, int, TYPE*, TYPE, TYPE, int*, int, TYPE*, Func&) [with TYPE = double; Func = Solver]' ../../external/newuoa/include/newuoa.h:1723:18: required from 'TYPE min_newuoa(int, TYPE*, Func&, TYPE, TYPE, int) [with TYPE = double; Func = Solver]' solver.cpp:160:64: required from here ../../external/newuoa/include/newuoa.h:67:54: warning: unused parameter 'func' [-Wunused-parameter] TYPE *gd, TYPE *s, TYPE *w, Func &func) ~~~~~~^~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_mutualinfo.h:27, from solver.cpp:3: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_mutualinfo.h:27, from solver.cpp:3: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ solver.cpp: In member function 'double Solver::operator()(int, double*)': solver.cpp:102:6: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ solver.cpp:103:4: note: here case AlignSet::COLOR: ^~~~ solver.cpp: In static member function 'static void Solver::value(double*, double*, int, int, void*)': solver.cpp:358:6: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ solver.cpp:359:4: note: here case AlignSet::COLOR: ^~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_mutualinfo.h -o moc_filter_mutualinfo.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_mutualinfo.o moc_filter_mutualinfo.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_mutualinfo.h:27, from moc_filter_mutualinfo.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_mutualinfo.so g++ -Wl,-z,relro -shared -o libfilter_mutualinfo.so filter_mutualinfo.o alignset.o levmarmethods.o mutual.o parameters.o pointCorrespondence.o solver.o moc_filter_mutualinfo.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_mutualinfo.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mutualinfoxml' cd meshlabplugins/filter_mls/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mls' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o apss.o apss.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o balltree.o balltree.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o mlsplugin.o mlsplugin.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o rimls.o rimls.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. mlsplugin.h -o moc_mlsplugin.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -w -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_mlsplugin.o moc_mlsplugin.cpp rm -f libfilter_mls.so g++ -Wl,-z,relro -shared -o libfilter_mls.so apss.o balltree.o mlsplugin.o rimls.o moc_mlsplugin.o -L/usr/X11R6/lib -L/usr/lib/aarch64-linux-gnu -L../../distrib -lcommon -lGLEW -lGL -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lpthread mv -f libfilter_mls.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mls' cd meshlabplugins/filter_photosynth/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_photosynth' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/qtsoap-2.7_1/src -I/usr/X11R6/include -I. -o filter_photosynth.o filter_photosynth.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from filter_photosynth.cpp:14: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from filter_photosynth.cpp:14: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from filter_photosynth.cpp:14: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from filter_photosynth.cpp:14: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from filter_photosynth.cpp:14: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from filter_photosynth.cpp:14: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from filter_photosynth.cpp:14: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from filter_photosynth.cpp:14: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from filter_photosynth.cpp:14: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from filter_photosynth.cpp:14: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from filter_photosynth.cpp:14: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_photosynth.h:17, from filter_photosynth.cpp:14: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_photosynth.h:17, from filter_photosynth.cpp:14: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/qtsoap-2.7_1/src -I/usr/X11R6/include -I. -o downloader.o downloader.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from downloader.cpp:8: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from synthData.h:13, from downloader.cpp:8: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from synthData.h:13, from downloader.cpp:8: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from synthData.h:13, from downloader.cpp:8: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from downloader.cpp:8: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from downloader.cpp:8: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from downloader.cpp:8: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from downloader.cpp:8: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from downloader.cpp:8: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from downloader.cpp:8: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from downloader.cpp:8: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtXml/QtXml:3, from ../../external/qtsoap-2.7_1/src/qtsoap.h:51, from ../../external/qtsoap-2.7_1/src/QtSoapHttpTransport:1, from synthData.h:11, from downloader.cpp:8: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtXml/QtXml:3, from ../../external/qtsoap-2.7_1/src/qtsoap.h:51, from ../../external/qtsoap-2.7_1/src/QtSoapHttpTransport:1, from synthData.h:11, from downloader.cpp:8: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/qtsoap-2.7_1/src -I/usr/X11R6/include -I. -o qtsoap.o ../../external/qtsoap-2.7_1/src/qtsoap.cpp ../../external/qtsoap-2.7_1/src/qtsoap.cpp:133:13: warning: 'QString {anonymous}::prefix(const QString&)' defined but not used [-Wunused-function] QString prefix(const QString &tagName) ^~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/qtsoap-2.7_1/src -I/usr/X11R6/include -I. filter_photosynth.h -o moc_filter_photosynth.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/qtsoap-2.7_1/src -I/usr/X11R6/include -I. -o moc_filter_photosynth.o moc_filter_photosynth.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_photosynth.h:17, from moc_filter_photosynth.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/qtsoap-2.7_1/src -I/usr/X11R6/include -I. synthData.h -o moc_synthData.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/qtsoap-2.7_1/src -I/usr/X11R6/include -I. -o moc_synthData.o moc_synthData.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from moc_synthData.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from synthData.h:13, from moc_synthData.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from synthData.h:13, from moc_synthData.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from synthData.h:13, from moc_synthData.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from moc_synthData.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from moc_synthData.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from moc_synthData.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from moc_synthData.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from moc_synthData.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from moc_synthData.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from synthData.h:13, from moc_synthData.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtXml/QtXml:3, from ../../external/qtsoap-2.7_1/src/qtsoap.h:51, from ../../external/qtsoap-2.7_1/src/QtSoapHttpTransport:1, from synthData.h:11, from moc_synthData.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtXml/QtXml:3, from ../../external/qtsoap-2.7_1/src/qtsoap.h:51, from ../../external/qtsoap-2.7_1/src/QtSoapHttpTransport:1, from synthData.h:11, from moc_synthData.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/qtsoap-2.7_1/src -I/usr/X11R6/include -I. ../../external/qtsoap-2.7_1/src/qtsoap.h -o moc_qtsoap.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/qtsoap-2.7_1/src -I/usr/X11R6/include -I. -o moc_qtsoap.o moc_qtsoap.cpp rm -f libfilter_photosynth.so g++ -Wl,-z,relro -shared -o libfilter_photosynth.so filter_photosynth.o downloader.o qtsoap.o moc_filter_photosynth.o moc_synthData.o moc_qtsoap.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGL -lpthread mv -f libfilter_photosynth.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_photosynth' cd meshlabplugins/filter_plymc/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_plymc' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_plymc.o filter_plymc.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from filter_plymc.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_plymc.h:27, from filter_plymc.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_plymc.h:27, from filter_plymc.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_plymc.h:27, from filter_plymc.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from filter_plymc.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from filter_plymc.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from filter_plymc.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from filter_plymc.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from filter_plymc.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from filter_plymc.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from filter_plymc.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:67, from plymc.h:44, from filter_plymc.cpp:28: ../../../../vcglib/wrap/io_trimesh/import_obj.h: In static member function 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&)': ../../../../vcglib/wrap/io_trimesh/import_obj.h:226:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (oi.mask == -1) ^~ ../../../../vcglib/wrap/io_trimesh/import_obj.h:229:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' const int inputMask = oi.mask; ^~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import_ply.h:31, from ../../../../vcglib/wrap/io_trimesh/import.h:68, from plymc.h:44, from filter_plymc.cpp:28: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/create/extended_marching_cubes.h:42, from plymc.h:49, from filter_plymc.cpp:28: ../../../../vcglib/vcg/complex/algorithms/create/emc_lookup_table.h: At global scope: ../../../../vcglib/vcg/complex/algorithms/create/emc_lookup_table.h:38:11: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static const int EdgeTable(unsigned char cubetype) ^~~~~ ../../../../vcglib/vcg/complex/algorithms/create/emc_lookup_table.h:907:11: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static const int PolyTable(unsigned int cubetype, int u) ^~~~~ In file included from plymc.h:52, from filter_plymc.cpp:28: ../../../../vcglib/vcg/complex/algorithms/local_optimization.h: In member function 'void vcg::LocalOptimization::ClearHeapOld()': ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:395:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(hi=h.begin();hi!=h.end();++hi) ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:403:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' make_heap(h.begin(),h.end()); ^~~~~~~~~ In file included from plymc.h:54, from filter_plymc.cpp:28: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h: In member function 'vcg::tri::TriEdgeCollapseQuadric::ScalarType vcg::tri::TriEdgeCollapseQuadric::ComputePriority(vcg::BaseParameterClass*)': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:370:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(x.F() = v[0]->VFp(), x.I() = v[0]->VFi(); x.F()!=0; ++x ) // for all faces in v0 ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:374:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(x.F() = v[1]->VFp(), x.I() = v[1]->VFi(); x.F()!=0; ++x ) // for all faces in v1 ^~~ In file included from volume.h:27, from plymc.h:58, from filter_plymc.cpp:28: voxel.h: At global scope: voxel.h:44:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const bool B() const {return b;}; ^~~~~ voxel.h:46:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int Cnt() const {return cnt;} ^~~~~ In file included from volume.h:28, from plymc.h:58, from filter_plymc.cpp:28: svoxel.h:47:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const bool B() const {return cnt==255;}; // puo' essere a true solo se cnt == 0; (il che significa che e' stato gia' normalizzato ^~~~~ svoxel.h:55:2: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const int Cnt() { ^~~~~ In file included from plymc.h:58, from filter_plymc.cpp:28: volume.h:72:9: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static const int BLOCKSIDE() { return 8;} ^~~~~ In file included from plymc.h:58, from filter_plymc.cpp:28: volume.h: In member function 'bool Volume::SplatVert(const Point3x&, double, const Point3x&, vcg::Color4b)': volume.h:610:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(iV[0]=ibox.min[0]; iV[0]<=ibox.max[0]; ++iV[0]) ^~~ volume.h:619:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return true; ^~~~~~ volume.h: In member function 'bool Volume::ScanFace(const Point3x&, const Point3x&, const Point3x&, double, const Point3x&)': volume.h:831:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(y=sy;y<=ey;++y) ^~~ volume.h:846:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return true; ^~~~~~ volume.h: In member function 'int Volume::Allocated()': volume.h:919:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(size_t i=0;i::Serialize(const SaveMeshType&) [with SaveMeshType = SMesh]': ../../../../vcglib/wrap/io_trimesh/export_vmi.h:262:32: required from 'static int vcg::tri::io::ExporterVMI::Save(const SaveMeshType&, const char*) [with SaveMeshType = SMesh]' filter_plymc.cpp:154:55: required from here ../../../../vcglib/wrap/io_trimesh/export_vmi.h:335:17: warning: variable 'written' set but not used [-Wunused-but-set-variable] unsigned int written; ^~~~~~~ In file included from plymc.h:58, from filter_plymc.cpp:28: volume.h: In instantiation of 'bool Volume::ScanFace(const Point3x&, const Point3x&, const Point3x&, double, const Point3x&) [with VOX_TYPE = Voxelfc; SCALAR_TYPE = float; Volume::Point3x = vcg::Point3]': plymc.h:277:38: required from 'bool vcg::tri::PlyMC::AddMeshToVolumeM(SMesh&, std::__cxx11::string, double) [with SMesh = SMesh; MeshProvider = SimpleMeshProvider; std::__cxx11::string = std::__cxx11::basic_string]' plymc.h:412:14: required from 'void vcg::tri::PlyMC::Process(bool (*)(int, const char*)) [with SMesh = SMesh; MeshProvider = SimpleMeshProvider; vcg::CallBackPos = bool(int, const char*)]' filter_plymc.cpp:164:19: required from here volume.h:801:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] n0< EPS && n1< EPS && n2< EPS ) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ volume.h:820:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] n0< EPS && n1< EPS && n2< EPS ) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ volume.h:839:27: warning: suggest parentheses around '&&' within '||' [-Wparentheses] n0< EPS && n1< EPS && n2< EPS ) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from plymc.h:45, from filter_plymc.cpp:28: ../../../../vcglib/wrap/io_trimesh/export_ply.h: In instantiation of 'static int vcg::tri::io::ExporterPLY::Save(SaveMeshType&, const char*, bool, vcg::tri::io::PlyInfo&, bool (*)(int, const char*)) [with SaveMeshType = vcg::tri::PlyMC >::MCMesh; vcg::CallBackPos = bool(int, const char*)]': ../../../../vcglib/wrap/io_trimesh/export_ply.h:187:14: required from 'static int vcg::tri::io::ExporterPLY::Save(SaveMeshType&, const char*, int, bool, bool (*)(int, const char*)) [with SaveMeshType = vcg::tri::PlyMC >::MCMesh; vcg::CallBackPos = bool(int, const char*)]' plymc.h:495:43: required from 'void vcg::tri::PlyMC::Process(bool (*)(int, const char*)) [with SMesh = SMesh; MeshProvider = SimpleMeshProvider; vcg::CallBackPos = bool(int, const char*)]' filter_plymc.cpp:164:19: required from here ../../../../vcglib/wrap/io_trimesh/export_ply.h:525:26: warning: variable 'td' set but not used [-Wunused-but-set-variable] float tf(0); double td(0); ^~ ../../../../vcglib/wrap/io_trimesh/export_ply.h:698:27: warning: variable 'td' set but not used [-Wunused-but-set-variable] float tf(0); double td(0); ^~ ../../../../vcglib/wrap/io_trimesh/export_ply.h:717:6: warning: variable 'eauxvv' set but not used [-Wunused-but-set-variable] int eauxvv[2]; ^~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:70, from plymc.h:44, from filter_plymc.cpp:28: ../../../../vcglib/wrap/io_trimesh/import_off.h: In instantiation of 'static int vcg::tri::io::ImporterOFF::Open(MESH_TYPE&, const char*, int&, bool (*)(int, const char*)) [with MESH_TYPE = SMesh; vcg::CallBackPos = bool(int, const char*)]': ../../../../vcglib/wrap/io_trimesh/import.h:129:40: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = SMesh; vcg::CallBackPos = bool(int, const char*)]' plymc.h:182:45: required from 'bool vcg::tri::PlyMC::InitMesh(SMesh&, const char*, vcg::Matrix44f) [with SMesh = SMesh; MeshProvider = SimpleMeshProvider; vcg::Matrix44f = vcg::Matrix44]' plymc.h:405:17: required from 'void vcg::tri::PlyMC::Process(bool (*)(int, const char*)) [with SMesh = SMesh; MeshProvider = SimpleMeshProvider; vcg::CallBackPos = bool(int, const char*)]' filter_plymc.cpp:164:19: required from here ../../../../vcglib/wrap/io_trimesh/import_off.h:189:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] unsigned int nVertices, nFaces, nEdges; ^~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_plymc.h:27, from filter_plymc.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_plymc.h:27, from filter_plymc.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:67, from plymc.h:44, from filter_plymc.cpp:28: ../../../../vcglib/wrap/io_trimesh/import_obj.h: In instantiation of 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&) [with OpenMeshType = SMesh]': ../../../../vcglib/wrap/io_trimesh/import_obj.h:206:15: required from 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = SMesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:134:40: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = SMesh; vcg::CallBackPos = bool(int, const char*)]' plymc.h:182:45: required from 'bool vcg::tri::PlyMC::InitMesh(SMesh&, const char*, vcg::Matrix44f) [with SMesh = SMesh; MeshProvider = SimpleMeshProvider; vcg::Matrix44f = vcg::Matrix44]' plymc.h:405:17: required from 'void vcg::tri::PlyMC::Process(bool (*)(int, const char*)) [with SMesh = SMesh; MeshProvider = SimpleMeshProvider; vcg::CallBackPos = bool(int, const char*)]' filter_plymc.cpp:164:19: required from here ../../../../vcglib/wrap/io_trimesh/import_obj.h:533:17: warning: variable 'fi' set but not used [-Wunused-but-set-variable] FaceIterator fi = vcg::tri::Allocator::AddFaces(m,numTriangles); ^~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:71, from plymc.h:44, from filter_plymc.cpp:28: ../../../../vcglib/wrap/io_trimesh/import_vmi.h: In instantiation of 'static int vcg::tri::io::ImporterVMI::Deserialize(OpenMeshType&, int&) [with OpenMeshType = SMesh; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char]': ../../../../vcglib/wrap/io_trimesh/import_vmi.h:658:34: required from 'static int vcg::tri::io::ImporterVMI::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = SMesh; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:139:46: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = SMesh; vcg::CallBackPos = bool(int, const char*)]' plymc.h:182:45: required from 'bool vcg::tri::PlyMC::InitMesh(SMesh&, const char*, vcg::Matrix44f) [with SMesh = SMesh; MeshProvider = SimpleMeshProvider; vcg::Matrix44f = vcg::Matrix44]' plymc.h:405:17: required from 'void vcg::tri::PlyMC::Process(bool (*)(int, const char*)) [with SMesh = SMesh; MeshProvider = SimpleMeshProvider; vcg::CallBackPos = bool(int, const char*)]' filter_plymc.cpp:164:19: required from here ../../../../vcglib/wrap/io_trimesh/import_vmi.h:714:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] size_t read = 0; ^~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import_obj.h:33, from ../../../../vcglib/wrap/io_trimesh/import.h:67, from plymc.h:44, from filter_plymc.cpp:28: ../../../../vcglib/wrap/gl/glu_tesselator.h: In instantiation of 'static void vcg::glu_tesselator::do_tesselation(const std::vector >&, vcg::glu_tesselator::tess_prim_data_vec&) [with point_type = vcg::Point3; vcg::glu_tesselator::tess_prim_data_vec = std::vector]': ../../../../vcglib/wrap/gl/glu_tesselator.h:115:29: required from 'static void vcg::glu_tesselator::tesselate(const std::vector >&, std::vector&) [with point_type = vcg::Point3]' ../../../../vcglib/wrap/io_trimesh/import_obj.h:426:71: required from 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&) [with OpenMeshType = SMesh]' ../../../../vcglib/wrap/io_trimesh/import_obj.h:206:15: required from 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = SMesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:134:40: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = SMesh; vcg::CallBackPos = bool(int, const char*)]' plymc.h:182:45: required from 'bool vcg::tri::PlyMC::InitMesh(SMesh&, const char*, vcg::Matrix44f) [with SMesh = SMesh; MeshProvider = SimpleMeshProvider; vcg::Matrix44f = vcg::Matrix44]' plymc.h:405:17: required from 'void vcg::tri::PlyMC::Process(bool (*)(int, const char*)) [with SMesh = SMesh; MeshProvider = SimpleMeshProvider; vcg::CallBackPos = bool(int, const char*)]' filter_plymc.cpp:164:19: required from here ../../../../vcglib/wrap/gl/glu_tesselator.h:221:48: warning: cast between incompatible function types from 'void (*)(GLenum, void*)' {aka 'void (*)(unsigned int, void*)'} to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_BEGIN_DATA, (GLvoid (CALLBACK *)())(this_type::begin_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:222:48: warning: cast between incompatible function types from 'void (*)(void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_END_DATA, (GLvoid (CALLBACK *)())(this_type::end_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:223:48: warning: cast between incompatible function types from 'void (*)(void*, void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_VERTEX_DATA, (GLvoid (CALLBACK *)())(this_type::vertex_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:237:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gluTessVertex(tess, vertex, (void *)k); ^~~~~~~~~ In file included from filter_plymc.cpp:26: ../../../../vcglib/wrap/io_trimesh/export_vmi.h: In static member function 'static int vcg::tri::io::ExporterVMI::WriteOut(const void*, size_t, size_t, FILE*) [with SaveMeshType = SMesh]': ../../../../vcglib/wrap/io_trimesh/export_vmi.h:85:9: warning: control reaches end of non-void function [-Wreturn-type] } ^ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:69, from plymc.h:44, from filter_plymc.cpp:28: ../../../../vcglib/wrap/io_trimesh/import_stl.h: In static member function 'static int vcg::tri::io::ImporterSTL::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = SMesh]': ../../../../vcglib/wrap/io_trimesh/import_stl.h:110:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&facenum, sizeof(int), 1, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:114:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(tmpbuf,sizeof(tmpbuf),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h: In static member function 'static int vcg::tri::io::ImporterSTL::OpenBinary(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = SMesh]': ../../../../vcglib/wrap/io_trimesh/import_stl.h:140:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&facenum, sizeof(int), 1, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:151:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&norm,sizeof(Point3f),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:152:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&tri,sizeof(Point3f),3,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:153:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&attr,sizeof(short),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o plylib.o ../../../../vcglib/wrap/ply/plylib.cpp ../../../../vcglib/wrap/ply/plylib.cpp: In function 'void vcg::ply::interpret_texture_name(const char*, const char*, char*)': ../../../../vcglib/wrap/ply/plylib.cpp:3666:14: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(output,"%s%s",output,fn2); ^~~~~~ ~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_plymc.h -o moc_filter_plymc.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_plymc.o moc_filter_plymc.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_plymc.h:27, from moc_filter_plymc.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_plymc.so g++ -Wl,-z,relro -shared -o libfilter_plymc.so filter_plymc.o plylib.o moc_filter_plymc.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_plymc.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_plymc' cd meshlabplugins/filter_poisson/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_poisson' g++ -c -pipe -fpermissive -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o Factor.o src/Factor.cpp g++ -c -pipe -fpermissive -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o Geometry.o src/Geometry.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from src/Hash.h:7, from src/Geometry.h:33, from src/Geometry.cpp:28: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ g++ -c -pipe -fpermissive -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o MarchingCubes.o src/MarchingCubes.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from src/Hash.h:7, from src/Geometry.h:33, from src/MarchingCubes.h:32, from src/MarchingCubes.cpp:29: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ src/MarchingCubes.cpp: In static member function 'static int Cube::FaceReflectEdgeIndex(const int&, const int&)': src/MarchingCubes.cpp:230:4: warning: this statement may fall through [-Wimplicit-fallthrough=] switch(o){ ^~~~~~ src/MarchingCubes.cpp:234:3: note: here case 2: return EdgeIndex(o,i,(j+1)%2); ^~~~ g++ -c -pipe -fpermissive -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o MultiGridOctest.o src/MultiGridOctest.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from src/Hash.h:7, from src/Geometry.h:33, from src/MarchingCubes.h:32, from src/MultiGridOctest.cpp:33: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from src/MultiGridOctest.cpp:34: src/Octree.h:78:28: warning: declaration of 'Allocator > OctNode::Allocator' [-fpermissive] static Allocator Allocator; ^~~~~~~~~ In file included from src/Octree.h:32, from src/MultiGridOctest.cpp:34: src/Allocator.h:46:7: warning: changes meaning of 'Allocator' from 'class Allocator >' [-fpermissive] class Allocator{ ^~~~~~~~~ In file included from src/MultiGridOctest.cpp:35: src/SparseMatrix.h:57:36: warning: declaration of 'Allocator > SparseMatrix::Allocator' [-fpermissive] static Allocator > Allocator; ^~~~~~~~~ In file included from src/Octree.h:32, from src/MultiGridOctest.cpp:34: src/Allocator.h:46:7: warning: changes meaning of 'Allocator' from 'class Allocator >' [-fpermissive] class Allocator{ ^~~~~~~~~ In file included from src/MultiGridOctest.cpp:35: src/SparseMatrix.h:108:41: warning: declaration of 'Allocator > SparseNMatrix::Allocator' [-fpermissive] static Allocator > Allocator; ^~~~~~~~~ In file included from src/Octree.h:32, from src/MultiGridOctest.cpp:34: src/Allocator.h:46:7: warning: changes meaning of 'Allocator' from 'class Allocator >' [-fpermissive] class Allocator{ ^~~~~~~~~ In file included from src/SparseMatrix.h:156, from src/MultiGridOctest.cpp:35: src/SparseMatrix.inl: In member function 'void SparseMatrix::Resize(int)': src/SparseMatrix.inl:105:3: warning: there are no arguments to 'memset' that depend on a template parameter, so a declaration of 'memset' must be available [-fpermissive] memset(rowSizes,0,sizeof(int)*r); ^~~~~~ In file included from src/SparseMatrix.h:156, from src/MultiGridOctest.cpp:35: src/SparseMatrix.inl: In member function 'void SparseNMatrix::Resize(int)': src/SparseMatrix.inl:363:3: warning: there are no arguments to 'memset' that depend on a template parameter, so a declaration of 'memset' must be available [-fpermissive] memset(rowSizes,0,sizeof(int)*r); ^~~~~~ src/MultiGridOctest.cpp: In instantiation of 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]': src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctest.cpp:85:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ src/MultiGridOctest.cpp:98:9: warning: unused variable 't' [-Wunused-variable] double t; ^ src/MultiGridOctest.cpp:83:186: warning: unused parameter 'cb' [-Wunused-parameter] int Execute(PoissonParam &Par, std::vector > Pts, std::vector > Nor, CoredVectorMeshData &mesh, Point3D &newCenter, Real &newScale, vcg::CallBackPos *cb) ~~~~~~~~~~~~~~~~~~^~ In file included from src/PPolynomial.h:112, from src/FunctionData.h:33, from src/MultiGridOctest.cpp:36: src/PPolynomial.inl: In instantiation of 'void PPolynomial::set(const size_t&) [with int Degree = 0; size_t = long unsigned int]': src/PPolynomial.inl:364:2: required from 'static PPolynomial PPolynomial::ConstantFunction(const double&) [with int Degree = 0]' src/PPolynomial.inl:377:31: required from here src/PPolynomial.inl:116:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class StartingPolynomial<0>'; use assignment or value-initialization instead [-Wclass-memaccess] memset(polys,0,sizeof(StartingPolynomial)*size); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/FunctionData.h:33, from src/MultiGridOctest.cpp:36: src/PPolynomial.h:35:7: note: 'class StartingPolynomial<0>' declared here class StartingPolynomial{ ^~~~~~~~~~~~~~~~~~ In file included from src/MultiGridOctreeData.h:255, from src/MultiGridOctest.cpp:46: src/MultiGridOctreeData.inl: In instantiation of 'int Octree::setTree(std::vector >&, std::vector >&, const int&, const int&, const Real&, const Real&, Point3D&, Real&, const int&, const int&) [with int Degree = 2; Real = float]': src/MultiGridOctest.cpp:121:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:331:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int pi=0;pi >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int pi=0;pi >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int pi=0;pi::SetLaplacianWeights() [with int Degree = 2]': src/MultiGridOctest.cpp:142:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:890:7: warning: unused variable 'd' [-Wunused-variable] int d=temp->depth(); ^ src/MultiGridOctreeData.inl: In instantiation of 'int Octree::LaplacianMatrixIteration(const int&) [with int Degree = 2]': src/MultiGridOctest.cpp:147:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:588:9: warning: unused variable 't' [-Wunused-variable] double t; ^ src/MultiGridOctreeData.inl: In instantiation of 'Real Octree::GetIsoValue() [with int Degree = 2; Real = float]': src/MultiGridOctest.cpp:150:10: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:1321:8: warning: variable 'myRadius' set but not used [-Wunused-but-set-variable] Real myRadius; ^~~~~~~~ src/MultiGridOctreeData.inl: In instantiation of 'void Octree::GetMCIsoTriangles(const Real&, CoredMeshData*, const int&, const int&) [with int Degree = 2; Real = float]': src/MultiGridOctest.cpp:156:7: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:1059:9: warning: unused variable 't' [-Wunused-variable] double t; ^ In file included from src/PPolynomial.h:112, from src/FunctionData.h:33, from src/MultiGridOctest.cpp:36: src/PPolynomial.inl: In instantiation of 'void PPolynomial::set(const size_t&) [with int Degree = 2; size_t = long unsigned int]': src/PPolynomial.inl:84:2: required from 'PPolynomial::PPolynomial(const PPolynomial&) [with int Degree = 2]' src/MultiGridOctest.cpp:103:22: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/PPolynomial.inl:116:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class StartingPolynomial<2>'; use assignment or value-initialization instead [-Wclass-memaccess] memset(polys,0,sizeof(StartingPolynomial)*size); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/FunctionData.h:33, from src/MultiGridOctest.cpp:36: src/PPolynomial.h:35:7: note: 'class StartingPolynomial<2>' declared here class StartingPolynomial{ ^~~~~~~~~~~~~~~~~~ In file included from src/MultiGridOctreeData.h:255, from src/MultiGridOctest.cpp:46: src/MultiGridOctreeData.inl: In instantiation of 'void Octree::NonLinearSplatOrientedPoint(const Point3D&, const Point3D&, const int&, const Real&, const int&, const int&) [with int Degree = 2; Real = float]': src/MultiGridOctreeData.inl:421:4: required from 'int Octree::setTree(std::vector >&, std::vector >&, const int&, const int&, const Real&, const Real&, Point3D&, Real&, const int&, const int&) [with int Degree = 2; Real = float]' src/MultiGridOctest.cpp:121:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:166:8: warning: unused variable 'cnt' [-Wunused-variable] int i,cnt=0; ^~~ src/MultiGridOctreeData.inl: In instantiation of 'void Octree::SetIsoSurfaceCorners(const Real&, const int&, const int&) [with int Degree = 2; Real = float]': src/MultiGridOctreeData.inl:1111:2: required from 'void Octree::GetMCIsoTriangles(const Real&, const int&, CoredMeshData*, const int&, const int&) [with int Degree = 2; Real = float]' src/MultiGridOctest.cpp:155:20: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:1356:6: warning: unused variable 'leafCount' [-Wunused-variable] int leafCount=tree.leaves(); ^~~~~~~~~ src/MultiGridOctreeData.inl:1349:101: warning: unused parameter 'fullDepthIso' [-Wunused-parameter] void Octree::SetIsoSurfaceCorners(const Real& isoValue,const int& subdivideDepth,const int& fullDepthIso){ ~~~~~~~~~~~^~~~~~~~~~~~ In file included from src/Octree.h:32, from src/MultiGridOctest.cpp:34: src/Allocator.h: In instantiation of 'T* Allocator::newElements(const int&) [with T = OctNode]': src/Octree.inl:83:23: required from 'int OctNode::initChildren() [with NodeData = TreeNodeData; Real = float]' src/MultiGridOctreeData.inl:373:43: required from 'int Octree::setTree(std::vector >&, std::vector >&, const int&, const int&, const Real&, const Real&, Point3D&, Real&, const int&, const int&) [with int Degree = 2; Real = float]' src/MultiGridOctest.cpp:121:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/Allocator.h:146:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(index==memory.size()-1){ ~~~~~^~~~~~~~~~~~~~~~~ In file included from src/Vector.h:140, from src/SparseMatrix.h:32, from src/MultiGridOctest.cpp:35: src/Vector.inl: In instantiation of 'void Vector::Resize(size_t) [with T = float; size_t = long unsigned int]': src/MultiGridOctreeData.inl:710:15: required from 'int Octree::SolveFixedDepthMatrix(const int&, const int&, const SortedTreeNodes&) [with int Degree = 2]' src/MultiGridOctreeData.inl:598:28: required from 'int Octree::LaplacianMatrixIteration(const int&) [with int Degree = 2]' src/MultiGridOctest.cpp:147:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/Vector.inl:65:8: warning: 'memset' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] memset( m_pV, 0, N*sizeof(T) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/MultiGridOctest.cpp:29: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:59:1: note: 'void* memset(void*, int, size_t)' declared here, later in the translation unit __NTH (memset (void *__dest, int __ch, size_t __len)) ^~~~~ In file included from src/MultiGridOctreeData.h:255, from src/MultiGridOctest.cpp:46: src/MultiGridOctreeData.inl: In instantiation of 'void Octree::AdjacencyCountFunction::Function(const TreeOctNode*, const TreeOctNode*) [with int Degree = 2; TreeOctNode = OctNode]': src/MultiGridOctreeData.inl:729:5: required from 'int Octree::SolveFixedDepthMatrix(const int&, const int&, const SortedTreeNodes&) [with int Degree = 2]' src/MultiGridOctreeData.inl:598:28: required from 'int Octree::LaplacianMatrixIteration(const int&) [with int Degree = 2]' src/MultiGridOctest.cpp:147:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:927:74: warning: unused parameter 'node1' [-Wunused-parameter] void Octree::AdjacencyCountFunction::Function(const TreeOctNode* node1,const TreeOctNode* node2){adjacencyCount++;} ~~~~~~~~~~~~~~~~~~~^~~~~ src/MultiGridOctreeData.inl:927:99: warning: unused parameter 'node2' [-Wunused-parameter] void Octree::AdjacencyCountFunction::Function(const TreeOctNode* node1,const TreeOctNode* node2){adjacencyCount++;} ~~~~~~~~~~~~~~~~~~~^~~~~ src/MultiGridOctreeData.inl: In instantiation of 'void Octree::AdjacencySetFunction::Function(const TreeOctNode*, const TreeOctNode*) [with int Degree = 2; TreeOctNode = OctNode]': src/MultiGridOctreeData.inl:744:5: required from 'int Octree::SolveFixedDepthMatrix(const int&, const int&, const SortedTreeNodes&) [with int Degree = 2]' src/MultiGridOctreeData.inl:598:28: required from 'int Octree::LaplacianMatrixIteration(const int&) [with int Degree = 2]' src/MultiGridOctest.cpp:147:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:929:97: warning: unused parameter 'node2' [-Wunused-parameter] void Octree::AdjacencySetFunction::Function(const TreeOctNode* node1,const TreeOctNode* node2){adjacencies[adjacencyCount++]=node1->nodeData.nodeIndex;} ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from src/Vector.h:140, from src/SparseMatrix.h:32, from src/MultiGridOctest.cpp:35: src/Vector.inl: In instantiation of 'void Vector::Resize(size_t) [with T = double; size_t = long unsigned int]': src/MultiGridOctreeData.inl:756:13: required from 'int Octree::SolveFixedDepthMatrix(const int&, const int&, const SortedTreeNodes&) [with int Degree = 2]' src/MultiGridOctreeData.inl:598:28: required from 'int Octree::LaplacianMatrixIteration(const int&) [with int Degree = 2]' src/MultiGridOctest.cpp:147:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/Vector.inl:65:8: warning: 'memset' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] memset( m_pV, 0, N*sizeof(T) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/MultiGridOctest.cpp:29: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:59:1: note: 'void* memset(void*, int, size_t)' declared here, later in the translation unit __NTH (memset (void *__dest, int __ch, size_t __len)) ^~~~~ In file included from src/MultiGridOctreeData.h:255, from src/MultiGridOctest.cpp:46: src/MultiGridOctreeData.inl: In instantiation of 'int Octree::GetRestrictedFixedDepthLaplacian(SparseSymmetricMatrix&, const int&, const int*, const int&, const TreeOctNode*, const Real&, const SortedTreeNodes&) [with int Degree = 2; TreeOctNode = OctNode; Real = float]': src/MultiGridOctreeData.inl:762:3: required from 'int Octree::SolveFixedDepthMatrix(const int&, const int&, const SortedTreeNodes&) [with int Degree = 2]' src/MultiGridOctreeData.inl:598:28: required from 'int Octree::LaplacianMatrixIteration(const int&) [with int Degree = 2]' src/MultiGridOctest.cpp:147:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:562:7: warning: unused variable 'myRadius' [-Wunused-variable] Real myRadius=int(2*radius-ROUND_EPS)+ROUND_EPS; ^~~~~~~~ src/MultiGridOctreeData.inl:557:102: warning: unused parameter 'depth' [-Wunused-parameter] int Octree::GetRestrictedFixedDepthLaplacian(SparseSymmetricMatrix& matrix,const int& depth,const int* entries,const int& entryCount, ~~~~~~~~~~~^~~~~ src/MultiGridOctreeData.inl: In instantiation of 'int Octree::GetRoot(const RootInfo&, const Real&, const int&, Point3D&, __gnu_cxx::hash_map > >&, Point3D*, const int&) [with int Degree = 2; Real = float]': src/MultiGridOctreeData.inl:2110:10: required from 'int Octree::SetBoundaryMCRootPositions(const int&, const Real&, __gnu_cxx::hash_map&, __gnu_cxx::hash_map > >&, CoredMeshData*, const int&) [with int Degree = 2; Real = float]' src/MultiGridOctreeData.inl:1122:2: required from 'void Octree::GetMCIsoTriangles(const Real&, const int&, CoredMeshData*, const int&, const int&) [with int Degree = 2; Real = float]' src/MultiGridOctest.cpp:155:20: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:1867:80: warning: unused parameter 'maxDepth' [-Wunused-parameter] int Octree::GetRoot(const RootInfo& ri,const Real& isoValue,const int& maxDepth,Point3D& position,hash_map > >& normals, ~~~~~~~~~~~^~~~~~~~ src/MultiGridOctreeData.inl:1868:23: warning: unused parameter 'normal' [-Wunused-parameter] Point3D* normal,const int& nonLinearFit){ ~~~~~~~~~~~~~~~^~~~~~ src/MultiGridOctreeData.inl: In instantiation of 'void Octree::GetMCIsoEdges(TreeOctNode*, __gnu_cxx::hash_map&, __gnu_cxx::hash_map*, const int&, std::vector >&) [with int Degree = 2; TreeOctNode = OctNode]': src/MultiGridOctreeData.inl:2212:2: required from 'int Octree::GetMCIsoTriangles(TreeOctNode*, CoredMeshData*, __gnu_cxx::hash_map&, __gnu_cxx::hash_map*, std::vector >*, const int&, const int&) [with int Degree = 2; TreeOctNode = OctNode]' src/MultiGridOctreeData.inl:1140:4: required from 'void Octree::GetMCIsoTriangles(const Real&, const int&, CoredMeshData*, const int&, const int&) [with int Degree = 2; Real = float]' src/MultiGridOctest.cpp:155:20: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:2169:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] else{fprintf(stderr,"Bad Edge 1: %d %d\n",ri1.key,ri2.key);} ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ src/MultiGridOctreeData.inl:2169:27: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] src/MultiGridOctreeData.inl:2130:14: warning: unused variable 'tris' [-Wunused-variable] int count=0,tris=0; ^~~~ src/MultiGridOctreeData.inl:2127:79: warning: unused parameter 'boundaryRoots' [-Wunused-parameter] void Octree::GetMCIsoEdges(TreeOctNode* node,hash_map& boundaryRoots,hash_map* interiorRoots,const int& sDepth, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/MultiGridOctreeData.inl:2127:118: warning: unused parameter 'interiorRoots' [-Wunused-parameter] void Octree::GetMCIsoEdges(TreeOctNode* node,hash_map& boundaryRoots,hash_map* interiorRoots,const int& sDepth, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ src/MultiGridOctreeData.inl: In instantiation of 'static int Octree::AddTriangles(CoredMeshData*, std::vector&, std::vector >*, const int&) [with int Degree = 2]': src/MultiGridOctreeData.inl:2222:21: required from 'int Octree::GetMCIsoTriangles(TreeOctNode*, CoredMeshData*, __gnu_cxx::hash_map&, __gnu_cxx::hash_map*, std::vector >*, const int&, const int&) [with int Degree = 2; TreeOctNode = OctNode]' src/MultiGridOctreeData.inl:1140:4: required from 'void Octree::GetMCIsoTriangles(const Real&, const int&, CoredMeshData*, const int&, const int&) [with int Degree = 2; Real = float]' src/MultiGridOctest.cpp:155:20: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:2295:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(i==t.edges.size()){break;} ~^~~~~~~~~~~~~~~~ In file included from src/PPolynomial.h:112, from src/FunctionData.h:33, from src/MultiGridOctest.cpp:36: src/PPolynomial.inl: In instantiation of 'void PPolynomial::set(const size_t&) [with int Degree = 1; size_t = long unsigned int]': src/PPolynomial.inl:84:2: required from 'PPolynomial::PPolynomial(const PPolynomial&) [with int Degree = 1]' src/PPolynomial.inl:381:158: required from 'static PPolynomial PPolynomial::GaussianApproximation(const double&) [with int Degree = 1]' src/PPolynomial.inl:381:136: required from 'static PPolynomial PPolynomial::GaussianApproximation(const double&) [with int Degree = 2]' src/MultiGridOctest.cpp:103:87: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/PPolynomial.inl:116:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class StartingPolynomial<1>'; use assignment or value-initialization instead [-Wclass-memaccess] memset(polys,0,sizeof(StartingPolynomial)*size); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/FunctionData.h:33, from src/MultiGridOctest.cpp:36: src/PPolynomial.h:35:7: note: 'class StartingPolynomial<1>' declared here class StartingPolynomial{ ^~~~~~~~~~~~~~~~~~ In file included from src/PPolynomial.h:112, from src/FunctionData.h:33, from src/MultiGridOctest.cpp:36: src/PPolynomial.inl: In instantiation of 'void PPolynomial::set(const size_t&) [with int Degree = 3; size_t = long unsigned int]': src/PPolynomial.inl:135:2: required from 'PPolynomial& PPolynomial::operator=(const PPolynomial&) [with int Degree2 = 2; int Degree = 3]' src/FunctionData.inl:91:19: required from 'void FunctionData::set(const int&, const PPolynomial&, const int&, const int&) [with int Degree = 2; Real = float]' src/MultiGridOctreeData.inl:471:2: required from 'void Octree::setFunctionData(const PPolynomial&, const int&, const int&, const Real&) [with int Degree = 2; Real = float]' src/MultiGridOctest.cpp:112:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/PPolynomial.inl:116:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class StartingPolynomial<3>'; use assignment or value-initialization instead [-Wclass-memaccess] memset(polys,0,sizeof(StartingPolynomial)*size); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/FunctionData.h:33, from src/MultiGridOctest.cpp:36: src/PPolynomial.h:35:7: note: 'class StartingPolynomial<3>' declared here class StartingPolynomial{ ^~~~~~~~~~~~~~~~~~ In file included from src/MultiGridOctreeData.h:255, from src/MultiGridOctest.cpp:46: src/MultiGridOctreeData.inl: In instantiation of 'void Octree::RefineFunction::Function(TreeOctNode*, const TreeOctNode*) [with int Degree = 2; TreeOctNode = OctNode]': src/Octree.inl:467:21: required from 'static void OctNode::ProcessMaxDepthNodeAdjacentNodes(const int&, const int&, const int&, OctNode*, const int&, OctNode*, const int&, const int&, const int&, NodeAdjacencyFunction*, const int&) [with NodeAdjacencyFunction = Octree<2>::RefineFunction; NodeData = TreeNodeData; Real = float]' src/Octree.inl:455:34: required from 'static void OctNode::ProcessMaxDepthNodeAdjacentNodes(const int&, OctNode*, const int&, OctNode*, const int&, const int&, NodeAdjacencyFunction*, const int&) [with NodeAdjacencyFunction = Octree<2>::RefineFunction; NodeData = TreeNodeData; Real = float]' src/MultiGridOctreeData.inl:485:50: required from 'void Octree::finalize1(const int&) [with int Degree = 2]' src/MultiGridOctest.cpp:138:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:931:85: warning: unused parameter 'node2' [-Wunused-parameter] void Octree::RefineFunction::Function(TreeOctNode* node1,const TreeOctNode* node2){ ~~~~~~~~~~~~~~~~~~~^~~~~ src/MultiGridOctreeData.inl: In instantiation of 'void Octree::DivergenceFunction::Function(TreeOctNode*, const TreeOctNode*) [with int Degree = 2; TreeOctNode = OctNode]': src/Octree.inl:366:21: required from 'static void OctNode::ProcessNodeAdjacentNodes(const int&, const int&, const int&, OctNode*, const int&, OctNode*, const int&, const int&, NodeAdjacencyFunction*, const int&) [with NodeAdjacencyFunction = Octree<2>::DivergenceFunction; NodeData = TreeNodeData; Real = float]' src/Octree.inl:357:26: required from 'static void OctNode::ProcessNodeAdjacentNodes(const int&, OctNode*, const int&, OctNode*, const int&, NodeAdjacencyFunction*, const int&) [with NodeAdjacencyFunction = Octree<2>::DivergenceFunction; NodeData = TreeNodeData; Real = float]' src/MultiGridOctreeData.inl:895:40: required from 'void Octree::SetLaplacianWeights() [with int Degree = 2]' src/MultiGridOctest.cpp:142:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:911:89: warning: unused parameter 'node2' [-Wunused-parameter] void Octree::DivergenceFunction::Function(TreeOctNode* node1,const TreeOctNode* node2){ ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from src/SparseMatrix.h:156, from src/MultiGridOctest.cpp:35: src/SparseMatrix.inl: In instantiation of 'void SparseMatrix::Resize(int) [with T = float]': src/SparseMatrix.inl:91:34: required from 'SparseMatrix::~SparseMatrix() [with T = float]' src/SparseMatrix.h:139:7: required from 'int Octree::SolveFixedDepthMatrix(const int&, const int&, const SortedTreeNodes&) [with int Degree = 2]' src/MultiGridOctreeData.inl:598:28: required from 'int Octree::LaplacianMatrixIteration(const int&) [with int Degree = 2]' src/MultiGridOctest.cpp:147:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/SparseMatrix.inl:105:9: warning: 'memset' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] memset(rowSizes,0,sizeof(int)*r); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/MultiGridOctest.cpp:29: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:59:1: note: 'void* memset(void*, int, size_t)' declared here, later in the translation unit __NTH (memset (void *__dest, int __ch, size_t __len)) ^~~~~ In file included from src/Vector.h:140, from src/SparseMatrix.h:32, from src/MultiGridOctest.cpp:35: src/Vector.inl: In instantiation of 'Vector& Vector::operator=(const Vector&) [with T = double]': src/SparseMatrix.inl:489:5: required from 'static int SparseSymmetricMatrix::Solve(const SparseSymmetricMatrix&, const Vector&, const int&, Vector&, T2, const int&) [with T2 = double; T = float]' src/MultiGridOctreeData.inl:769:43: required from 'int Octree::SolveFixedDepthMatrix(const int&, const int&, const SortedTreeNodes&) [with int Degree = 2]' src/MultiGridOctreeData.inl:598:28: required from 'int Octree::LaplacianMatrixIteration(const int&) [with int Degree = 2]' src/MultiGridOctest.cpp:147:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/Vector.inl:79:8: warning: 'memcpy' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] memcpy( m_pV, V.m_pV, m_N*sizeof(T) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/MultiGridOctest.cpp:29: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:31:1: note: 'void* memcpy(void*, const void*, size_t)' declared here, later in the translation unit __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^~~~~ In file included from src/MultiGridOctreeData.h:255, from src/MultiGridOctest.cpp:46: src/MultiGridOctreeData.inl: In instantiation of 'void Octree::LaplacianProjectionFunction::Function(TreeOctNode*, const TreeOctNode*) [with int Degree = 2; TreeOctNode = OctNode]': src/Octree.inl:275:21: required from 'void OctNode::processNodeNodes(OctNode*, NodeAdjacencyFunction*, const int&) [with NodeAdjacencyFunction = Octree<2>::LaplacianProjectionFunction; NodeData = TreeNodeData; Real = float]' src/MultiGridOctreeData.inl:813:73: required from 'int Octree::SolveFixedDepthMatrix(const int&, const int&, const SortedTreeNodes&) [with int Degree = 2]' src/MultiGridOctreeData.inl:598:28: required from 'int Octree::LaplacianMatrixIteration(const int&) [with int Degree = 2]' src/MultiGridOctest.cpp:147:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:920:98: warning: unused parameter 'node2' [-Wunused-parameter] void Octree::LaplacianProjectionFunction::Function(TreeOctNode* node1,const TreeOctNode* node2){ ~~~~~~~~~~~~~~~~~~~^~~~~ In file included from src/PPolynomial.h:112, from src/FunctionData.h:33, from src/MultiGridOctest.cpp:36: src/PPolynomial.inl: In instantiation of 'void PPolynomial::set(const size_t&) [with int Degree = 4; size_t = long unsigned int]': src/PPolynomial.inl:97:2: required from 'void PPolynomial::set(StartingPolynomial*, const int&) [with int Degree = 4]' src/PPolynomial.inl:243:2: required from 'PPolynomial<(Degree + Degree2)> PPolynomial::operator*(const PPolynomial&) const [with int Degree2 = 2; int Degree = 2]' src/FunctionData.inl:79:26: required from 'void FunctionData::set(const int&, const PPolynomial&, const int&, const int&) [with int Degree = 2; Real = float]' src/MultiGridOctreeData.inl:471:2: required from 'void Octree::setFunctionData(const PPolynomial&, const int&, const int&, const Real&) [with int Degree = 2; Real = float]' src/MultiGridOctest.cpp:112:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/PPolynomial.inl:116:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class StartingPolynomial<4>'; use assignment or value-initialization instead [-Wclass-memaccess] memset(polys,0,sizeof(StartingPolynomial)*size); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/FunctionData.h:33, from src/MultiGridOctest.cpp:36: src/PPolynomial.h:35:7: note: 'class StartingPolynomial<4>' declared here class StartingPolynomial{ ^~~~~~~~~~~~~~~~~~ In file included from src/Octree.h:32, from src/MultiGridOctest.cpp:34: src/Allocator.h: In instantiation of 'T* Allocator::newElements(const int&) [with T = MatrixEntry]': src/SparseMatrix.inl:113:33: required from 'void SparseMatrix::SetRowSize(int, int) [with T = float]' src/MultiGridOctreeData.inl:575:10: required from 'int Octree::GetRestrictedFixedDepthLaplacian(SparseSymmetricMatrix&, const int&, const int*, const int&, const TreeOctNode*, const Real&, const SortedTreeNodes&) [with int Degree = 2; TreeOctNode = OctNode; Real = float]' src/MultiGridOctreeData.inl:762:3: required from 'int Octree::SolveFixedDepthMatrix(const int&, const int&, const SortedTreeNodes&) [with int Degree = 2]' src/MultiGridOctreeData.inl:598:28: required from 'int Octree::LaplacianMatrixIteration(const int&) [with int Degree = 2]' src/MultiGridOctest.cpp:147:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/Allocator.h:146:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector*, std::allocator*> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] if(index==memory.size()-1){ ~~~~~^~~~~~~~~~~~~~~~~ In file included from src/Vector.h:140, from src/SparseMatrix.h:32, from src/MultiGridOctest.cpp:35: src/Vector.inl: In instantiation of 'Vector::Vector(const Vector&) [with T = double]': src/SparseMatrix.inl:456:9: required from 'Vector SparseSymmetricMatrix::Multiply(const Vector&) const [with T2 = double; T = float]' src/SparseMatrix.inl:489:7: required from 'static int SparseSymmetricMatrix::Solve(const SparseSymmetricMatrix&, const Vector&, const int&, Vector&, T2, const int&) [with T2 = double; T = float]' src/MultiGridOctreeData.inl:769:43: required from 'int Octree::SolveFixedDepthMatrix(const int&, const int&, const SortedTreeNodes&) [with int Degree = 2]' src/MultiGridOctreeData.inl:598:28: required from 'int Octree::LaplacianMatrixIteration(const int&) [with int Degree = 2]' src/MultiGridOctest.cpp:147:2: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/Vector.inl:47:8: warning: 'memcpy' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] memcpy( m_pV, V.m_pV, m_N*sizeof(T) ); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:424, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/MultiGridOctest.cpp:29: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:31:1: note: 'void* memcpy(void*, const void*, size_t)' declared here, later in the translation unit __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^~~~~ In file included from src/MultiGridOctreeData.h:255, from src/MultiGridOctest.cpp:46: src/MultiGridOctreeData.inl: In instantiation of 'void Octree::FaceEdgesFunction::Function(const TreeOctNode*, const TreeOctNode*) [with int Degree = 2; TreeOctNode = OctNode]': src/Octree.inl:281:21: required from 'void OctNode::processNodeFaces(OctNode*, NodeAdjacencyFunction*, const int&, const int&) [with NodeAdjacencyFunction = Octree<2>::FaceEdgesFunction; NodeData = TreeNodeData; Real = float]' src/MultiGridOctreeData.inl:2147:69: required from 'void Octree::GetMCIsoEdges(TreeOctNode*, __gnu_cxx::hash_map&, __gnu_cxx::hash_map*, const int&, std::vector >&) [with int Degree = 2; TreeOctNode = OctNode]' src/MultiGridOctreeData.inl:2212:2: required from 'int Octree::GetMCIsoTriangles(TreeOctNode*, CoredMeshData*, __gnu_cxx::hash_map&, __gnu_cxx::hash_map*, std::vector >*, const int&, const int&) [with int Degree = 2; TreeOctNode = OctNode]' src/MultiGridOctreeData.inl:1140:4: required from 'void Octree::GetMCIsoTriangles(const Real&, const int&, CoredMeshData*, const int&, const int&) [with int Degree = 2; Real = float]' src/MultiGridOctest.cpp:155:20: required from 'int Execute(PoissonParam&, std::vector >, std::vector >, CoredVectorMeshData&, Point3D&, Real&, bool (*)(int, const char*)) [with int Degree = 2; Real = float; vcg::CallBackPos = bool(int, const char*)]' src/MultiGridOctest.cpp:165:58: required from here src/MultiGridOctreeData.inl:960:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] else{fprintf(stderr,"Bad Edge 1: %d %d\n",ri1.key,ri2.key);} ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ src/MultiGridOctreeData.inl:960:26: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] src/MultiGridOctreeData.inl:935:94: warning: unused parameter 'node2' [-Wunused-parameter] void Octree::FaceEdgesFunction::Function(const TreeOctNode* node1,const TreeOctNode* node2){ ~~~~~~~~~~~~~~~~~~~^~~~~ src/MultiGridOctreeData.inl: In static member function 'static int Octree::IsBoundaryEdge(const TreeOctNode*, const int&, const int&, const int&, const int&) [with int Degree = 2]': src/MultiGridOctreeData.inl:1649:33: warning: 'idx2' may be used uninitialized in this function [-Wmaybe-uninitialized] return !(idx1%(mask)) || !(idx2%(mask)); ~~~~~^~~~~~~~ src/MultiGridOctreeData.inl:1649:15: warning: 'idx1' may be used uninitialized in this function [-Wmaybe-uninitialized] return !(idx1%(mask)) || !(idx2%(mask)); ~~~~~^~~~~~~~ src/MultiGridOctreeData.inl: In static member function 'static int Octree::GetRootIndex(const TreeOctNode*, const int&, const int&, RootInfo&) [with int Degree = 2]': src/MultiGridOctreeData.inl:2007:56: warning: 'eIndex[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] ri.key= (long long)(o) | (long long)(eIndex[0])<<5 | (long long)(eIndex[1])<<25 | (long long)(offset)<<45; src/MultiGridOctreeData.inl:2007:28: warning: 'eIndex[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] ri.key= (long long)(o) | (long long)(eIndex[0])<<5 | (long long)(eIndex[1])<<25 | (long long)(offset)<<45; src/MultiGridOctreeData.inl: In member function 'int Octree::SetBoundaryMCRootPositions(const int&, const Real&, __gnu_cxx::hash_map&, __gnu_cxx::hash_map > >&, CoredMeshData*, const int&) [with int Degree = 2]': src/MultiGridOctreeData.inl:2121:3: warning: 'hits' may be used uninitialized in this function [-Wmaybe-uninitialized] if(hits){node=tree.nextLeaf(node);} ^~ g++ -c -pipe -fpermissive -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_poisson.o filter_poisson.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.cpp:43: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_poisson.cpp:43: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_poisson.cpp:43: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_poisson.cpp:43: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.cpp:43: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.cpp:43: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.cpp:43: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.cpp:43: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.cpp:43: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.cpp:43: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.cpp:43: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_poisson.cpp:44: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ filter_poisson.cpp: In member function 'virtual void PoissonPlugin::initParameterSet(QAction*, MeshModel&, RichParameterSet&)': filter_poisson.cpp:97:65: warning: unused parameter 'm' [-Wunused-parameter] void PoissonPlugin::initParameterSet(QAction *action,MeshModel &m, RichParameterSet & parlst) ~~~~~~~~~~~^ filter_poisson.cpp: In member function 'virtual bool PoissonPlugin::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_poisson.cpp:179:6: warning: unused variable 'ret' [-Wunused-variable] int ret= Execute2(pp, Pts, Nor, mesh,center,scale,cb); ^~~ filter_poisson.cpp:143:42: warning: unused parameter 'filter' [-Wunused-parameter] bool PoissonPlugin::applyFilter(QAction *filter, MeshDocument &md, RichParameterSet & par, vcg::CallBackPos *cb) ~~~~~~~~~^~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_poisson.cpp:37: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_poisson.cpp:37: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_poisson.h -o moc_filter_poisson.cpp g++ -c -pipe -fpermissive -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_poisson.o moc_filter_poisson.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_poisson.h:39, from moc_filter_poisson.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_poisson.so g++ -Wl,-z,relro -shared -o libfilter_poisson.so Factor.o Geometry.o MarchingCubes.o MultiGridOctest.o filter_poisson.o moc_filter_poisson.o -L/usr/X11R6/lib -L/usr/lib/aarch64-linux-gnu -L../../distrib -lcommon -lGLEW -lGL -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lpthread mv -f libfilter_poisson.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_poisson' cd meshlabplugins/filter_qhull/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_qhull' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_qhull.o filter_qhull.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from filter_qhull.cpp:29: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_qhull.h:32, from filter_qhull.cpp:29: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_qhull.h:32, from filter_qhull.cpp:29: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_qhull.h:32, from filter_qhull.cpp:29: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from filter_qhull.cpp:29: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from filter_qhull.cpp:29: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from filter_qhull.cpp:29: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from filter_qhull.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from filter_qhull.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from filter_qhull.cpp:29: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from filter_qhull.cpp:29: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_qhull.h:32, from filter_qhull.cpp:29: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_qhull.h:32, from filter_qhull.cpp:29: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o qhull_tools.o qhull_tools.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from qhull_tools.h:48, from qhull_tools.cpp:31: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from qhull_tools.h:48, from qhull_tools.cpp:31: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from qhull_tools.h:48, from qhull_tools.cpp:31: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from qhull_tools.h:48, from qhull_tools.cpp:31: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qhull_tools.h:48, from qhull_tools.cpp:31: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qhull_tools.h:48, from qhull_tools.cpp:31: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qhull_tools.h:48, from qhull_tools.cpp:31: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qhull_tools.h:48, from qhull_tools.cpp:31: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qhull_tools.h:48, from qhull_tools.cpp:31: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from qhull_tools.h:48, from qhull_tools.cpp:31: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from qhull_tools.h:48, from qhull_tools.cpp:31: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ qhull_tools.cpp: In function 'bool compute_voronoi(int, int, MeshModel&, MeshModel&, float)': qhull_tools.cpp:356:18: warning: 'second_pole' may be used uninitialized in this function [-Wmaybe-uninitialized] qh_setunique(&poles_set, second_pole); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ qhull_tools.cpp:301:22: warning: 'first_pole' may be used uninitialized in this function [-Wmaybe-uninitialized] if(qh_pointdist(bbCenter,pole,dim)>(threshold*pm.cm.bbox.Diag())) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_qhull.h -o moc_filter_qhull.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_qhull.o moc_filter_qhull.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_qhull.h:32, from moc_filter_qhull.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_qhull.so g++ -Wl,-z,relro -shared -o libfilter_qhull.so filter_qhull.o qhull_tools.o moc_filter_qhull.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lqhull -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_qhull.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_qhull' cd meshlabplugins/filter_quality/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_quality' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o transferfunction.o ../edit_quality/common/transferfunction.cpp ../edit_quality/common/transferfunction.cpp: In member function 'float TfChannel::getChannelValuef(float)': ../edit_quality/common/transferfunction.cpp:162:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ( (*it)->x >= xVal ) ^ ../edit_quality/common/transferfunction.cpp: In member function 'vcg::Color4b TransferFunction::getColorByQuality(float, float, float, float, float)': ../edit_quality/common/transferfunction.cpp:530:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (brightness!=1.0f) //Applying brightness to each color channel, 0::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../edit_quality/common/meshmethods.h:30, from ../edit_quality/common/meshmethods.cpp:30: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../edit_quality/common/meshmethods.h:30, from ../edit_quality/common/meshmethods.cpp:30: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../edit_quality/common/meshmethods.h:30, from ../edit_quality/common/meshmethods.cpp:30: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../edit_quality/common/meshmethods.h:30, from ../edit_quality/common/meshmethods.cpp:30: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../edit_quality/common/meshmethods.h:30, from ../edit_quality/common/meshmethods.cpp:30: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../edit_quality/common/meshmethods.h:30, from ../edit_quality/common/meshmethods.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../edit_quality/common/meshmethods.h:30, from ../edit_quality/common/meshmethods.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../edit_quality/common/meshmethods.h:30, from ../edit_quality/common/meshmethods.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../edit_quality/common/meshmethods.h:30, from ../edit_quality/common/meshmethods.cpp:30: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filterqualitymapper.o filterqualitymapper.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from filterqualitymapper.cpp:33: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from filterqualitymapper.cpp:33: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from filterqualitymapper.cpp:33: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from filterqualitymapper.cpp:33: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from filterqualitymapper.cpp:33: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from filterqualitymapper.cpp:33: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from filterqualitymapper.cpp:33: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from filterqualitymapper.cpp:33: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from filterqualitymapper.cpp:33: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from filterqualitymapper.cpp:33: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from filterqualitymapper.cpp:33: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filterqualitymapper.cpp:30: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filterqualitymapper.cpp:30: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filterqualitymapper.h -o moc_filterqualitymapper.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filterqualitymapper.o moc_filterqualitymapper.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filterqualitymapper.h:35, from moc_filterqualitymapper.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_quality.so g++ -Wl,-z,relro -shared -o libfilter_quality.so transferfunction.o util.o meshmethods.o filterqualitymapper.o moc_filterqualitymapper.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_quality.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_quality' cd meshlabplugins/filter_sampling/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sampling' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_sampling.o filter_sampling.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_sampling.cpp:38: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilar(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:797:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:805:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilarDual(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:814:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:837:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ filter_sampling.cpp: In member function 'float HausdorffSampler::AddSample(const CoordType&, const CoordType&)': filter_sampling.cpp:203:23: warning: variable 'nearestF' set but not used [-Wunused-but-set-variable] CMeshO::FaceType *nearestF=0; ^~~~~~~~ filter_sampling.cpp:204:27: warning: variable 'nearestV' set but not used [-Wunused-but-set-variable] CMeshO::VertexType *nearestV=0; ^~~~~~~~ filter_sampling.cpp: In member function 'virtual bool FilterDocSampling::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_sampling.cpp:1089:53: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from filter_sampling.cpp:38: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In instantiation of 'static void vcg::tri::SurfaceSampling::PoissonDiskPruning(MetroMesh&, VertexSampler&, MetroMesh&, vcg::tri::SurfaceSampling::ScalarType, vcg::tri::SurfaceSampling::PoissonDiskParam) [with MetroMesh = CMeshO; VertexSampler = BaseSampler; vcg::tri::SurfaceSampling::ScalarType = float]': filter_sampling.cpp:873:49: required from here ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:1170:9: warning: unused variable 't0' [-Wunused-variable] int t0 = clock(); ^~ In file included from filter_sampling.cpp:44: ../../../../vcglib/vcg/complex/algorithms/voronoi_clustering.h: In instantiation of 'static void vcg::tri::VoronoiProcessing::ComputePerVertexSources(MeshType&, std::vector&) [with MeshType = CMeshO; typename FaceType::VertexType = CVertexO]': filter_sampling.cpp:1076:36: required from here ../../../../vcglib/vcg/complex/algorithms/voronoi_clustering.h:109:24: warning: variable 'faceSources' set but not used [-Wunused-but-set-variable] PerFacePointerHandle faceSources = tri::Allocator:: template AddPerFaceAttribute (m,"sources"); ^~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/voronoi_clustering.h: In instantiation of 'static void vcg::tri::VoronoiProcessing::VoronoiColoring(MeshType&, std::vector&, bool) [with MeshType = CMeshO; typename FaceType::VertexType = CVertexO]': filter_sampling.cpp:1079:37: required from here ../../../../vcglib/vcg/complex/algorithms/voronoi_clustering.h:114:69: warning: unused parameter 'seedVec' [-Wunused-parameter] static void VoronoiColoring(MeshType &m, std::vector &seedVec, bool frontierFlag=true) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from filter_sampling.cpp:38: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In instantiation of 'static void vcg::tri::SurfaceSampling::SingleFaceRaster(typename MetroMesh::FaceType&, VertexSampler&, const vcg::Point2&, const vcg::Point2&, const vcg::Point2&, bool) [with MetroMesh = CMeshO; VertexSampler = BaseSampler; typename MetroMesh::FaceType = CFaceO; typename MetroMesh::ScalarType = float]': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:1377:33: required from 'static void vcg::tri::SurfaceSampling::Texture(MetroMesh&, VertexSampler&, int, int, bool) [with MetroMesh = CMeshO; VertexSampler = BaseSampler]' filter_sampling.cpp:718:48: required from here ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:976:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] bool in = false; ^~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In instantiation of 'static void vcg::tri::SurfaceSampling::SubdivideAndSample(MetroMesh&, std::vector, std::allocator > >&, vcg::Box3, vcg::tri::SurfaceSampling::RRParam&, float) [with MetroMesh = CMeshO; VertexSampler = RedetailSampler; typename FaceType::ScalarType = float]': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:1406:20: required from 'static void vcg::tri::SurfaceSampling::RegularRecursiveOffset(MetroMesh&, std::vector, std::allocator > >&, vcg::tri::SurfaceSampling::ScalarType, float) [with MetroMesh = CMeshO; VertexSampler = RedetailSampler; vcg::tri::SurfaceSampling::ScalarType = float]' filter_sampling.cpp:1140:50: required from here ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:1415:14: warning: variable 'nearestF' set but not used [-Wunused-but-set-variable] FaceType *nearestF=0; ^~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_sampling.cpp:28: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_sampling.cpp:28: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ filter_sampling.cpp: In member function 'virtual void FilterDocSampling::initParameterSet(QAction*, MeshDocument&, RichParameterSet&)': filter_sampling.cpp:650:142: warning: 'vertexMesh' may be used uninitialized in this function [-Wmaybe-uninitialized] "The mesh whose vertexes are used as seed points for the color computation. These seeds point are projected onto the above mesh.")); ^ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from filter_sampling.cpp:35: ../../../../vcglib/vcg/simplex/face/distance.h: In function 'bool vcg::face::PointDistanceBase(const FaceType&, const vcg::Point3&, typename FaceType::ScalarType&, vcg::Point3&) [with FaceType = CFaceO]': ../../../../vcglib/vcg/simplex/face/distance.h:430:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:392:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:355:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_sampling.h -o moc_filter_sampling.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_sampling.o moc_filter_sampling.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_sampling.h:38, from moc_filter_sampling.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_sampling.so g++ -Wl,-z,relro -shared -o libfilter_sampling.so filter_sampling.o moc_filter_sampling.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_sampling.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sampling' cd meshlabplugins/filter_sdfgpu/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sdfgpu' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../meshlabplugins/render_radiance_scaling -I/usr/X11R6/include -I. -o filter_sdfgpu.o filter_sdfgpu.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_sdfgpu.cpp:4: ../../../../vcglib/vcg/complex/algorithms/intersection.h: In function 'bool vcg::Intersection(vcg::Plane3, IndexingType*, std::vector&)': ../../../../vcglib/vcg/complex/algorithms/intersection.h:209:46: warning: typedef 'FaceContainer' locally defined but not used [-Wunused-local-typedefs] typedef typename TriMeshType::FaceContainer FaceContainer; ^~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_sdfgpu.h:6, from filter_sdfgpu.cpp:1: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../meshlabplugins/render_radiance_scaling -I/usr/X11R6/include -I. -o gpuProgram.o ../../meshlabplugins/render_radiance_scaling/gpuProgram.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../meshlabplugins/render_radiance_scaling -I/usr/X11R6/include -I. -o framebufferObject.o ../../meshlabplugins/render_radiance_scaling/framebufferObject.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../meshlabplugins/render_radiance_scaling -I/usr/X11R6/include -I. -o gpuShader.o ../../meshlabplugins/render_radiance_scaling/gpuShader.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../meshlabplugins/render_radiance_scaling -I/usr/X11R6/include -I. -o textureParams.o ../../meshlabplugins/render_radiance_scaling/textureParams.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../meshlabplugins/render_radiance_scaling -I/usr/X11R6/include -I. -o textureFormat.o ../../meshlabplugins/render_radiance_scaling/textureFormat.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../meshlabplugins/render_radiance_scaling -I/usr/X11R6/include -I. filter_sdfgpu.h -o moc_filter_sdfgpu.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../meshlabplugins/render_radiance_scaling -I/usr/X11R6/include -I. -o moc_filter_sdfgpu.o moc_filter_sdfgpu.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_sdfgpu.h:6, from moc_filter_sdfgpu.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name filter_sdfgpu filter_sdfgpu.qrc -o qrc_filter_sdfgpu.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../meshlabplugins/render_radiance_scaling -I/usr/X11R6/include -I. -o qrc_filter_sdfgpu.o qrc_filter_sdfgpu.cpp rm -f libfilter_sdfgpu.so g++ -Wl,-z,relro -shared -o libfilter_sdfgpu.so filter_sdfgpu.o gpuProgram.o framebufferObject.o gpuShader.o textureParams.o textureFormat.o moc_filter_sdfgpu.o qrc_filter_sdfgpu.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_sdfgpu.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sdfgpu' cd meshlabplugins/filter_select/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_select' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o meshselect.o meshselect.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from meshselect.cpp:28: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshselect.h:28, from meshselect.cpp:28: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshselect.h:28, from meshselect.cpp:28: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshselect.h:28, from meshselect.cpp:28: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from meshselect.cpp:28: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from meshselect.cpp:28: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from meshselect.cpp:28: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from meshselect.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from meshselect.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from meshselect.cpp:28: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from meshselect.cpp:28: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ meshselect.cpp: In member function 'virtual bool SelectionFilterPlugin::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': meshselect.cpp:238:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.cm.vert.begin();vi!=m.cm.vert.end();++vi) ^~~ meshselect.cpp:241:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' m.clearDataMask(MeshModel::MM_FACEFACETOPO ); ^ meshselect.cpp:286:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (par.getBool("InvFaces")) ^~ meshselect.cpp:287:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' tri::UpdateSelection::FaceInvert(m.cm); break; ^~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from meshselect.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from meshselect.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. meshselect.h -o moc_meshselect.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_meshselect.o moc_meshselect.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from moc_meshselect.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshselect.h:28, from moc_meshselect.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshselect.h:28, from moc_meshselect.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshselect.h:28, from moc_meshselect.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from moc_meshselect.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from moc_meshselect.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from moc_meshselect.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from moc_meshselect.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from moc_meshselect.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from moc_meshselect.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshselect.h:28, from moc_meshselect.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshselect.h:28, from moc_meshselect.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshselect.h:28, from moc_meshselect.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name meshlab meshlab.qrc -o qrc_meshlab.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o qrc_meshlab.o qrc_meshlab.cpp rm -f libfilter_select.so g++ -Wl,-z,relro -shared -o libfilter_select.so meshselect.o moc_meshselect.o qrc_meshlab.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_select.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_select' cd meshlabplugins/filter_ssynth/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ssynth' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/structuresynth/ssynth -I/usr/X11R6/include -I. -o filter_ssynth.o filter_ssynth.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from filter_ssynth.cpp:3: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_ssynth.cpp:3: filter_ssynth.h: In member function 'virtual void FilterSSynth::initParameterSet(QAction*, MeshModel&, RichParameterSet&)': filter_ssynth.h:45:52: warning: unused parameter 'filter' [-Wunused-parameter] virtual void initParameterSet(QAction* filter,MeshModel &,RichParameterSet &){}; ~~~~~~~~~^~~~~~ In file included from ../../meshlabplugins/io_x3d/import_x3d.h:81, from filter_ssynth.cpp:4: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ filter_ssynth.cpp: In member function 'virtual void FilterSSynth::initParameterSet(QAction*, MeshDocument&, RichParameterSet&)': filter_ssynth.cpp:56:46: warning: unused parameter 'filter' [-Wunused-parameter] void FilterSSynth::initParameterSet(QAction* filter,MeshDocument &md, RichParameterSet &par) ~~~~~~~~~^~~~~~ filter_ssynth.cpp:56:67: warning: unused parameter 'md' [-Wunused-parameter] void FilterSSynth::initParameterSet(QAction* filter,MeshDocument &md, RichParameterSet &par) ~~~~~~~~~~~~~~^~ filter_ssynth.cpp: In static member function 'static void FilterSSynth::openX3D(const QString&, MeshModel&, int&, bool (*)(int, const char*), QWidget*)': filter_ssynth.cpp:66:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result = vcg::tri::io::ImporterX3D::LoadMask(fileName.toStdString().c_str(), info); ^~~~~~ filter_ssynth.cpp:63:109: warning: unused parameter 'parent' [-Wunused-parameter] void FilterSSynth::openX3D(const QString &fileName, MeshModel &m, int& mask, vcg::CallBackPos *cb, QWidget* parent) ~~~~~~~~~^~~~~~ filter_ssynth.cpp: In member function 'QString FilterSSynth::ssynth(QString, int, int, bool (*)(int, const char*))': filter_ssynth.cpp:139:25: warning: exception of type 'StructureSynth::Parser::ParseError' will be caught catch(ParseError& ex){ ^~~~~ filter_ssynth.cpp:136:25: warning: by earlier handler for 'SyntopiaCore::Exceptions::Exception' catch(Exception& ex){ ^~~~~ filter_ssynth.cpp: In member function 'virtual int FilterSSynth::postCondition(QAction*) const': filter_ssynth.cpp:144:42: warning: unused parameter 'filter' [-Wunused-parameter] int FilterSSynth::postCondition(QAction* filter) const ~~~~~~~~~^~~~~~ filter_ssynth.cpp: In member function 'virtual MeshFilterInterface::FilterClass FilterSSynth::getClass(QAction*)': filter_ssynth.cpp:148:67: warning: unused parameter 'filter' [-Wunused-parameter] MeshFilterInterface::FilterClass FilterSSynth::getClass(QAction *filter) ~~~~~~~~~^~~~~~ filter_ssynth.cpp: In member function 'virtual bool FilterSSynth::open(const QString&, const QString&, MeshModel&, int&, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': filter_ssynth.cpp:163:41: warning: unused parameter 'formatName' [-Wunused-parameter] bool FilterSSynth::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask, const RichParameterSet & par, CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~^~~~~~~~~~ filter_ssynth.cpp: In member function 'virtual bool FilterSSynth::save(const QString&, const QString&, MeshModel&, int, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': filter_ssynth.cpp:191:41: warning: unused parameter 'formatName' [-Wunused-parameter] bool FilterSSynth::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~^~~~~~~~~~ filter_ssynth.cpp:191:68: warning: unused parameter 'fileName' [-Wunused-parameter] bool FilterSSynth::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~^~~~~~~~ filter_ssynth.cpp:191:89: warning: unused parameter 'm' [-Wunused-parameter] bool FilterSSynth::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~^ filter_ssynth.cpp:191:102: warning: unused parameter 'mask' [-Wunused-parameter] bool FilterSSynth::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~^~~~ filter_ssynth.cpp:191:152: warning: unused parameter 'cb' [-Wunused-parameter] bool FilterSSynth::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~~~~^~ filter_ssynth.cpp:191:165: warning: unused parameter 'parent' [-Wunused-parameter] bool FilterSSynth::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask, const RichParameterSet &, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~^~~~~~ filter_ssynth.cpp: In member function 'virtual void FilterSSynth::GetExportMaskCapability(QString&, int&, int&) const': filter_ssynth.cpp:195:54: warning: unused parameter 'format' [-Wunused-parameter] void FilterSSynth::GetExportMaskCapability(QString &format, int &capability, int &defaultBits) const{} ~~~~~~~~~^~~~~~ filter_ssynth.cpp:195:67: warning: unused parameter 'capability' [-Wunused-parameter] void FilterSSynth::GetExportMaskCapability(QString &format, int &capability, int &defaultBits) const{} ~~~~~^~~~~~~~~~ filter_ssynth.cpp:195:84: warning: unused parameter 'defaultBits' [-Wunused-parameter] void FilterSSynth::GetExportMaskCapability(QString &format, int &capability, int &defaultBits) const{} ~~~~~^~~~~~~~~~~ filter_ssynth.cpp: In member function 'virtual void FilterSSynth::initPreOpenParameter(const QString&, const QString&, RichParameterSet&)': filter_ssynth.cpp:196:57: warning: unused parameter 'formatName' [-Wunused-parameter] void FilterSSynth::initPreOpenParameter(const QString &formatName, const QString &filename, RichParameterSet &parlst){ ~~~~~~~~~~~~~~~^~~~~~~~~~ filter_ssynth.cpp:196:84: warning: unused parameter 'filename' [-Wunused-parameter] void FilterSSynth::initPreOpenParameter(const QString &formatName, const QString &filename, RichParameterSet &parlst){ ~~~~~~~~~~~~~~~^~~~~~~~ In file included from filter_ssynth.cpp:4: ../../meshlabplugins/io_x3d/import_x3d.h: In instantiation of 'static int vcg::tri::io::ImporterX3D::LoadMaskByDom(QDomDocument*, vcg::tri::io::AdditionalInfoX3D*&, QString) [with OpenMeshType = CMeshO]': ../../meshlabplugins/io_x3d/import_x3d.h:2640:24: required from 'static int vcg::tri::io::ImporterX3D::LoadMask(const char*, vcg::tri::io::AdditionalInfoX3D*&) [with OpenMeshType = CMeshO]' filter_ssynth.cpp:66:57: required from here ../../meshlabplugins/io_x3d/import_x3d.h:782:12: warning: variable 'copyTextureFile' set but not used [-Wunused-but-set-variable] bool copyTextureFile = true; ^~~~~~~~~~~~~~~ ../../meshlabplugins/io_x3d/import_x3d.h: In instantiation of 'static int vcg::tri::io::ImporterX3D::NavigateScene(OpenMeshType&, QDomElement, vcg::Matrix44f, std::map&, std::map&, vcg::tri::io::AdditionalInfoX3D*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44; vcg::CallBackPos = bool(int, const char*)]': ../../meshlabplugins/io_x3d/import_x3d.h:2663:24: required from 'static int vcg::tri::io::ImporterX3D::Open(OpenMeshType&, const char*, vcg::tri::io::AdditionalInfoX3D*&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' filter_ssynth.cpp:68:53: required from here ../../meshlabplugins/io_x3d/import_x3d.h:2504:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if ( i < textureTransformList.size()) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_ssynth.cpp:2: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = SyntopiaCore::GLEngine::Command]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = SyntopiaCore::GLEngine::Command]' /usr/include/qt4/QtCore/qvector.h:398:9: required from 'QVector& QVector::operator=(const QVector&) [with T = SyntopiaCore::GLEngine::Command]' ../../external/structuresynth/ssynth/StructureSynth/Model/../../SyntopiaCore/GLEngine/EngineWidget.h:148:104: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_ssynth.cpp:2: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_ssynth.cpp:2: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_ssynth.cpp:2: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../meshlabplugins/io_x3d/import_x3d.h:82, from filter_ssynth.cpp:4: ../../../../vcglib/wrap/gl/glu_tesselator.h: In instantiation of 'static void vcg::glu_tesselator::do_tesselation(const std::vector >&, vcg::glu_tesselator::tess_prim_data_vec&) [with point_type = vcg::Point3; vcg::glu_tesselator::tess_prim_data_vec = std::vector]': ../../../../vcglib/wrap/gl/glu_tesselator.h:115:29: required from 'static void vcg::glu_tesselator::tesselate(const std::vector >&, std::vector&) [with point_type = vcg::Point3]' ../../meshlabplugins/io_x3d/import_x3d.h:1166:50: required from 'static int vcg::tri::io::ImporterX3D::LoadSet(QDomElement, OpenMeshType&, vcg::Matrix44f, const vcg::tri::io::TextureInfo&, const QStringList&, const QStringList&, const QStringList&, int, vcg::tri::io::AdditionalInfoX3D*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44; vcg::CallBackPos = bool(int, const char*)]' ../../meshlabplugins/io_x3d/import_x3d.h:2558:22: required from 'static int vcg::tri::io::ImporterX3D::NavigateScene(OpenMeshType&, QDomElement, vcg::Matrix44f, std::map&, std::map&, vcg::tri::io::AdditionalInfoX3D*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::Matrix44f = vcg::Matrix44; vcg::CallBackPos = bool(int, const char*)]' ../../meshlabplugins/io_x3d/import_x3d.h:2663:24: required from 'static int vcg::tri::io::ImporterX3D::Open(OpenMeshType&, const char*, vcg::tri::io::AdditionalInfoX3D*&, bool (*)(int, const char*)) [with OpenMeshType = CMeshO; vcg::CallBackPos = bool(int, const char*)]' filter_ssynth.cpp:68:53: required from here ../../../../vcglib/wrap/gl/glu_tesselator.h:221:48: warning: cast between incompatible function types from 'void (*)(GLenum, void*)' {aka 'void (*)(unsigned int, void*)'} to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_BEGIN_DATA, (GLvoid (CALLBACK *)())(this_type::begin_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:222:48: warning: cast between incompatible function types from 'void (*)(void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_END_DATA, (GLvoid (CALLBACK *)())(this_type::end_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:223:48: warning: cast between incompatible function types from 'void (*)(void*, void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_VERTEX_DATA, (GLvoid (CALLBACK *)())(this_type::vertex_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:237:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gluTessVertex(tess, vertex, (void *)k); ^~~~~~~~~ In file included from ../../../../vcglib/vcg/math/matrix33.h:25, from ../../../../vcglib/vcg/math/quaternion.h:113, from ../../../../vcglib/vcg/math/similarity.h:98, from ../../../../vcglib/vcg/math/shot.h:132, from ../../../../vcglib/vcg/complex/complex.h:33, from ../../common/meshmodel.h:38, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/math/deprecated_matrix33.h: In static member function 'static void vcg::tri::io::ImporterX3D::getNormal(const QStringList&, int, vcg::Point3f&, const Matrix44f&) [with OpenMeshType = CMeshO]': ../../../../vcglib/vcg/math/deprecated_matrix33.h:345:32: warning: 'intr33.vcg::Matrix33::a[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] t[0] = a[0]*v[0] + a[1]*v[1] + a[2]*v[2]; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from filter_ssynth.cpp:4: ../../meshlabplugins/io_x3d/import_x3d.h:2258:15: note: 'intr33.vcg::Matrix33::a[2]' was declared here Matrix33f intr33; ^~~~~~ In file included from ../../../../vcglib/vcg/math/matrix33.h:25, from ../../../../vcglib/vcg/math/quaternion.h:113, from ../../../../vcglib/vcg/math/similarity.h:98, from ../../../../vcglib/vcg/math/shot.h:132, from ../../../../vcglib/vcg/complex/complex.h:33, from ../../common/meshmodel.h:38, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/math/deprecated_matrix33.h:346:32: warning: 'intr33.vcg::Matrix33::a[5]' may be used uninitialized in this function [-Wmaybe-uninitialized] t[1] = a[3]*v[0] + a[4]*v[1] + a[5]*v[2]; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from filter_ssynth.cpp:4: ../../meshlabplugins/io_x3d/import_x3d.h:2258:15: note: 'intr33.vcg::Matrix33::a[5]' was declared here Matrix33f intr33; ^~~~~~ In file included from ../../../../vcglib/vcg/math/matrix33.h:25, from ../../../../vcglib/vcg/math/quaternion.h:113, from ../../../../vcglib/vcg/math/similarity.h:98, from ../../../../vcglib/vcg/math/shot.h:132, from ../../../../vcglib/vcg/complex/complex.h:33, from ../../common/meshmodel.h:38, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/math/deprecated_matrix33.h:347:26: warning: 'intr33.vcg::Matrix33::a[7]' may be used uninitialized in this function [-Wmaybe-uninitialized] t[2] = a[6]*v[0] + a[7]*v[1] + a[8]*v[2]; ~~~~^~~ In file included from filter_ssynth.cpp:4: ../../meshlabplugins/io_x3d/import_x3d.h:2258:15: note: 'intr33.vcg::Matrix33::a[7]' was declared here Matrix33f intr33; ^~~~~~ In file included from ../../../../vcglib/vcg/math/matrix33.h:25, from ../../../../vcglib/vcg/math/quaternion.h:113, from ../../../../vcglib/vcg/math/similarity.h:98, from ../../../../vcglib/vcg/math/shot.h:132, from ../../../../vcglib/vcg/complex/complex.h:33, from ../../common/meshmodel.h:38, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/math/deprecated_matrix33.h:347:20: warning: 'intr33.vcg::Matrix33::a[6]' may be used uninitialized in this function [-Wmaybe-uninitialized] t[2] = a[6]*v[0] + a[7]*v[1] + a[8]*v[2]; ~~~~~~~~~~^~~~~~~~~ In file included from filter_ssynth.cpp:4: ../../meshlabplugins/io_x3d/import_x3d.h:2258:15: note: 'intr33.vcg::Matrix33::a[6]' was declared here Matrix33f intr33; ^~~~~~ In file included from ../../../../vcglib/vcg/math/matrix33.h:25, from ../../../../vcglib/vcg/math/quaternion.h:113, from ../../../../vcglib/vcg/math/similarity.h:98, from ../../../../vcglib/vcg/math/shot.h:132, from ../../../../vcglib/vcg/complex/complex.h:33, from ../../common/meshmodel.h:38, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/math/deprecated_matrix33.h:347:32: warning: 'intr33.vcg::Matrix33::a[8]' may be used uninitialized in this function [-Wmaybe-uninitialized] t[2] = a[6]*v[0] + a[7]*v[1] + a[8]*v[2]; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from filter_ssynth.cpp:4: ../../meshlabplugins/io_x3d/import_x3d.h:2258:15: note: 'intr33.vcg::Matrix33::a[8]' was declared here Matrix33f intr33; ^~~~~~ In file included from ../../../../vcglib/vcg/simplex/vertex/base.h:72, from ../../common/meshmodel.h:31, from filter_ssynth.h:30, from filter_ssynth.cpp:3: ../../../../vcglib/vcg/space/texcoord2.h: In static member function 'static int vcg::tri::io::ImporterX3D::LoadPointSet(QDomElement, OpenMeshType&, vcg::Matrix44f, const QStringList&, const QStringList&, int, vcg::tri::io::AdditionalInfoX3D*, bool (*)(int, const char*)) [with OpenMeshType = CMeshO]': ../../../../vcglib/vcg/space/texcoord2.h:40:7: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] class TexCoord2 ^~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/structuresynth/ssynth -I/usr/X11R6/include -I. -o Parser.o ../../meshlabplugins/io_x3d/vrml/Parser.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/structuresynth/ssynth -I/usr/X11R6/include -I. -o Scanner.o ../../meshlabplugins/io_x3d/vrml/Scanner.cpp ../../meshlabplugins/io_x3d/vrml/Scanner.cpp: In member function 'bool VrmlTranslator::Scanner::Comment0()': ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:606:17: warning: unused variable 'pos0' [-Wunused-variable] int level = 1, pos0 = pos, line0 = line, col0 = col; ^~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:606:43: warning: unused variable 'col0' [-Wunused-variable] int level = 1, pos0 = pos, line0 = line, col0 = col; ^~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp: In member function 'VrmlTranslator::Token* VrmlTranslator::Scanner::NextToken()': ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:680:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:680:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:680:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:680:70: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:680:100: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:680:114: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:680:130: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:680:144: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:684:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:684:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:684:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:684:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:684:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:684:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:688:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:688:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:688:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:688:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:688:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:688:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_3;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:692:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:692:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:696:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:696:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:701:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:701:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:706:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:706:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:710:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:710:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_8;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:714:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_9;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:714:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_9;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:719:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:719:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:724:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:724:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:728:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:728:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_12;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:732:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:732:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:737:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:737:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:741:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:741:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_15;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:745:11: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:745:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:745:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:745:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:751:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:751:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:751:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:751:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:751:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:751:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_18;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:755:11: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:755:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:755:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:755:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:755:70: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:755:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:755:100: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:755:116: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:755:130: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:755:146: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:756:17: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:756:31: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:756:47: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:756:61: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:756:77: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:756:91: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_40;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:762:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:762:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:762:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:762:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:762:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:762:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_20;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:766:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:766:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:766:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:766:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:766:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:766:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_21;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:770:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:770:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:770:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:770:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:770:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:770:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_22;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:774:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:774:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:774:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:774:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:774:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:774:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:778:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:778:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:778:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:778:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:778:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:778:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_24;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:782:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:782:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:782:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:782:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:782:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:782:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_25;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:786:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:786:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:786:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:786:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:786:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:786:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_26;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:790:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:790:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:790:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:790:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:790:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:790:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_27;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:794:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:794:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:794:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:794:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:794:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:794:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_28;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:798:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:798:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:798:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:798:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:798:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:798:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_29;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:802:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:802:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:802:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:802:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:802:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:802:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_30;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:806:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:806:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:806:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:806:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:806:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:806:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:823:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:823:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:829:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:829:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:835:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'1' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:835:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'1' && ch <= L'9')) {AddCh(); goto case_35;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:840:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:840:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:840:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:840:70: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:840:100: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:840:114: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:840:130: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:840:144: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:840:160: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:840:174: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'1') || (ch >= L'4' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:846:64: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'"' || ch == 39 || ch == L'0' || ch == 92 || (ch >= L'a' && ch <= L'b') || ch == L'f' || ch == L'n' || ch == L'r' || ch == L't' || ch == L'v') {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:846:78: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'"' || ch == 39 || ch == L'0' || ch == 92 || (ch >= L'a' && ch <= L'b') || ch == L'f' || ch == L'n' || ch == L'r' || ch == L't' || ch == L'v') {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:853:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:853:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:853:42: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:853:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:853:72: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:853:86: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9') || (ch >= L'A' && ch <= L'F') || (ch >= L'a' && ch <= L'f')) {AddCh(); goto case_41;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:854:16: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:854:31: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:854:45: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:854:61: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:854:75: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:854:91: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:854:105: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:854:121: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:854:135: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:854:151: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] else if (ch <= L'!' || (ch >= L'#' && ch <= L'/') || (ch >= L':' && ch <= L'@') || (ch >= L'G' && ch <= L'[') || (ch >= L']' && ch <= L'`') || (ch >= L'g' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:860:11: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:860:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:860:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:860:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch <= L'!' || (ch >= L'#' && ch <= L'[') || (ch >= L']' && ch <= 65535)) {AddCh(); goto case_16;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:866:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:866:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:866:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:866:70: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:866:100: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:866:114: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:866:130: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:866:144: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:871:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:871:40: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:871:56: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:871:70: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:871:100: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:871:114: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:871:130: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:871:144: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if (ch == L'!' || (ch >= L'$' && ch <= L'&') || (ch >= L'(' && ch <= L'+') || ch == L'-' || (ch >= L'/' && ch <= L'Z') || (ch >= L'^' && ch <= L'z') || ch == L'|' || ch == L'~' || (ch >= 128 && ch <= 65535)) {AddCh(); goto case_1;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:876:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'2')) {AddCh(); goto case_32;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:876:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'2')) {AddCh(); goto case_32;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:891:12: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ ../../meshlabplugins/io_x3d/vrml/Scanner.cpp:891:26: warning: comparison of integer expressions of different signedness: 'int' and 'wchar_t' [-Wsign-compare] if ((ch >= L'0' && ch <= L'9')) {AddCh(); goto case_5;} ~~~^~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/structuresynth/ssynth -I/usr/X11R6/include -I. -o mytrenderer.o mytrenderer.cpp mytrenderer.cpp: In member function 'virtual void MyTrenderer::drawBox(SyntopiaCore::Math::Vector3f, SyntopiaCore::Math::Vector3f, SyntopiaCore::Math::Vector3f, SyntopiaCore::Math::Vector3f, SyntopiaCore::GLEngine::PrimitiveClass*)': mytrenderer.cpp:10:49: warning: unused parameter 'classID' [-Wunused-parameter] PrimitiveClass* classID) ~~~~~~~~~~~~~~~~^~~~~~~ mytrenderer.cpp: In member function 'virtual void MyTrenderer::drawSphere(SyntopiaCore::Math::Vector3f, float, SyntopiaCore::GLEngine::PrimitiveClass*)': mytrenderer.cpp:34:121: warning: unused parameter 'classID' [-Wunused-parameter] void MyTrenderer::drawSphere(SyntopiaCore::Math::Vector3f center, float radius, SyntopiaCore::GLEngine::PrimitiveClass *classID){ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ mytrenderer.cpp: In member function 'virtual void MyTrenderer::drawMesh(SyntopiaCore::Math::Vector3f, SyntopiaCore::Math::Vector3f, SyntopiaCore::Math::Vector3f, SyntopiaCore::Math::Vector3f, SyntopiaCore::Math::Vector3f, SyntopiaCore::Math::Vector3f, SyntopiaCore::GLEngine::PrimitiveClass*)': mytrenderer.cpp:59:92: warning: unused parameter 'classID' [-Wunused-parameter] SyntopiaCore::GLEngine::PrimitiveClass* classID) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ mytrenderer.cpp: In member function 'virtual void MyTrenderer::drawDot(SyntopiaCore::Math::Vector3f, SyntopiaCore::GLEngine::PrimitiveClass*)': mytrenderer.cpp:96:82: warning: unused parameter 'classID' [-Wunused-parameter] void MyTrenderer::drawDot(SyntopiaCore::Math::Vector3f v,PrimitiveClass* classID) { ~~~~~~~~~~~~~~~~^~~~~~~ mytrenderer.cpp: In member function 'virtual void MyTrenderer::drawTriangle(SyntopiaCore::Math::Vector3f, SyntopiaCore::Math::Vector3f, SyntopiaCore::Math::Vector3f, SyntopiaCore::GLEngine::PrimitiveClass*)': mytrenderer.cpp:112:49: warning: unused parameter 'classID' [-Wunused-parameter] PrimitiveClass* classID) { ~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/structuresynth/ssynth -I/usr/X11R6/include -I. filter_ssynth.h -o moc_filter_ssynth.cpp filter_ssynth.h:67: Warning: Class FilterSSynth implements the interface MeshIOInterface but does not list it in Q_INTERFACES. qobject_cast to MeshIOInterface will not work! g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/structuresynth/ssynth -I/usr/X11R6/include -I. -o moc_filter_ssynth.o moc_filter_ssynth.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from moc_filter_ssynth.cpp:9: filter_ssynth.h: In member function 'virtual void FilterSSynth::initParameterSet(QAction*, MeshModel&, RichParameterSet&)': filter_ssynth.h:45:52: warning: unused parameter 'filter' [-Wunused-parameter] virtual void initParameterSet(QAction* filter,MeshModel &,RichParameterSet &){}; ~~~~~~~~~^~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../../common/filterscript.h:27, from ../../common/meshmodel.h:62, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from ../../common/filterscript.h:27, from ../../common/meshmodel.h:62, from filter_ssynth.h:30, from moc_filter_ssynth.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name ssynthres ssynthres.qrc -o qrc_ssynthres.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external/structuresynth/ssynth -I/usr/X11R6/include -I. -o qrc_ssynthres.o qrc_ssynthres.cpp rm -f libfilter_ssynth.so g++ -Wl,-z,relro -shared -o libfilter_ssynth.so filter_ssynth.o Parser.o Scanner.o mytrenderer.o moc_filter_ssynth.o qrc_ssynthres.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW ../../external/lib/linux-g++/libssynth.a -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_ssynth.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ssynth' cd meshlabplugins/filter_texture/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_texture' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_texture.o filter_texture.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_texture.h:33, from filter_texture.cpp:33: ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h: In static member function 'static bool vcg::tri::AttributeSeam::SplitVertex(src_trimesh_t&, extract_wedge_attribs_t, compare_vertex_attribs_t&)': ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h:162:52: warning: typedef 'src_vertex_container_t' locally defined but not used [-Wunused-local-typedefs] typedef typename src_trimesh_t::VertContainer src_vertex_container_t; ^~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h: In static member function 'static bool vcg::tri::AttributeSeam::SplitVertex(const src_trimesh_t&, dst_trimesh_t&, extract_wedge_attribs_t&, compare_vertex_attribs_t&, copy_vertex_t&)': ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h:248:57: warning: typedef 'dst_vertex_container_t' locally defined but not used [-Wunused-local-typedefs] typedef typename dst_trimesh_t::VertContainer dst_vertex_container_t; ^~~~~~~~~~~~~~~~~~~~~~ In file included from filter_texture.h:34, from filter_texture.cpp:33: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilar(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:797:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:805:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilarDual(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:814:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:837:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ In file included from filter_texture.cpp:35: rastering.h: In member function 'void TransferColorSampler::AddTextureSample(const FaceType&, const CoordType&, const Point2i&, float)': rastering.h:327:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (alpha==255 || qAlpha(trgImg.pixel(tp.X(), trgImg.height() - 1 - tp.Y())) < alpha) ^~ rastering.h:370:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (cb) ^~ rastering.h:327:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (alpha==255 || qAlpha(trgImg.pixel(tp.X(), trgImg.height() - 1 - tp.Y())) < alpha) ^ In file included from ../../../../vcglib/vcg/complex/algorithms/parametrization/poisson_solver.h:38, from ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:3, from filter_texture.cpp:38: ../../../../vcglib/vcg/complex/algorithms/parametrization/distortion.h: In static member function 'static vcg::tri::Distortion::ScalarType vcg::tri::Distortion::AngleRad3D(const FaceType*, int)': ../../../../vcglib/vcg/complex/algorithms/parametrization/distortion.h:122:44: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename CoordType::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:3, from filter_texture.cpp:38: ../../../../vcglib/vcg/complex/algorithms/parametrization/poisson_solver.h: In member function 'void vcg::tri::PoissonSolver::perElementLHS(vcg::tri::PoissonSolver::FaceType*, vcg::tri::PoissonSolver::ScalarType (*)[3], int (*)[3][2])': ../../../../vcglib/vcg/complex/algorithms/parametrization/poisson_solver.h:293:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (int x=0;x<3;x++) ^~~ ../../../../vcglib/vcg/complex/algorithms/parametrization/poisson_solver.h:301:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CoordType e[3]; ^~~~~~~~~ In file included from filter_texture.cpp:38: ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h: In instantiation of 'static void vcg::tri::VoronoiAtlas::Build(MeshType&, MeshType&, vcg::tri::VoronoiAtlas::VoronoiAtlasParam&) [with MeshType = CMeshO]': filter_texture.cpp:372:34: required from here ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:170:16: warning: format '%i' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] qDebug("ACH - mesh %i is NOT homeomorphic to a disk\n",i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ In file included from ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:10, from filter_texture.cpp:38: ../../../../vcglib/vcg/complex/algorithms/voronoi_clustering.h: In instantiation of 'static void vcg::tri::VoronoiProcessing::ComputePerVertexSources(MeshType&, std::vector&) [with MeshType = vcg::tri::VoronoiAtlas::VoroMesh; typename FaceType::VertexType = vcg::tri::VoronoiAtlas::VoroVertex]': ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:138:62: required from 'static void vcg::tri::VoronoiAtlas::Build(MeshType&, MeshType&, vcg::tri::VoronoiAtlas::VoronoiAtlasParam&) [with MeshType = CMeshO]' filter_texture.cpp:372:34: required from here ../../../../vcglib/vcg/complex/algorithms/voronoi_clustering.h:109:24: warning: variable 'faceSources' set but not used [-Wunused-but-set-variable] PerFacePointerHandle faceSources = tri::Allocator:: template AddPerFaceAttribute (m,"sources"); ^~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/voronoi_clustering.h: In instantiation of 'static void vcg::tri::VoronoiProcessing::VoronoiColoring(MeshType&, std::vector&, bool) [with MeshType = vcg::tri::VoronoiAtlas::VoroMesh; typename FaceType::VertexType = vcg::tri::VoronoiAtlas::VoroVertex]': ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:140:54: required from 'static void vcg::tri::VoronoiAtlas::Build(MeshType&, MeshType&, vcg::tri::VoronoiAtlas::VoronoiAtlasParam&) [with MeshType = CMeshO]' filter_texture.cpp:372:34: required from here ../../../../vcglib/vcg/complex/algorithms/voronoi_clustering.h:114:69: warning: unused parameter 'seedVec' [-Wunused-parameter] static void VoronoiColoring(MeshType &m, std::vector &seedVec, bool frontierFlag=true) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:3, from filter_texture.cpp:38: ../../../../vcglib/vcg/complex/algorithms/parametrization/poisson_solver.h: In instantiation of 'vcg::tri::PoissonSolver::PoissonSolver(MeshType&) [with MeshType = vcg::tri::VoronoiAtlas::VoroMesh]': ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:155:36: required from 'static void vcg::tri::VoronoiAtlas::Build(MeshType&, MeshType&, vcg::tri::VoronoiAtlas::VoronoiAtlasParam&) [with MeshType = CMeshO]' filter_texture.cpp:372:34: required from here ../../../../vcglib/vcg/complex/algorithms/parametrization/poisson_solver.h:809:43: warning: 'Eigen::DynamicSparseMatrix<_Scalar, _Flags, _StorageIndex>::DynamicSparseMatrix() [with _Scalar = double; int _Options = 0; _StorageIndex = int]' is deprecated [-Wdeprecated-declarations] PoissonSolver(MeshType &_mesh):mesh(_mesh) ^ In file included from filter_texture.cpp:28: /usr/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h:228:29: note: declared here EIGEN_DEPRECATED inline DynamicSparseMatrix() ^~~~~~~~~~~~~~~~~~~ In file included from filter_texture.h:34, from filter_texture.cpp:33: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In instantiation of 'static void vcg::tri::SurfaceSampling::SingleFaceRaster(typename MetroMesh::FaceType&, VertexSampler&, const vcg::Point2&, const vcg::Point2&, const vcg::Point2&, bool) [with MetroMesh = CMeshO; VertexSampler = RasterSampler; typename MetroMesh::FaceType = CFaceO; typename MetroMesh::ScalarType = float]': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:1377:33: required from 'static void vcg::tri::SurfaceSampling::Texture(MetroMesh&, VertexSampler&, int, int, bool) [with MetroMesh = CMeshO; VertexSampler = RasterSampler]' filter_texture.cpp:723:57: required from here ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:976:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] bool in = false; ^~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In instantiation of 'static void vcg::tri::SurfaceSampling::SingleFaceRaster(typename MetroMesh::FaceType&, VertexSampler&, const vcg::Point2&, const vcg::Point2&, const vcg::Point2&, bool) [with MetroMesh = CMeshO; VertexSampler = TransferColorSampler; typename MetroMesh::FaceType = CFaceO; typename MetroMesh::ScalarType = float]': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:1377:33: required from 'static void vcg::tri::SurfaceSampling::Texture(MetroMesh&, VertexSampler&, int, int, bool) [with MetroMesh = CMeshO; VertexSampler = TransferColorSampler]' filter_texture.cpp:840:68: required from here ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:976:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In instantiation of 'static void vcg::tri::SurfaceSampling::PoissonDiskPruning(MetroMesh&, VertexSampler&, MetroMesh&, vcg::tri::SurfaceSampling::ScalarType, vcg::tri::SurfaceSampling::PoissonDiskParam) [with MetroMesh = vcg::tri::VoronoiAtlas::VoroMesh; VertexSampler = vcg::tri::TrivialSampler::VoroMesh>; vcg::tri::SurfaceSampling::ScalarType = float]': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:1486:65: required from 'void vcg::tri::PoissonSampling(MeshType&, std::vector, std::allocator > >&, int, float&) [with MeshType = vcg::tri::VoronoiAtlas::VoroMesh]' ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:131:25: required from 'static void vcg::tri::VoronoiAtlas::Build(MeshType&, MeshType&, vcg::tri::VoronoiAtlas::VoronoiAtlasParam&) [with MeshType = CMeshO]' filter_texture.cpp:372:34: required from here ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:1170:9: warning: unused variable 't0' [-Wunused-variable] int t0 = clock(); ^~ In file included from ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:3, from filter_texture.cpp:38: ../../../../vcglib/vcg/complex/algorithms/parametrization/poisson_solver.h: In instantiation of 'void vcg::tri::PoissonSolver::AllocateSystem() [with MeshType = vcg::tri::VoronoiAtlas::VoroMesh]': ../../../../vcglib/vcg/complex/algorithms/parametrization/poisson_solver.h:488:3: required from 'void vcg::tri::PoissonSolver::InitMatrix() [with MeshType = vcg::tri::VoronoiAtlas::VoroMesh]' ../../../../vcglib/vcg/complex/algorithms/parametrization/poisson_solver.h:756:3: required from 'bool vcg::tri::PoissonSolver::SolvePoisson(bool, vcg::tri::PoissonSolver::ScalarType, bool) [with MeshType = vcg::tri::VoronoiAtlas::VoroMesh; vcg::tri::PoissonSolver::ScalarType = float]' ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:160:9: required from 'static void vcg::tri::VoronoiAtlas::Build(MeshType&, MeshType&, vcg::tri::VoronoiAtlas::VoronoiAtlasParam&) [with MeshType = CMeshO]' filter_texture.cpp:372:34: required from here ../../../../vcglib/vcg/complex/algorithms/parametrization/poisson_solver.h:478:12: warning: 'Eigen::DynamicSparseMatrix<_Scalar, _Flags, _StorageIndex>::DynamicSparseMatrix(Eigen::Index, Eigen::Index) [with _Scalar = double; int _Options = 0; _StorageIndex = int; Eigen::Index = long int]' is deprecated [-Wdeprecated-declarations] A=Eigen::DynamicSparseMatrix(total_size, total_size); // A ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from filter_texture.cpp:28: /usr/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h:238:29: note: declared here EIGEN_DEPRECATED inline DynamicSparseMatrix(Index rows, Index cols) ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_texture.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_texture.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from filter_texture.cpp:33: ../../../../vcglib/vcg/simplex/face/distance.h: In function 'bool vcg::face::PointDistanceBase(const FaceType&, const vcg::Point3&, typename FaceType::ScalarType&, vcg::Point3&) [with FaceType = CFaceO]': ../../../../vcglib/vcg/simplex/face/distance.h:430:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:392:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:355:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ In file included from filter_texture.cpp:35: rastering.h: In member function 'void TransferColorSampler::AddTextureSample(const FaceType&, const CoordType&, const Point2i&, float)': rastering.h:252:19: warning: 'bb' may be used uninitialized in this function [-Wmaybe-uninitialized] int rr,gg,bb; ^~ In file included from /usr/include/qt4/QtGui/qcolor.h:45, from /usr/include/qt4/QtGui/qgraphicseffect.h:48, from /usr/include/qt4/QtGui/QtGui:10, from filter_texture.cpp:24: /usr/include/qt4/QtGui/qrgb.h:73:64: warning: 'gg' may be used uninitialized in this function [-Wmaybe-uninitialized] { return ((a & 0xff) << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); } ~~~~~~~~~~~~^~~~~ In file included from filter_texture.cpp:35: rastering.h:252:16: note: 'gg' was declared here int rr,gg,bb; ^~ In file included from /usr/include/qt4/QtGui/qcolor.h:45, from /usr/include/qt4/QtGui/qgraphicseffect.h:48, from /usr/include/qt4/QtGui/QtGui:10, from filter_texture.cpp:24: /usr/include/qt4/QtGui/qrgb.h:73:43: warning: 'rr' may be used uninitialized in this function [-Wmaybe-uninitialized] { return ((a & 0xff) << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); } ~~~~~~~~~~~~^~~~~~ In file included from filter_texture.cpp:35: rastering.h:252:13: note: 'rr' was declared here int rr,gg,bb; ^~ In file included from ../../../../vcglib/vcg/space/poly_packer.h:32, from ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:6, from filter_texture.cpp:38: ../../../../vcglib/vcg/space/rect_packer.h: In static member function 'static bool vcg::PolyPacker::PackAsObjectOrientedRect(const std::vector > >&, vcg::PolyPacker::Point2x, std::vector >&, vcg::PolyPacker::Point2x&) [with SCALAR_TYPE = float]': ../../../../vcglib/vcg/space/rect_packer.h:255:34: warning: 'bestsy' may be used uninitialized in this function [-Wmaybe-uninitialized] if( bestsx==global_size[0] && bestsy==global_size[1] ) ../../../../vcglib/vcg/space/rect_packer.h:202:28: note: 'bestsy' was declared here int bestx,besty,bestsx,bestsy,bestArea; ^~~~~~ ../../../../vcglib/vcg/space/rect_packer.h:272:3: warning: 'bestsx' may be used uninitialized in this function [-Wmaybe-uninitialized] global_size[0] = bestsx; ^~~~~~~~~~~ ../../../../vcglib/vcg/space/rect_packer.h:202:21: note: 'bestsx' was declared here int bestx,besty,bestsx,bestsy,bestArea; ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/parametrization/voronoi_atlas.h:6, from filter_texture.cpp:38: ../../../../vcglib/vcg/space/poly_packer.h:62:11: warning: 'bestAngle' may be used uninitialized in this function [-Wmaybe-uninitialized] float bestAngle; ^~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o plylib.o ../../../../vcglib/wrap/ply/plylib.cpp ../../../../vcglib/wrap/ply/plylib.cpp: In function 'void vcg::ply::interpret_texture_name(const char*, const char*, char*)': ../../../../vcglib/wrap/ply/plylib.cpp:3666:14: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(output,"%s%s",output,fn2); ^~~~~~ ~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_texture.h -o moc_filter_texture.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_texture.o moc_filter_texture.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from moc_filter_texture.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_texture.h:31, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_texture.h:31, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_texture.h:31, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_texture.h:31, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_texture.h:33, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h: In static member function 'static bool vcg::tri::AttributeSeam::SplitVertex(src_trimesh_t&, extract_wedge_attribs_t, compare_vertex_attribs_t&)': ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h:162:52: warning: typedef 'src_vertex_container_t' locally defined but not used [-Wunused-local-typedefs] typedef typename src_trimesh_t::VertContainer src_vertex_container_t; ^~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h: In static member function 'static bool vcg::tri::AttributeSeam::SplitVertex(const src_trimesh_t&, dst_trimesh_t&, extract_wedge_attribs_t&, compare_vertex_attribs_t&, copy_vertex_t&)': ../../../../vcglib/vcg/complex/algorithms/attribute_seam.h:248:57: warning: typedef 'dst_vertex_container_t' locally defined but not used [-Wunused-local-typedefs] typedef typename dst_trimesh_t::VertContainer dst_vertex_container_t; ^~~~~~~~~~~~~~~~~~~~~~ In file included from filter_texture.h:34, from moc_filter_texture.cpp:9: ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilar(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:797:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:805:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h: In static member function 'static int vcg::tri::SurfaceSampling::SingleFaceSimilarDual(vcg::tri::SurfaceSampling::FacePointer, VertexSampler&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:814:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=0; i < n_samples_per_edge-1; i++) ^~~ ../../../../vcglib/vcg/complex/algorithms/point_sampling.h:837:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return n_samples; ^~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_texture.h:31, from moc_filter_texture.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_texture.h:31, from moc_filter_texture.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_texture.so g++ -Wl,-z,relro -shared -o libfilter_texture.so filter_texture.o plylib.o moc_filter_texture.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_texture.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_texture' cd meshlabplugins/filter_trioptimize/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_trioptimize' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_trioptimize.o filter_trioptimize.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from filter_trioptimize.cpp:30: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from filter_trioptimize.cpp:30: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from filter_trioptimize.cpp:30: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from filter_trioptimize.cpp:30: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from filter_trioptimize.cpp:30: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from filter_trioptimize.cpp:30: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from filter_trioptimize.cpp:30: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from filter_trioptimize.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from filter_trioptimize.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from filter_trioptimize.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from filter_trioptimize.cpp:30: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:27, from curvedgeflip.h:28, from filter_trioptimize.cpp:31: ../../../../vcglib/vcg/complex/algorithms/local_optimization.h: In member function 'void vcg::LocalOptimization::ClearHeapOld()': ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:395:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(hi=h.begin();hi!=h.end();++hi) ^~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization.h:403:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' make_heap(h.begin(),h.end()); ^~~~~~~~~ In file included from filter_trioptimize.cpp:34: ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexQualityLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:649:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:661:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexNormalLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:705:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:717:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexCoordViewDepth(vcg::tri::Smooth::MeshType&, const CoordType&, vcg::tri::Smooth::ScalarType, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:766:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:778:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_trioptimize.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_trioptimize.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from curvedgeflip.h:28, from filter_trioptimize.cpp:31: ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h: In instantiation of 'const char* vcg::tri::PlanarEdgeFlip::Info(TRIMESH_TYPE&) [with TRIMESH_TYPE = CMeshO; MYTYPE = QMeanRatioEFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::QualityMeanRatio]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:284:14: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] sprintf(dump,"%d -> %d %g\n", _pos.F()->V(0)-&m.vert[0], _pos.F()->V(1)-&m.vert[0],-_priority); ^~~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h: In instantiation of 'const char* vcg::tri::PlanarEdgeFlip::Info(TRIMESH_TYPE&) [with TRIMESH_TYPE = CMeshO; MYTYPE = QRadiiEFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::QualityRadii]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:284:14: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h: In instantiation of 'const char* vcg::tri::PlanarEdgeFlip::Info(TRIMESH_TYPE&) [with TRIMESH_TYPE = CMeshO; MYTYPE = QEFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:284:14: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h: In instantiation of 'const char* vcg::tri::PlanarEdgeFlip::Info(TRIMESH_TYPE&) [with TRIMESH_TYPE = CMeshO; MYTYPE = MyTopoEFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:284:14: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h: In instantiation of 'const char* vcg::tri::PlanarEdgeFlip::Info(TRIMESH_TYPE&) [with TRIMESH_TYPE = CMeshO; MYTYPE = MyTriEFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:284:14: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h: In instantiation of 'const char* vcg::tri::PlanarEdgeFlip::Info(TRIMESH_TYPE&) [with TRIMESH_TYPE = CMeshO; MYTYPE = AbsCEFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:284:14: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h: In instantiation of 'const char* vcg::tri::PlanarEdgeFlip::Info(TRIMESH_TYPE&) [with TRIMESH_TYPE = CMeshO; MYTYPE = MeanCEFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:284:14: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h: In instantiation of 'const char* vcg::tri::PlanarEdgeFlip::Info(TRIMESH_TYPE&) [with TRIMESH_TYPE = CMeshO; MYTYPE = NSMCEFlip; typename TRIMESH_TYPE::ScalarType (* QualityFunc)(const vcg::Point3&, const vcg::Point3&, const vcg::Point3&) = vcg::Quality]': ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:284:14: required from here ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] ../../../../vcglib/vcg/complex/algorithms/local_optimization/tri_edge_flip.h:287:16: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_trioptimize.h -o moc_filter_trioptimize.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_trioptimize.o moc_filter_trioptimize.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_trioptimize.h:28, from moc_filter_trioptimize.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_trioptimize.so g++ -Wl,-z,relro -shared -o libfilter_trioptimize.so filter_trioptimize.o moc_filter_trioptimize.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_trioptimize.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_trioptimize' cd meshlabplugins/filter_unsharp/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_unsharp' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_unsharp.o filter_unsharp.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from filter_unsharp.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from filter_unsharp.cpp:25: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from filter_unsharp.cpp:25: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from filter_unsharp.cpp:25: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from filter_unsharp.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from filter_unsharp.cpp:25: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from filter_unsharp.cpp:25: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from filter_unsharp.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from filter_unsharp.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from filter_unsharp.cpp:25: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from filter_unsharp.cpp:25: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_unsharp.cpp:28: ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexQualityLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:649:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:661:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexNormalLaplacian(vcg::tri::Smooth::MeshType&, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:705:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:717:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h: In static member function 'static void vcg::tri::Smooth::VertexCoordViewDepth(vcg::tri::Smooth::MeshType&, const CoordType&, vcg::tri::Smooth::ScalarType, int, bool)': ../../../../vcglib/vcg/complex/algorithms/smooth.h:766:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/smooth.h:778:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ In file included from filter_unsharp.cpp:29: ../../../../vcglib/vcg/complex/algorithms/crease_cut.h: In function 'void vcg::tri::CreaseCut(MESH_TYPE&, float)': ../../../../vcglib/vcg/complex/algorithms/crease_cut.h:126:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fi=m.face.begin();fi!=m.face.end();++fi) ^~~ ../../../../vcglib/vcg/complex/algorithms/crease_cut.h:141:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' tri::UpdateNormals::PerVertexFromCurrentFaceNormal(m); ^~~ In file included from filter_unsharp.cpp:29: ../../../../vcglib/vcg/complex/algorithms/crease_cut.h:57:43: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/crease_cut.h:59:43: warning: typedef 'VertexType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType VertexType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/crease_cut.h:60:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/crease_cut.h:61:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/crease_cut.h:64:43: warning: typedef 'FacePointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::FacePointer FacePointer; ^~~~~~~~~~~ filter_unsharp.cpp: In member function 'virtual bool FilterUnsharp::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_unsharp.cpp:395:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(Selected && m.cm.svn==0) ^~ filter_unsharp.cpp:398:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' bool boundarySmooth = par.getBool("Boundary"); ^~~~ In file included from filter_unsharp.cpp:28: ../../../../vcglib/vcg/complex/algorithms/smooth.h: In instantiation of 'static void vcg::tri::Smooth::FaceNormalAngleThreshold(vcg::tri::Smooth::MeshType&, vcg::SimpleTempData::PDFaceInfo>&, vcg::tri::Smooth::ScalarType) [with SmoothMeshType = CMeshO; vcg::tri::Smooth::MeshType = CMeshO; typename SmoothMeshType::FaceContainer = vcg::face::vector_ocf; vcg::tri::Smooth::ScalarType = float]': ../../../../vcglib/vcg/complex/algorithms/smooth.h:1228:29: required from 'static void vcg::tri::Smooth::VertexCoordPasoDobleFast(vcg::tri::Smooth::MeshType&, int, typename vcg::tri::Smooth::MeshType::ScalarType, int, bool) [with SmoothMeshType = CMeshO; vcg::tri::Smooth::MeshType = CMeshO; typename vcg::tri::Smooth::MeshType::ScalarType = float]' filter_unsharp.cpp:500:26: required from here ../../../../vcglib/vcg/complex/algorithms/smooth.h:1017:13: warning: variable 'bc' set but not used [-Wunused-but-set-variable] CoordType bc=Barycenter(*fi); ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_unsharp.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_unsharp.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_unsharp.h -o moc_filter_unsharp.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_unsharp.o moc_filter_unsharp.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_unsharp.h:27, from moc_filter_unsharp.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_unsharp.so g++ -Wl,-z,relro -shared -o libfilter_unsharp.so filter_unsharp.o moc_filter_unsharp.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_unsharp.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_unsharp' cd meshlabplugins/filter_zippering/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_zippering' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filter_zippering.o filter_zippering.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from filter_zippering.cpp:30: filter_zippering.h: In member function 'virtual bool aux_info::AddToBorder(vcg::Segment3, std::pair)': filter_zippering.h:56:8: warning: unused variable 'stop' [-Wunused-variable] int stop = 3; ^~~~ filter_zippering.h:70:8: warning: unused variable 'stop' [-Wunused-variable] int stop = 3; ^~~~ filter_zippering.cpp: In member function 'polyline FilterZippering::cutComponent(polyline, polyline, vcg::Matrix44f)': filter_zippering.cpp:465:9: warning: unused variable 'dist' [-Wunused-variable] float dist; ^~~~ filter_zippering.cpp: In member function 'int FilterZippering::preProcess(std::vector >&, MeshModel*, MeshModel*, FilterZippering::MeshFaceGrid, FilterZippering::MeshFaceGrid, float)': filter_zippering.cpp:785:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for ( int i = 0; i < queue.size(); i ++ ) { ~~^~~~~~~~~~~~~~ filter_zippering.cpp: In member function 'int FilterZippering::preProcess_pq(std::priority_queue, std::vector >, compareFaceQuality>&, MeshModel*, MeshModel*, FilterZippering::MeshFaceGrid, FilterZippering::MeshFaceGrid, float)': filter_zippering.cpp:833:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for ( int i = 0; i < tmp_queue.size(); i ++ ) { ~~^~~~~~~~~~~~~~~~~~ filter_zippering.cpp: In member function 'void FilterZippering::handleBorderEdgeSF(std::pair&, MeshModel*, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, std::map&, std::vector >&, std::vector&)': filter_zippering.cpp:1273:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] if ( current_edge.first == tri::Index( a->cm, splittingF->V(e) ) && ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter_zippering.cpp:1274:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] current_edge.second == tri::Index( a->cm, splittingF->V1(e) ) ) return; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter_zippering.cpp:1260:34: warning: unused parameter 'endF' [-Wunused-parameter] CMeshO::FacePointer endF, //face where second vertex lies (=startF) ~~~~~~~~~~~~~~~~~~~~^~~~ filter_zippering.cpp:1263:43: warning: unused parameter 'stack' [-Wunused-parameter] vector < pair< int, int > >& stack, //stack containing border edges ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ filter_zippering.cpp: In member function 'void FilterZippering::handleBorderEdgeAF(std::pair&, MeshModel*, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, std::map&, std::vector >&, std::vector&)': filter_zippering.cpp:1291:43: warning: unused parameter 'stack' [-Wunused-parameter] vector < pair< int, int > >& stack, //stack containing border edges ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ filter_zippering.cpp: In member function 'bool FilterZippering::handleBorderEdgeBB(std::pair&, MeshModel*, FilterZippering::MeshFaceGrid, float, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, std::map&, std::vector >&, std::vector&)': filter_zippering.cpp:1398:73: warning: unused variable 'border' [-Wunused-variable] int sampleNum = SAMPLES_PER_EDGE; float step = 1.0/(sampleNum+1); bool border = true; ^~~~~~ filter_zippering.cpp:1388:34: warning: unused parameter 'startF' [-Wunused-parameter] CMeshO::FacePointer startF, //face where first vertex lies ~~~~~~~~~~~~~~~~~~~~^~~~~~ filter_zippering.cpp:1389:34: warning: unused parameter 'endF' [-Wunused-parameter] CMeshO::FacePointer endF, //face where second vertex lies ~~~~~~~~~~~~~~~~~~~~^~~~ filter_zippering.cpp:1391:57: warning: unused parameter 'map_info' [-Wunused-parameter] std::map< CMeshO::FacePointer, aux_info >& map_info, //map with auxiliar information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ filter_zippering.cpp:1392:53: warning: unused parameter 'stack' [-Wunused-parameter] std::vector < std::pair< int, int > >& stack, //stack containing border edges ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ filter_zippering.cpp: In member function 'void FilterZippering::handleBorderEdgeOB(std::pair&, int, MeshModel*, FilterZippering::MeshFaceGrid, float, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, std::map&, std::vector >&, std::vector >&, std::vector&)': filter_zippering.cpp:1427:27: warning: unused parameter 'grid_a' [-Wunused-parameter] MeshFaceGrid grid_a, //grid on A (needed for sampling) ~~~~~~~~~~~~~^~~~~~ filter_zippering.cpp:1428:20: warning: unused parameter 'max_dist' [-Wunused-parameter] float max_dist, //max search dist (needed for sampling) ~~~~~~^~~~~~~~ filter_zippering.cpp: In member function 'virtual bool FilterZippering::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_zippering.cpp:1645:52: warning: unused variable 'k' [-Wunused-variable] sort( tbt_faces.begin(), tbt_faces.end() ); int k; ^ filter_zippering.cpp:1658:7: warning: unused variable 'debcnt' [-Wunused-variable] int debcnt = 0; ^~~~~~ filter_zippering.cpp:1504:66: warning: unused parameter 'md' [-Wunused-parameter] bool FilterZippering::applyFilter(QAction *filter, MeshDocument &md, RichParameterSet & par, CallBackPos /**cb*/) ~~~~~~~~~~~~~~^~ In file included from filter_zippering.cpp:39: ../../../../vcglib/wrap/gl/glu_tesselator.h: In instantiation of 'static void vcg::glu_tesselator::do_tesselation(const std::vector >&, vcg::glu_tesselator::tess_prim_data_vec&) [with point_type = vcg::Point3; vcg::glu_tesselator::tess_prim_data_vec = std::vector]': ../../../../vcglib/wrap/gl/glu_tesselator.h:115:29: required from 'static void vcg::glu_tesselator::tesselate(const std::vector >&, std::vector&) [with point_type = vcg::Point3]' filter_zippering.cpp:432:58: required from here ../../../../vcglib/wrap/gl/glu_tesselator.h:221:48: warning: cast between incompatible function types from 'void (*)(GLenum, void*)' {aka 'void (*)(unsigned int, void*)'} to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_BEGIN_DATA, (GLvoid (CALLBACK *)())(this_type::begin_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:222:48: warning: cast between incompatible function types from 'void (*)(void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_END_DATA, (GLvoid (CALLBACK *)())(this_type::end_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:223:48: warning: cast between incompatible function types from 'void (*)(void*, void*)' to 'GLvoid (*)()' {aka 'void (*)()'} [-Wcast-function-type] gluTessCallback(tess, GLU_TESS_VERTEX_DATA, (GLvoid (CALLBACK *)())(this_type::vertex_cb)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/gl/glu_tesselator.h:237:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gluTessVertex(tess, vertex, (void *)k); ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_zippering.cpp:29: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filter_zippering.cpp:29: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/point2.h:25, from ../../../../vcglib/vcg/math/shot.h:130, from ../../common/filterparameter.h:35, from ../../common/interfaces.h:35, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/space/deprecated_point2.h: In member function 'void FilterZippering::handleBorder(aux_info&, vcg::Point3f, std::vector, std::allocator > >&, std::vector&)': ../../../../vcglib/vcg/space/deprecated_point2.h:161:60: warning: '*((void*)& x +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point2( _v[0]-p._v[0], _v[1]-p._v[1] ); ^ filter_zippering.cpp:358:12: note: '*((void*)& x +4)' was declared here Point2f x; ^ In file included from ../../../../vcglib/vcg/space/point2.h:25, from ../../../../vcglib/vcg/math/shot.h:130, from ../../common/filterparameter.h:35, from ../../common/interfaces.h:35, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/space/deprecated_point2.h:161:60: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] return Point2( _v[0]-p._v[0], _v[1]-p._v[1] ); ^ filter_zippering.cpp:358:12: note: 'x' was declared here Point2f x; ^ filter_zippering.cpp: In member function 'virtual void FilterZippering::initParameterSet(QAction*, MeshDocument&, RichParameterSet&)': filter_zippering.cpp:159:113: warning: 'target' may be used uninitialized in this function [-Wmaybe-uninitialized] parlst.addParam( new RichMesh("SecondMesh", target, &md, "Patch", "The mesh that will be used as patch.") ); ^ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from filter_zippering.cpp:30: ../../../../vcglib/vcg/simplex/face/distance.h: In function 'bool vcg::face::PointDistanceBase(const FaceType&, const vcg::Point3&, typename FaceType::ScalarType&, vcg::Point3&) [with FaceType = CFaceO]': ../../../../vcglib/vcg/simplex/face/distance.h:430:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:392:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:355:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ filter_zippering.cpp: In member function 'virtual bool FilterZippering::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filter_zippering.cpp:1565:32: warning: 't2' may be used uninitialized in this function [-Wmaybe-uninitialized] Log( "elapsed time: %f", (t2-t1)/CLOCKS_PER_SEC ); ~~~^~~~ filter_zippering.cpp:1568:6: warning: 'sf' may be used uninitialized in this function [-Wmaybe-uninitialized] Log( "Selected %i redundant faces", sf ); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filter_zippering.h -o moc_filter_zippering.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filter_zippering.o moc_filter_zippering.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from moc_filter_zippering.cpp:9: filter_zippering.h: In member function 'virtual bool aux_info::AddToBorder(vcg::Segment3, std::pair)': filter_zippering.h:56:8: warning: unused variable 'stop' [-Wunused-variable] int stop = 3; ^~~~ filter_zippering.h:70:8: warning: unused variable 'stop' [-Wunused-variable] int stop = 3; ^~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filter_zippering.h:32, from moc_filter_zippering.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfilter_zippering.so g++ -Wl,-z,relro -shared -o libfilter_zippering.so filter_zippering.o moc_filter_zippering.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfilter_zippering.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_zippering' cd meshlabplugins/render_splatting/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_splatting' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o splatrenderer_plugin.o splatrenderer_plugin.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from splatrenderer_plugin.cpp:29: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common//meshmodel.h:35, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from splatrenderer_plugin.cpp:29: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common//meshmodel.h:38, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from splatrenderer_plugin.cpp:29: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common//meshmodel.h:41, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from splatrenderer_plugin.cpp:29: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from splatrenderer_plugin.cpp:29: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from splatrenderer_plugin.cpp:29: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from splatrenderer_plugin.cpp:29: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from splatrenderer_plugin.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from splatrenderer_plugin.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from splatrenderer_plugin.cpp:29: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from splatrenderer_plugin.cpp:29: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ splatrenderer_plugin.cpp: In member function 'virtual void SplatRendererPlugin::Init(QAction*, MeshDocument&, RenderMode&, QGLWidget*)': splatrenderer_plugin.cpp:49:42: warning: unused parameter 'a' [-Wunused-parameter] void SplatRendererPlugin::Init(QAction * a, MeshDocument & md, RenderMode &, QGLWidget *gla) ~~~~~~~~~~^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from splatrenderer_plugin.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common//scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from splatrenderer_plugin.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. splatrenderer_plugin.h -o moc_splatrenderer_plugin.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_splatrenderer_plugin.o moc_splatrenderer_plugin.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common//meshmodel.h:35, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common//meshmodel.h:38, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common//meshmodel.h:41, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common//meshmodel.h:44, from ../../common//interfaces.h:37, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common//interfaces.h:28, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common//scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common//interfaces.h:28, from splatrenderer_plugin.h:28, from moc_splatrenderer_plugin.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name splatrenderer ../../../../vcglib/wrap/gl/splatting_apss/splatrenderer.qrc -o qrc_splatrenderer.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o qrc_splatrenderer.o qrc_splatrenderer.cpp rm -f librender_splatting.so g++ -Wl,-z,relro -shared -o librender_splatting.so splatrenderer_plugin.o moc_splatrenderer_plugin.o qrc_splatrenderer.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f librender_splatting.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_splatting' cd meshlabplugins/render_gdp/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_gdp' /usr/lib/aarch64-linux-gnu/qt4/bin/uic shaderDialog.ui -o ui_shaderDialog.h g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o meshrender.o meshrender.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from meshrender.cpp:29: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshrender.h:28, from meshrender.cpp:29: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshrender.h:28, from meshrender.cpp:29: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshrender.h:28, from meshrender.cpp:29: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from meshrender.cpp:29: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from meshrender.cpp:29: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from meshrender.cpp:29: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from meshrender.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from meshrender.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from meshrender.cpp:29: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from meshrender.cpp:29: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from meshrender.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from meshrender.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o textfile.o textfile.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o shaderDialog.o shaderDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from shaderDialog.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from shaderDialog.h:29, from shaderDialog.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from shaderDialog.h:29, from shaderDialog.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from shaderDialog.h:29, from shaderDialog.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from shaderDialog.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from shaderDialog.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from shaderDialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from shaderDialog.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from shaderDialog.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from shaderDialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from shaderDialog.h:29, from shaderDialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. meshrender.h -o moc_meshrender.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_meshrender.o moc_meshrender.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from moc_meshrender.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshrender.h:28, from moc_meshrender.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshrender.h:28, from moc_meshrender.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshrender.h:28, from moc_meshrender.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from moc_meshrender.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from moc_meshrender.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from moc_meshrender.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from moc_meshrender.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from moc_meshrender.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from moc_meshrender.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshrender.h:28, from moc_meshrender.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshrender.h:28, from moc_meshrender.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshrender.h:28, from moc_meshrender.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. shaderDialog.h -o moc_shaderDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_shaderDialog.o moc_shaderDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from moc_shaderDialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from shaderDialog.h:29, from moc_shaderDialog.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from shaderDialog.h:29, from moc_shaderDialog.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from shaderDialog.h:29, from moc_shaderDialog.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from moc_shaderDialog.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from moc_shaderDialog.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from moc_shaderDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from moc_shaderDialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from moc_shaderDialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from shaderDialog.h:29, from moc_shaderDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from shaderDialog.h:29, from moc_shaderDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ rm -f librender_gdp.so g++ -Wl,-z,relro -shared -o librender_gdp.so meshrender.o textfile.o shaderDialog.o moc_meshrender.o moc_shaderDialog.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f librender_gdp.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_gdp' cd meshlabplugins/render_radiance_scaling/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_radiance_scaling' /usr/lib/aarch64-linux-gnu/qt4/bin/uic shaderDialog.ui -o ui_shaderDialog.h g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o textureParams.o textureParams.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o textureFormat.o textureFormat.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o framebufferObject.o framebufferObject.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o gpuShader.o gpuShader.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o gpuProgram.o gpuProgram.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o radianceScalingRenderer.o radianceScalingRenderer.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from radianceScalingRenderer.h:27, from radianceScalingRenderer.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o shaderDialog.o shaderDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from shaderDialog.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from shaderDialog.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from shaderDialog.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from shaderDialog.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from shaderDialog.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from shaderDialog.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from shaderDialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from shaderDialog.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from shaderDialog.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from shaderDialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from shaderDialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from shaderDialog.h:27, from shaderDialog.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from shaderDialog.h:27, from shaderDialog.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. radianceScalingRenderer.h -o moc_radianceScalingRenderer.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_radianceScalingRenderer.o moc_radianceScalingRenderer.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from radianceScalingRenderer.h:27, from moc_radianceScalingRenderer.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. shaderDialog.h -o moc_shaderDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_shaderDialog.o moc_shaderDialog.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name radianceScalingRenderer radianceScalingRenderer.qrc -o qrc_radianceScalingRenderer.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o qrc_radianceScalingRenderer.o qrc_radianceScalingRenderer.cpp rm -f librender_radiance_scaling.so g++ -Wl,-z,relro -shared -o librender_radiance_scaling.so textureParams.o textureFormat.o framebufferObject.o gpuShader.o gpuProgram.o radianceScalingRenderer.o shaderDialog.o moc_radianceScalingRenderer.o moc_shaderDialog.o qrc_radianceScalingRenderer.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f librender_radiance_scaling.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_radiance_scaling' cd meshlabplugins/render_rfx/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_rfx' /usr/lib/aarch64-linux-gnu/qt4/bin/uic rfx_dialog.ui -o ui_rfx_dialog.h g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o render_rfx.o render_rfx.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from render_rfx.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from render_rfx.h:28, from render_rfx.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from render_rfx.h:28, from render_rfx.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from render_rfx.h:28, from render_rfx.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from render_rfx.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from render_rfx.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from render_rfx.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from render_rfx.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from render_rfx.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from render_rfx.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from render_rfx.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ render_rfx.cpp: In member function 'virtual void RenderRFX::Init(QAction*, MeshDocument&, RenderMode&, QGLWidget*)': render_rfx.cpp:102:69: warning: unused parameter 'rmode' [-Wunused-parameter] void RenderRFX::Init(QAction *action, MeshDocument &md, RenderMode &rmode, QGLWidget *parent) ~~~~~~~~~~~~^~~~~ render_rfx.cpp: In member function 'virtual void RenderRFX::Render(QAction*, MeshDocument&, RenderMode&, QGLWidget*)': render_rfx.cpp:169:33: warning: unused parameter 'action' [-Wunused-parameter] void RenderRFX::Render(QAction *action, MeshDocument &md, RenderMode &rm, QGLWidget *parent) ~~~~~~~~~^~~~~~ render_rfx.cpp:169:87: warning: unused parameter 'parent' [-Wunused-parameter] void RenderRFX::Render(QAction *action, MeshDocument &md, RenderMode &rm, QGLWidget *parent) ~~~~~~~~~~~^~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from render_rfx.h:28, from render_rfx.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from render_rfx.h:28, from render_rfx.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from render_rfx.cpp:24: render_rfx.h:89:25: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized] temp->setValueByType(loc[i], (*fi).V(0)); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ render_rfx.h:75:24: note: 'temp' was declared here RfxSpecialAttribute* temp; ^~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_colorbox.o rfx_colorbox.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from rfx_colorbox.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from rfx_colorbox.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from rfx_colorbox.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from rfx_colorbox.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from rfx_colorbox.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from rfx_colorbox.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from rfx_colorbox.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from rfx_colorbox.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from rfx_colorbox.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from rfx_colorbox.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from rfx_colorbox.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_specialuniform.o rfx_specialuniform.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialuniform.h:30, from rfx_specialuniform.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:46, from rfx_specialuniform.h:29, from rfx_specialuniform.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../../../vcglib/vcg/complex/algorithms/stat.h:47, from rfx_specialuniform.h:29, from rfx_specialuniform.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from rfx_specialuniform.h:29, from rfx_specialuniform.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from rfx_specialuniform.h:29, from rfx_specialuniform.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from rfx_specialuniform.h:29, from rfx_specialuniform.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from rfx_specialuniform.h:29, from rfx_specialuniform.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from rfx_specialuniform.h:29, from rfx_specialuniform.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../common/meshmodel.h:35, from rfx_specialuniform.h:30, from rfx_specialuniform.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialuniform.h:30, from rfx_specialuniform.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from rfx_specialuniform.h:30, from rfx_specialuniform.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_specialattribute.o rfx_specialattribute.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_specialattribute.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from rfx_specialattribute.h:29, from rfx_specialattribute.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from rfx_specialattribute.h:29, from rfx_specialattribute.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from rfx_specialattribute.h:29, from rfx_specialattribute.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_specialattribute.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_specialattribute.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_specialattribute.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_specialattribute.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_specialattribute.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_specialattribute.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_specialattribute.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ rfx_specialattribute.cpp: At global scope: rfx_specialattribute.cpp:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ rfx_specialattribute.cpp:28:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] rfx_specialattribute.cpp:32:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] }; ^ rfx_specialattribute.cpp:32:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] rfx_specialattribute.cpp: In member function 'void RfxSpecialAttribute::setValueByType(GLint, CVertexO*)': rfx_specialattribute.cpp:61:8: warning: enumeration value 'NONE' not handled in switch [-Wswitch] switch(this->_specialType){ ^ rfx_specialattribute.cpp:61:8: warning: enumeration value 'TOTAL_SPECIAL_TYPES' not handled in switch [-Wswitch] g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_shader.o rfx_shader.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_shader.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_shader.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_shader.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_shader.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_shader.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_shader.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_shader.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_shader.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_shader.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_shader.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_shader.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_glpass.o rfx_glpass.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_glpass.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_glpass.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_glpass.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_glpass.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_glpass.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_glpass.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_glpass.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_glpass.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_glpass.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_glpass.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_glpass.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ rfx_glpass.cpp: In member function 'bool RfxGLPass::checkSpecialAttributeDataMask(MeshDocument*)': rfx_glpass.cpp:173:9: warning: unused variable 'ret' [-Wunused-variable] int ret = msgBox.exec(); ^~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_uniform.o rfx_uniform.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_state.o rfx_state.cpp rfx_state.cpp: In member function 'void RfxState::SetGLEnvironment()': rfx_state.cpp:238:10: warning: this statement may fall through [-Wimplicit-fallthrough=] delete res; ^~~ rfx_state.cpp:241:2: note: here case GL_SecondaryColor: { ^~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_parser.o rfx_parser.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_parser.h:32, from rfx_parser.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_parser.h:32, from rfx_parser.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_parser.h:32, from rfx_parser.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_parser.h:32, from rfx_parser.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_parser.h:32, from rfx_parser.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_parser.h:32, from rfx_parser.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_parser.h:32, from rfx_parser.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_parser.h:32, from rfx_parser.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_parser.h:32, from rfx_parser.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_parser.h:32, from rfx_parser.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_parser.h:32, from rfx_parser.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_dialog.o rfx_dialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_dialog.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_dialog.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_dialog.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_dialog.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_dialog.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_dialog.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_dialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_dialog.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_dialog.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_dialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_dialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ rfx_dialog.cpp: In member function 'void RfxDialog::DrawIFace(QGridLayout*, RfxUniform*, int, int, int)': rfx_dialog.cpp:334:11: warning: enumeration value 'COLOR_CTRL' not handled in switch [-Wswitch] switch (ctrl) { ^ rfx_dialog.cpp:279:22: warning: unused variable 'rgba' [-Wunused-variable] ColorComponentsType rgba = R; ^~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:48, from /usr/include/qt4/QtGui/qtextobject.h:46, from /usr/include/qt4/QtGui/qsyntaxhighlighter.h:50, from /usr/include/qt4/QtGui/QSyntaxHighlighter:1, from rfx_dialog.h:28, from rfx_dialog.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = GLSLSynHlighter::HighlightingRule]': /usr/include/qt4/QtCore/qvector.h:577:9: required from 'void QVector::append(const T&) [with T = GLSLSynHlighter::HighlightingRule]' rfx_dialog.cpp:733:32: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector::Data' {aka 'struct QVectorTypedData'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qtextformat.h:48, from /usr/include/qt4/QtGui/qtextobject.h:46, from /usr/include/qt4/QtGui/qsyntaxhighlighter.h:50, from /usr/include/qt4/QtGui/QSyntaxHighlighter:1, from rfx_dialog.h:28, from rfx_dialog.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector::Data' {aka 'struct QVectorTypedData'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rfx_dialog.cpp: In member function 'void RfxDialog::AddUniformBox(RfxUniform*, int)': rfx_dialog.cpp:241:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if(uni->isRmColorVariable()){ ^~ rfx_dialog.cpp:245:2: note: here case RfxUniform::IVEC4: ^~~~ rfx_dialog.cpp: In member function 'void RfxDialog::DrawIFace(QGridLayout*, RfxUniform*, int, int, int)': rfx_dialog.cpp:298:3: warning: this statement may fall through [-Wimplicit-fallthrough=] if(u->isRmColorVariable()){ ^~ rfx_dialog.cpp:302:2: note: here case RfxUniform::MAT2: ^~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_rendertarget.o rfx_rendertarget.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_textureloader.o rfx_textureloader.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_qimage.o plugins/rfx_qimage.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_dds.o plugins/rfx_dds.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o rfx_tga.o plugins/rfx_tga.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. render_rfx.h -o moc_render_rfx.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_render_rfx.o moc_render_rfx.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from moc_render_rfx.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from render_rfx.h:28, from moc_render_rfx.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from render_rfx.h:28, from moc_render_rfx.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from render_rfx.h:28, from moc_render_rfx.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from moc_render_rfx.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from moc_render_rfx.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from moc_render_rfx.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from moc_render_rfx.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from moc_render_rfx.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from moc_render_rfx.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from render_rfx.h:28, from moc_render_rfx.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from render_rfx.h:28, from moc_render_rfx.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from render_rfx.h:28, from moc_render_rfx.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. rfx_colorbox.h -o moc_rfx_colorbox.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_rfx_colorbox.o moc_rfx_colorbox.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from moc_rfx_colorbox.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from moc_rfx_colorbox.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from moc_rfx_colorbox.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from moc_rfx_colorbox.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from moc_rfx_colorbox.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from moc_rfx_colorbox.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from moc_rfx_colorbox.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from moc_rfx_colorbox.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from moc_rfx_colorbox.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from moc_rfx_colorbox.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from rfx_colorbox.h:41, from moc_rfx_colorbox.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. rfx_dialog.h -o moc_rfx_dialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_rfx_dialog.o moc_rfx_dialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from moc_rfx_dialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from moc_rfx_dialog.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from moc_rfx_dialog.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from moc_rfx_dialog.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from moc_rfx_dialog.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from moc_rfx_dialog.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from moc_rfx_dialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from moc_rfx_dialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from moc_rfx_dialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from moc_rfx_dialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from rfx_specialattribute.h:29, from rfx_glpass.h:35, from rfx_shader.h:28, from rfx_dialog.h:74, from moc_rfx_dialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name render_rfx render_rfx.qrc -o qrc_render_rfx.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o qrc_render_rfx.o qrc_render_rfx.cpp rm -f librender_rfx.so g++ -Wl,-z,relro -shared -o librender_rfx.so render_rfx.o rfx_colorbox.o rfx_specialuniform.o rfx_specialattribute.o rfx_shader.o rfx_glpass.o rfx_uniform.o rfx_state.o rfx_parser.o rfx_dialog.o rfx_rendertarget.o rfx_textureloader.o rfx_qimage.o rfx_dds.o rfx_tga.o moc_render_rfx.o moc_rfx_colorbox.o moc_rfx_dialog.o qrc_render_rfx.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f librender_rfx.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_rfx' cd meshlabplugins/decorate_base/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_base' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o decorate_base.o decorate_base.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from decorate_base.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_base.h:27, from decorate_base.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_base.h:27, from decorate_base.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_base.h:27, from decorate_base.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from decorate_base.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from decorate_base.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from decorate_base.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from decorate_base.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from decorate_base.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from decorate_base.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from decorate_base.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/math/deprecated_matrix44.h:107, from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from decorate_base.h:27, from decorate_base.cpp:24: ../../../../vcglib/vcg/space/deprecated_point3.h: In instantiation of 'void vcg::GetUV(vcg::Point3&, vcg::Point3&, vcg::Point3&, vcg::Point3) [with P3ScalarType = float]': ../../../../vcglib/wrap/gl/addons.h:60:81: required from here ../../../../vcglib/vcg/space/deprecated_point3.h:564:23: warning: variable 'uv' set but not used [-Wunused-but-set-variable] Point3 uv=u^v; ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_base.h:27, from decorate_base.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_base.h:27, from decorate_base.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ decorate_base.cpp: In member function 'void ExtraMeshDecoratePlugin::drawQuotedLine(const Point3d&, const Point3d&, float, float, float, QPainter*, QFont, float, bool)': decorate_base.cpp:662:15: warning: 'firstTick' may be used uninitialized in this function [-Wmaybe-uninitialized] firstTick +=tickScalarDistance; ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o coordinateframe.o ../../../../vcglib/wrap/gui/coordinateframe.cpp In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/math/deprecated_matrix44.h:107, from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../../../vcglib/wrap/gl/deprecated_math.h:31, from ../../../../vcglib/wrap/gl/math.h:61, from ../../../../vcglib/wrap/gui/coordinateframe.cpp:48: ../../../../vcglib/vcg/space/deprecated_point3.h: In instantiation of 'void vcg::GetUV(vcg::Point3&, vcg::Point3&, vcg::Point3&, vcg::Point3) [with P3ScalarType = float]': ../../../../vcglib/wrap/gl/addons.h:60:81: required from here ../../../../vcglib/vcg/space/deprecated_point3.h:564:23: warning: variable 'uv' set but not used [-Wunused-but-set-variable] Point3 uv=u^v; ^~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. decorate_base.h -o moc_decorate_base.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_decorate_base.o moc_decorate_base.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from moc_decorate_base.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_base.h:27, from moc_decorate_base.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_base.h:27, from moc_decorate_base.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_base.h:27, from moc_decorate_base.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from moc_decorate_base.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from moc_decorate_base.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from moc_decorate_base.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from moc_decorate_base.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from moc_decorate_base.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from moc_decorate_base.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_base.h:27, from moc_decorate_base.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_base.h:27, from moc_decorate_base.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_base.h:27, from moc_decorate_base.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libdecorate_base.so g++ -Wl,-z,relro -shared -o libdecorate_base.so decorate_base.o coordinateframe.o moc_decorate_base.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libdecorate_base.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_base' cd meshlabplugins/decorate_background/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_background' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o decorate_background.o decorate_background.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from decorate_background.cpp:29: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_background.h:37, from decorate_background.cpp:29: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_background.h:37, from decorate_background.cpp:29: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_background.h:37, from decorate_background.cpp:29: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from decorate_background.cpp:29: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from decorate_background.cpp:29: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from decorate_background.cpp:29: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from decorate_background.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from decorate_background.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from decorate_background.cpp:29: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from decorate_background.cpp:29: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ decorate_background.cpp: In member function 'void SampleMeshDecoratePlugin::DrawGriddedCube(MeshModel&, const Box3f&, float, float, bool, bool, bool, vcg::Color4b, vcg::Color4b, GLArea*)': decorate_background.cpp:302:211: warning: unused parameter 'gla' [-Wunused-parameter] void SampleMeshDecoratePlugin::DrawGriddedCube(MeshModel &m, const Box3f &bb, float majorTick, float minorTick, bool snapFlag, bool backCullFlag, bool shadowFlag, Color4b frontColor, Color4b backColor, GLArea *gla) ~~~~~~~~^~~ decorate_background.cpp: In member function 'void SampleMeshDecoratePlugin::setValue(QString, vcg::Shotf)': decorate_background.cpp:343:50: warning: unused parameter 'name' [-Wunused-parameter] void SampleMeshDecoratePlugin::setValue(QString name, vcg::Shotf val) {curShot=val;} ~~~~~~~~^~~~ In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/math/deprecated_matrix44.h:107, from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from decorate_background.h:37, from decorate_background.cpp:29: ../../../../vcglib/vcg/space/deprecated_point3.h: In instantiation of 'void vcg::GetUV(vcg::Point3&, vcg::Point3&, vcg::Point3&, vcg::Point3) [with P3ScalarType = float]': ../../../../vcglib/wrap/gl/addons.h:60:81: required from here ../../../../vcglib/vcg/space/deprecated_point3.h:564:23: warning: variable 'uv' set but not used [-Wunused-but-set-variable] Point3 uv=u^v; ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from decorate_background.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from decorate_background.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o cubemap.o cubemap.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. decorate_background.h -o moc_decorate_background.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_decorate_background.o moc_decorate_background.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from moc_decorate_background.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_background.h:37, from moc_decorate_background.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_background.h:37, from moc_decorate_background.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_background.h:37, from moc_decorate_background.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from moc_decorate_background.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from moc_decorate_background.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from moc_decorate_background.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from moc_decorate_background.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from moc_decorate_background.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from moc_decorate_background.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_background.h:37, from moc_decorate_background.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from decorate_background.h:34, from moc_decorate_background.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from decorate_background.h:34, from moc_decorate_background.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libdecorate_background.so g++ -Wl,-z,relro -shared -o libdecorate_background.so decorate_background.o cubemap.o moc_decorate_background.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libdecorate_background.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_background' cd meshlabplugins/decorate_shadow/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_shadow' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o decorate_shadow.o decorate_shadow.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from decorate_shadow.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from decorate_shadow.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from decorate_shadow.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from decorate_shadow.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from decorate_shadow.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from decorate_shadow.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from decorate_shadow.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from decorate_shadow.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from decorate_shadow.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from decorate_shadow.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from decorate_shadow.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from decorate_shadow.h:29, from decorate_shadow.cpp:24: decorate_shader.h: In member function 'bool DecorateShader::initGlew()': decorate_shader.h:97:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!GLEW_OK == err){ ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shadow.h:27, from decorate_shadow.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shadow.h:27, from decorate_shadow.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o shadow_mapping.o shadow_mapping.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from shadow_mapping.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_shader.h:26, from shadow_mapping.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_shader.h:26, from shadow_mapping.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_shader.h:26, from shadow_mapping.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from shadow_mapping.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from shadow_mapping.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from shadow_mapping.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from shadow_mapping.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from shadow_mapping.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from shadow_mapping.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from shadow_mapping.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from shadow_mapping.cpp:24: decorate_shader.h: In member function 'bool DecorateShader::initGlew()': decorate_shader.h:97:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!GLEW_OK == err){ ^~ In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/math/deprecated_matrix44.h:107, from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../common/filterparameter.h:33, from ../../common/interfaces.h:35, from decorate_shader.h:26, from shadow_mapping.cpp:24: ../../../../vcglib/vcg/space/deprecated_point3.h: In instantiation of 'void vcg::GetUV(vcg::Point3&, vcg::Point3&, vcg::Point3&, vcg::Point3) [with P3ScalarType = float]': shadow_mapping.cpp:90:53: required from here ../../../../vcglib/vcg/space/deprecated_point3.h:564:23: warning: variable 'uv' set but not used [-Wunused-but-set-variable] Point3 uv=u^v; ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shader.h:26, from shadow_mapping.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shader.h:26, from shadow_mapping.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o trackball.o ../../../../vcglib/wrap/gui/trackball.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o trackmode.o ../../../../vcglib/wrap/gui/trackmode.cpp In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/wrap/gui/trackmode.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/wrap/gui/trackmode.cpp:28: ../../../../vcglib/wrap/gui/trackutils.h: In function 'bool vcg::trackutils::HitHyper(vcg::Point3f, float, vcg::Point3f, vcg::Plane3f, vcg::Point3f, vcg::Point3f&)': ../../../../vcglib/wrap/gui/trackutils.h:189:13: warning: variable 'x2' set but not used [-Wunused-but-set-variable] float x1, x2, xval, yval; ^~ ../../../../vcglib/wrap/gui/trackmode.cpp: In member function 'virtual bool vcg::NavigatorWasdMode::IsAnimating(const vcg::Trackball*)': ../../../../vcglib/wrap/gui/trackmode.cpp:751:87: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] const unsigned int MOVEMENT_KEY_MASK = (const unsigned int)(~Trackball::MODIFIER_MASK); ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o variance_shadow_mapping.o variance_shadow_mapping.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from variance_shadow_mapping.cpp:24: decorate_shader.h: In member function 'bool DecorateShader::initGlew()': decorate_shader.h:97:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!GLEW_OK == err){ ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shader.h:26, from variance_shadow_mapping.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o variance_shadow_mapping_blur.o variance_shadow_mapping_blur.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from variance_shadow_mapping_blur.cpp:24: decorate_shader.h: In member function 'bool DecorateShader::initGlew()': decorate_shader.h:97:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!GLEW_OK == err){ ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shader.h:26, from variance_shadow_mapping_blur.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o ssao.o ssao.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ssao.h:27, from ssao.cpp:24: decorate_shader.h: In member function 'bool DecorateShader::initGlew()': decorate_shader.h:97:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!GLEW_OK == err){ ^~ ssao.cpp: In member function 'virtual void SSAO::runShader(MeshDocument&, GLArea*)': ssao.cpp:115:20: warning: variable 'rm' set but not used [-Wunused-but-set-variable] RenderMode rm = gla->getCurrentRenderMode(); ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shader.h:26, from ssao.h:27, from ssao.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. decorate_shadow.h -o moc_decorate_shadow.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_decorate_shadow.o moc_decorate_shadow.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from decorate_shadow.h:29, from moc_decorate_shadow.cpp:9: decorate_shader.h: In member function 'bool DecorateShader::initGlew()': decorate_shader.h:97:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!GLEW_OK == err){ ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_shadow.h:27, from moc_decorate_shadow.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name noise noise.qrc -o qrc_noise.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o qrc_noise.o qrc_noise.cpp rm -f libdecorate_shadow.so g++ -Wl,-z,relro -shared -o libdecorate_shadow.so decorate_shadow.o shadow_mapping.o trackball.o trackmode.o variance_shadow_mapping.o variance_shadow_mapping_blur.o ssao.o moc_decorate_shadow.o qrc_noise.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libdecorate_shadow.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_shadow' cd meshlabplugins/decorate_raster_proj/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_raster_proj' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o decorate_raster_proj.o decorate_raster_proj.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/glw/glw.h:4, from decorate_raster_proj.h:31, from decorate_raster_proj.cpp:24: ../../../../vcglib/wrap/glw/./context.h: In member function 'typename glw::Context::BindingHandleFromBinding::Type glw::Context::bind(typename glw::Context::SafeHandleFromBinding::Type&, const typename glw::detail::ParamsOf::Type&)': ../../../../vcglib/wrap/glw/./context.h:568:75: warning: typedef 'BindingParamsType' locally defined but not used [-Wunused-local-typedefs] typedef typename detail::ParamsOf::Type BindingParamsType; ^~~~~~~~~~~~~~~~~ In file included from decorate_raster_proj.cpp:24: decorate_raster_proj.h: In constructor 'DecorateRasterProjPlugin::DecorateRasterProjPlugin()': decorate_raster_proj.h:75:30: warning: 'DecorateRasterProjPlugin::m_CurrentRaster' will be initialized after [-Wreorder] RasterModel *m_CurrentRaster; ^~~~~~~~~~~~~~~ decorate_raster_proj.h:73:30: warning: 'DecorateRasterProjPlugin::MeshDrawer* DecorateRasterProjPlugin::m_CurrentMesh' [-Wreorder] MeshDrawer *m_CurrentMesh; ^~~~~~~~~~~~~ decorate_raster_proj.cpp:144:1: warning: when initialized here [-Wreorder] DecorateRasterProjPlugin::DecorateRasterProjPlugin() : ^~~~~~~~~~~~~~~~~~~~~~~~ decorate_raster_proj.cpp: In member function 'bool DecorateRasterProjPlugin::initShaders(std::__cxx11::string&)': decorate_raster_proj.cpp:437:58: warning: unused parameter 'logs' [-Wunused-parameter] bool DecorateRasterProjPlugin::initShaders( std::string &logs ) ~~~~~~~~~~~~~^~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_raster_proj.h:30, from decorate_raster_proj.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o trackball.o ../../../../vcglib/wrap/gui/trackball.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o trackmode.o ../../../../vcglib/wrap/gui/trackmode.cpp In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/wrap/gui/trackmode.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/wrap/gui/trackmode.cpp:28: ../../../../vcglib/wrap/gui/trackutils.h: In function 'bool vcg::trackutils::HitHyper(vcg::Point3f, float, vcg::Point3f, vcg::Plane3f, vcg::Point3f, vcg::Point3f&)': ../../../../vcglib/wrap/gui/trackutils.h:189:13: warning: variable 'x2' set but not used [-Wunused-but-set-variable] float x1, x2, xval, yval; ^~ ../../../../vcglib/wrap/gui/trackmode.cpp: In member function 'virtual bool vcg::NavigatorWasdMode::IsAnimating(const vcg::Trackball*)': ../../../../vcglib/wrap/gui/trackmode.cpp:751:87: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] const unsigned int MOVEMENT_KEY_MASK = (const unsigned int)(~Trackball::MODIFIER_MASK); ^ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. decorate_raster_proj.h -o moc_decorate_raster_proj.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_decorate_raster_proj.o moc_decorate_raster_proj.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from ../../../../vcglib/wrap/glw/glw.h:4, from decorate_raster_proj.h:31, from moc_decorate_raster_proj.cpp:9: ../../../../vcglib/wrap/glw/./context.h: In member function 'typename glw::Context::BindingHandleFromBinding::Type glw::Context::bind(typename glw::Context::SafeHandleFromBinding::Type&, const typename glw::detail::ParamsOf::Type&)': ../../../../vcglib/wrap/glw/./context.h:568:75: warning: typedef 'BindingParamsType' locally defined but not used [-Wunused-local-typedefs] typedef typename detail::ParamsOf::Type BindingParamsType; ^~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from decorate_raster_proj.h:30, from moc_decorate_raster_proj.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libdecorate_raster_proj.so g++ -Wl,-z,relro -shared -o libdecorate_raster_proj.so decorate_raster_proj.o trackball.o trackmode.o moc_decorate_raster_proj.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libdecorate_raster_proj.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_raster_proj' cd meshlabplugins/edit_select/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_select' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o edit_select_factory.o edit_select_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from edit_select_factory.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from edit_select_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from edit_select_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from edit_select_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from edit_select_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from edit_select_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from edit_select_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from edit_select_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from edit_select_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from edit_select_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from edit_select_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_select_factory.h:28, from edit_select_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_select_factory.h:28, from edit_select_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o edit_select.o edit_select.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from edit_select.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_select.h:26, from edit_select.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_select.h:26, from edit_select.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_select.h:26, from edit_select.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from edit_select.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from edit_select.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from edit_select.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from edit_select.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from edit_select.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from edit_select.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from edit_select.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ edit_select.cpp: In member function 'virtual void EditSelectPlugin::Decorate(MeshModel&, GLArea*)': edit_select.cpp:230:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(fpi=NewSelFace.begin();fpi!=NewSelFace.end();++fpi) ^~~ edit_select.cpp:232:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' if(selectionMode == SELECT_CONN_MODE) tri::UpdateSelection::FaceConnectedFF(m.cm); ^~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_select.h:26, from edit_select.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_select.h:26, from edit_select.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ edit_select.cpp:189:46: warning: this statement may fall through [-Wimplicit-fallthrough=] for(vpi=LastSelVert.begin();vpi!=LastSelVert.end();++vpi) ~~~^~~~~~~~~~~~~~~~~~~ edit_select.cpp:191:9: note: here case SMClear : // Subtract mode : The faces in the rect must be de-selected ^~~~ edit_select.cpp:227:40: warning: this statement may fall through [-Wimplicit-fallthrough=] for(fpi=LastSelFace.begin();fpi!=LastSelFace.end();++fpi) ~~~^~~~~~~~~~~~~~~~~~~ edit_select.cpp:229:7: note: here case SMClear : ^~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. edit_select_factory.h -o moc_edit_select_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_edit_select_factory.o moc_edit_select_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_select_factory.h:28, from moc_edit_select_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. edit_select.h -o moc_edit_select.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_edit_select.o moc_edit_select.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from moc_edit_select.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_select.h:26, from moc_edit_select.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_select.h:26, from moc_edit_select.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_select.h:26, from moc_edit_select.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from moc_edit_select.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from moc_edit_select.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from moc_edit_select.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from moc_edit_select.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from moc_edit_select.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from moc_edit_select.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_select.h:26, from moc_edit_select.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_select.h:26, from moc_edit_select.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_select.h:26, from moc_edit_select.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name edit_select edit_select.qrc -o qrc_edit_select.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o qrc_edit_select.o qrc_edit_select.cpp rm -f libedit_select.so g++ -Wl,-z,relro -shared -o libedit_select.so edit_select_factory.o edit_select.o moc_edit_select_factory.o moc_edit_select.o qrc_edit_select.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libedit_select.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_select' cd meshlabplugins/edit_pickpoints/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_pickpoints' /usr/lib/aarch64-linux-gnu/qt4/bin/uic pickpointsDialog.ui -o ui_pickpointsDialog.h g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o edit_pickpoints_factory.o edit_pickpoints_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_pickpoints_factory.h:29, from edit_pickpoints_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o editpickpoints.o editpickpoints.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from editpickpoints.cpp:34: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from editpickpoints.h:33, from editpickpoints.cpp:34: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from editpickpoints.h:33, from editpickpoints.cpp:34: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from editpickpoints.h:33, from editpickpoints.cpp:34: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from editpickpoints.cpp:34: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from editpickpoints.cpp:34: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from editpickpoints.cpp:34: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from editpickpoints.cpp:34: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from editpickpoints.cpp:34: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from editpickpoints.cpp:34: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from editpickpoints.cpp:34: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ editpickpoints.cpp: In member function 'virtual void EditPickPointsPlugin::EndEdit(MeshModel&, GLArea*)': editpickpoints.cpp:178:59: warning: unused parameter 'gla' [-Wunused-parameter] void EditPickPointsPlugin::EndEdit(MeshModel &mm, GLArea *gla) ~~~~~~~~^~~ editpickpoints.cpp: In member function 'void EditPickPointsPlugin::drawPickedPoints(std::vector&, vcg::Box3f&, QPainter*)': editpickpoints.cpp:302:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0; i < pointVector.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ editpickpoints.cpp:340:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0; i < pointVector.size(); ++i) ~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from editpickpoints.cpp:30: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from editpickpoints.cpp:30: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o pickpointsDialog.o pickpointsDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from pickpointsDialog.cpp:33: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from pickpointsDialog.cpp:33: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from pickpointsDialog.cpp:33: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from pickpointsDialog.cpp:33: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickpointsDialog.cpp:33: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickpointsDialog.cpp:33: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickpointsDialog.cpp:33: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickpointsDialog.cpp:33: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickpointsDialog.cpp:33: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from pickpointsDialog.cpp:33: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from pickpointsDialog.cpp:33: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ pickpointsDialog.cpp: In member function 'void PickPointsDialog::selectOrMoveThisPoint(vcg::Point3f)': pickpointsDialog.cpp:337:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0; i < pickedPointTreeWidgetItemVector.size(); i++){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pickpointsDialog.cpp: In member function 'void PickPointsDialog::clearPoints(bool)': pickpointsDialog.cpp:439:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0; i < pickedPointTreeWidgetItemVector.size(); i++){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pickpointsDialog.cpp: In member function 'void PickPointsDialog::loadPickPointsTemplate(QString)': pickpointsDialog.cpp:493:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0; i < pointNameVector.size(); i++){ ~~^~~~~~~~~~~~~~~~~~~~~~~~ pickpointsDialog.cpp: In member function 'void PickPointsDialog::setCurrentMeshModel(MeshModel*, GLArea*)': pickpointsDialog.cpp:556:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0; i < pickedPointVector->size(); i++){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ pickpointsDialog.cpp: In member function 'PickedPoints* PickPointsDialog::getPickedPoints()': pickpointsDialog.cpp:729:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0; i < pickedPointTreeWidgetItemVector.size(); i++){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pickpointsDialog.cpp: In member function 'void PickPointsDialog::loadPoints(QString)': pickpointsDialog.cpp:753:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0; i < points->size(); i++){ ~~^~~~~~~~~~~~~~~~ pickpointsDialog.cpp: In member function 'void PickPointsDialog::savePointTemplate()': pickpointsDialog.cpp:815:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0; i < pickedPointTreeWidgetItemVector.size(); i++){ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from pickpointsDialog.cpp:29: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from pickpointsDialog.cpp:29: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickpointsDialog.cpp:33: ../../../../vcglib/vcg/simplex/face/distance.h: In function 'bool vcg::face::PointDistanceBase(const FaceType&, const vcg::Point3&, typename FaceType::ScalarType&, vcg::Point3&) [with FaceType = CFaceO]': ../../../../vcglib/vcg/simplex/face/distance.h:430:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:392:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ ../../../../vcglib/vcg/simplex/face/distance.h:355:23: warning: 'bt' may be used uninitialized in this function [-Wmaybe-uninitialized] if(dist>bt) { dist = bt; return true; } ^~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o pickedPoints.o pickedPoints.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from pickedPoints.h:35, from pickedPoints.cpp:31: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from pickedPoints.h:35, from pickedPoints.cpp:31: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from pickedPoints.h:35, from pickedPoints.cpp:31: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from pickedPoints.h:35, from pickedPoints.cpp:31: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickedPoints.h:35, from pickedPoints.cpp:31: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickedPoints.h:35, from pickedPoints.cpp:31: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickedPoints.h:35, from pickedPoints.cpp:31: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickedPoints.h:35, from pickedPoints.cpp:31: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickedPoints.h:35, from pickedPoints.cpp:31: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from pickedPoints.h:35, from pickedPoints.cpp:31: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from pickedPoints.h:35, from pickedPoints.cpp:31: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ pickedPoints.cpp: In member function 'bool PickedPoints::save(QString, QString)': pickedPoints.cpp:168:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for (int i = 0; i < pointVector->size(); ++i) { ~~^~~~~~~~~~~~~~~~~~~~~ pickedPoints.cpp: In member function 'std::vector, std::allocator > >* PickedPoints::getPoint3fVector()': pickedPoints.cpp:216:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0; i < pointVector->size(); i++) ~~^~~~~~~~~~~~~~~~~~~~~ pickedPoints.cpp: In member function 'void PickedPoints::translatePoints(vcg::Matrix44f&)': pickedPoints.cpp:227:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i = 0; i < pointVector->size(); i++) ~~^~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o pickPointsTemplate.o pickPointsTemplate.cpp pickPointsTemplate.cpp: In static member function 'static bool PickPointsTemplate::save(QString, std::vector*)': pickPointsTemplate.cpp:55:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for (int i = 0; i < pointNameVector->size(); ++i) { ~~^~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o stdpardialog.o ../../meshlab/stdpardialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ ../../meshlab/stdpardialog.cpp: In member function 'bool MeshlabStdDialog::isPreviewable()': ../../meshlab/stdpardialog.cpp:87:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return ((curmask != MeshModel::MM_UNKNOWN) && (curmask != MeshModel::MM_NONE) && !(curmask & MeshModel::MM_VERTNUMBER) && !(curmask & MeshModel::MM_FACENUMBER)); ~~~~~~~~^~~~~~~~~~~~ ../../meshlab/stdpardialog.cpp: In member function 'void MeshlabStdDialog::closeClick()': ../../meshlab/stdpardialog.cpp:345:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if(curmask != MeshModel::MM_UNKNOWN) ~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../meshlab/../common/interfaces.h:28, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../meshlab/../common/interfaces.h:28, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ ../../meshlab/stdpardialog.cpp: In member function 'void ShotfWidget::getShot()': ../../meshlab/stdpardialog.cpp:776:44: warning: this statement may fall through [-Wimplicit-fallthrough=] QString type = doc.doctype().name(); ^ ../../meshlab/stdpardialog.cpp:788:5: note: here default : assert(0); ^~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. edit_pickpoints_factory.h -o moc_edit_pickpoints_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_edit_pickpoints_factory.o moc_edit_pickpoints_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_pickpoints_factory.h:29, from moc_edit_pickpoints_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. editpickpoints.h -o moc_editpickpoints.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_editpickpoints.o moc_editpickpoints.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from editpickpoints.h:33, from moc_editpickpoints.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. pickpointsDialog.h -o moc_pickpointsDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_pickpointsDialog.o moc_pickpointsDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from pickpointsDialog.h:34, from moc_pickpointsDialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from pickpointsDialog.h:34, from moc_pickpointsDialog.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from pickpointsDialog.h:34, from moc_pickpointsDialog.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from pickpointsDialog.h:34, from moc_pickpointsDialog.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickpointsDialog.h:34, from moc_pickpointsDialog.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickpointsDialog.h:34, from moc_pickpointsDialog.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickpointsDialog.h:34, from moc_pickpointsDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickpointsDialog.h:34, from moc_pickpointsDialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from pickpointsDialog.h:34, from moc_pickpointsDialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from pickpointsDialog.h:34, from moc_pickpointsDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from pickpointsDialog.h:34, from moc_pickpointsDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from pickpointsDialog.h:32, from moc_pickpointsDialog.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from pickpointsDialog.h:32, from moc_pickpointsDialog.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. ../../meshlab/stdpardialog.h -o moc_stdpardialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_stdpardialog.o moc_stdpardialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../meshlab/../common/interfaces.h:28, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../meshlab/../common/interfaces.h:28, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name editpickpoints editpickpoints.qrc -o qrc_editpickpoints.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o qrc_editpickpoints.o qrc_editpickpoints.cpp rm -f libedit_pickpoints.so g++ -Wl,-z,relro -shared -o libedit_pickpoints.so edit_pickpoints_factory.o editpickpoints.o pickpointsDialog.o pickedPoints.o pickPointsTemplate.o stdpardialog.o moc_edit_pickpoints_factory.o moc_editpickpoints.o moc_pickpointsDialog.o moc_stdpardialog.o qrc_editpickpoints.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libedit_pickpoints.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_pickpoints' cd meshlabplugins/edit_align/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_align' /usr/lib/aarch64-linux-gnu/qt4/bin/uic alignDialog.ui -o ui_alignDialog.h g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o edit_align_factory.o edit_align_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from edit_align_factory.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from edit_align_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from edit_align_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from edit_align_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from edit_align_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from edit_align_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from edit_align_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from edit_align_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from edit_align_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from edit_align_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from edit_align_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_align_factory.h:29, from edit_align_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_align_factory.h:29, from edit_align_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o point_matching_scale.o point_matching_scale.cpp In file included from point_matching_scale.cpp:2: ../../external/newuoa/include/newuoa.h: In instantiation of 'int biglag_(int, int, TYPE*, TYPE*, TYPE*, TYPE*, int*, int*, int*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, Func&) [with TYPE = double; Func = double(int, double*)]': ../../external/newuoa/include/newuoa.h:1315:16: required from 'TYPE newuob_(int, int, TYPE*, TYPE, TYPE, int*, int, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, TYPE*, int*, TYPE*, TYPE*, TYPE*, Func&) [with TYPE = double; Func = double(int, double*)]' ../../external/newuoa/include/newuoa.h:1712:19: required from 'TYPE newuoa_(int, int, TYPE*, TYPE, TYPE, int*, int, TYPE*, Func&) [with TYPE = double; Func = double(int, double*)]' ../../external/newuoa/include/newuoa.h:1723:18: required from 'TYPE min_newuoa(int, TYPE*, Func&, TYPE, TYPE, int) [with TYPE = double; Func = double(int, double*)]' point_matching_scale.cpp:53:34: required from here ../../external/newuoa/include/newuoa.h:67:54: warning: unused parameter 'func' [-Wunused-parameter] TYPE *gd, TYPE *s, TYPE *w, Func &func) ~~~~~~^~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o edit_align.o edit_align.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_align.cpp:31: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_align.cpp:31: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_align.cpp:31: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_align.cpp:31: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_align.cpp:31: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_align.cpp:31: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_align.cpp:31: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_align.cpp:31: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_align.cpp:31: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_align.cpp:31: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_align.cpp:31: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from edit_align.cpp:32: ../../../../vcglib/vcg/math/point_matching.h: In instantiation of 'static bool vcg::PointMatching::ComputeRigidMatchMatrix(vcg::PointMatching::Matrix44x&, std::vector >&, std::vector >&, vcg::PointMatching::Quaternionx&, vcg::PointMatching::Point3x&) [with ScalarType = float; vcg::PointMatching::Matrix44x = vcg::Matrix44; vcg::PointMatching::Quaternionx = vcg::Quaternion; vcg::PointMatching::Point3x = vcg::Point3]': ../../../../vcglib/vcg/math/point_matching.h:78:34: required from 'static bool vcg::PointMatching::ComputeSimilarityMatchMatrix(vcg::PointMatching::Matrix44x&, std::vector >&, std::vector >&) [with ScalarType = float; vcg::PointMatching::Matrix44x = vcg::Matrix44]' edit_align.cpp:210:25: required from here ../../../../vcglib/vcg/math/point_matching.h:243:6: warning: variable 'maxind' set but not used [-Wunused-but-set-variable] int maxind=-1; ^~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_align.cpp:27: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_align.cpp:27: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o meshtree.o meshtree.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from meshtree.cpp:28: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshtree.h:35, from meshtree.cpp:28: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshtree.h:35, from meshtree.cpp:28: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshtree.h:35, from meshtree.cpp:28: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from meshtree.cpp:28: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from meshtree.cpp:28: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from meshtree.cpp:28: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from meshtree.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from meshtree.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from meshtree.cpp:28: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from meshtree.cpp:28: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ meshtree.cpp: In member function 'void MeshTree::ProcessGlobal(vcg::AlignPair::Param&)': meshtree.cpp:212:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int ii=0;ii::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from meshtree.h:35, from meshtree.cpp:28: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o alignDialog.o alignDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from alignDialog.cpp:33: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_align.h:28, from alignDialog.cpp:33: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_align.h:28, from alignDialog.cpp:33: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_align.h:28, from alignDialog.cpp:33: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from alignDialog.cpp:33: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from alignDialog.cpp:33: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from alignDialog.cpp:33: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from alignDialog.cpp:33: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from alignDialog.cpp:33: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from alignDialog.cpp:33: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from alignDialog.cpp:33: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ alignDialog.cpp: In function 'bool AlignCallBackPos(int, const char*)': alignDialog.cpp:43:33: warning: unused parameter 'pos' [-Wunused-parameter] bool AlignCallBackPos(const int pos, const char * message ) ~~~~~~~~~~^~~ alignDialog.cpp: In constructor 'MeshTreeWidgetItem::MeshTreeWidgetItem(MeshTree*, vcg::AlignPair::Result*, MeshTreeWidgetItem*)': alignDialog.cpp:197:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int qi=0;qi::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i=0;i< meshTree->ResVec.size();++i) ~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from alignDialog.cpp:31: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from alignDialog.cpp:31: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o AlignPairWidget.o AlignPairWidget.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from AlignPairWidget.cpp:30: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_align.h:28, from AlignPairWidget.cpp:30: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_align.h:28, from AlignPairWidget.cpp:30: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_align.h:28, from AlignPairWidget.cpp:30: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from AlignPairWidget.cpp:30: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from AlignPairWidget.cpp:30: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from AlignPairWidget.cpp:30: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from AlignPairWidget.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from AlignPairWidget.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from AlignPairWidget.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from AlignPairWidget.cpp:30: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ AlignPairWidget.cpp: In member function 'virtual void AlignPairWidget::paintGL()': AlignPairWidget.cpp:91:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ AlignPairWidget.cpp:94:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' glMatrixMode(GL_PROJECTION); ^~~~~~~~~~~~ AlignPairWidget.cpp:141:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector, std::allocator > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i=0;i::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from AlignPairWidget.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o AlignPair.o align/AlignPair.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from align/AlignPair.cpp:27: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../../../vcglib/vcg/space/index/space_iterators.h:56, from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:33, from align/AlignPair.h:34, from align/AlignPair.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:33, from align/AlignPair.h:34, from align/AlignPair.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from align/AlignPair.h:34, from align/AlignPair.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from align/AlignPair.h:34, from align/AlignPair.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from align/AlignPair.h:35, from align/AlignPair.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/clean.h:35, from align/AlignPair.cpp:27: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/clean.h:37, from align/AlignPair.cpp:27: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from align/AlignPair.cpp:27: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:67, from align/AlignPair.cpp:34: ../../../../vcglib/wrap/io_trimesh/import_obj.h: In static member function 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&)': ../../../../vcglib/wrap/io_trimesh/import_obj.h:226:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (oi.mask == -1) ^~ ../../../../vcglib/wrap/io_trimesh/import_obj.h:229:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' const int inputMask = oi.mask; ^~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import_ply.h:31, from ../../../../vcglib/wrap/io_trimesh/import.h:68, from align/AlignPair.cpp:34: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import_vmi.h:39, from ../../../../vcglib/wrap/io_trimesh/import.h:71, from align/AlignPair.cpp:34: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ align/AlignPair.cpp: In member function 'bool vcg::AlignPair::A2Mesh::InitVert(const Matrix44d&, bool)': align/AlignPair.cpp:54:59: warning: unused parameter 'hasborderflag' [-Wunused-parameter] bool AlignPair::A2Mesh::InitVert(const Matrix44d &Tr,bool hasborderflag) ~~~~~^~~~~~~~~~~~~ align/AlignPair.cpp: In member function 'bool vcg::AlignPair::Align(vcg::AlignPair::A2Grid&, vcg::AlignPair::A2GridVert&, const Matrix44d&, vcg::Matrix44d&, std::vector >&, std::vector >&, std::vector >&, std::vector >&, vcg::Histogramf&, vcg::AlignPair::Stat&)': align/AlignPair.cpp:348:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if( beyondCntVec[i] < maxBeyondCnt ) ^ In file included from align/AlignPair.cpp:39: ../../../../vcglib/vcg/math/point_matching.h: In instantiation of 'static bool vcg::PointMatching::ComputeRigidMatchMatrix(vcg::PointMatching::Matrix44x&, std::vector >&, std::vector >&, vcg::PointMatching::Quaternionx&, vcg::PointMatching::Point3x&) [with ScalarType = double; vcg::PointMatching::Matrix44x = vcg::Matrix44; vcg::PointMatching::Quaternionx = vcg::Quaternion; vcg::PointMatching::Point3x = vcg::Point3]': ../../../../vcglib/vcg/math/point_matching.h:94:32: required from 'static bool vcg::PointMatching::ComputeRigidMatchMatrix(vcg::PointMatching::Matrix44x&, std::vector >&, std::vector >&) [with ScalarType = double; vcg::PointMatching::Matrix44x = vcg::Matrix44]' align/AlignPair.cpp:408:106: required from here ../../../../vcglib/vcg/math/point_matching.h:243:6: warning: variable 'maxind' set but not used [-Wunused-but-set-variable] int maxind=-1; ^~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:70, from align/AlignPair.cpp:34: ../../../../vcglib/wrap/io_trimesh/import_off.h: In instantiation of 'static int vcg::tri::io::ImporterOFF::Open(MESH_TYPE&, const char*, int&, bool (*)(int, const char*)) [with MESH_TYPE = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]': ../../../../vcglib/wrap/io_trimesh/import.h:129:40: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:110:14: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' align/AlignPair.cpp:45:58: required from here ../../../../vcglib/wrap/io_trimesh/import_off.h:189:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] unsigned int nVertices, nFaces, nEdges; ^~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:67, from align/AlignPair.cpp:34: ../../../../vcglib/wrap/io_trimesh/import_obj.h: In instantiation of 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&) [with OpenMeshType = vcg::AlignPair::A2Mesh]': ../../../../vcglib/wrap/io_trimesh/import_obj.h:206:15: required from 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:134:40: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:110:14: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' align/AlignPair.cpp:45:58: required from here ../../../../vcglib/wrap/io_trimesh/import_obj.h:533:17: warning: variable 'fi' set but not used [-Wunused-but-set-variable] FaceIterator fi = vcg::tri::Allocator::AddFaces(m,numTriangles); ^~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:71, from align/AlignPair.cpp:34: ../../../../vcglib/wrap/io_trimesh/import_vmi.h: In instantiation of 'static int vcg::tri::io::ImporterVMI::Deserialize(OpenMeshType&, int&) [with OpenMeshType = vcg::AlignPair::A2Mesh; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char]': ../../../../vcglib/wrap/io_trimesh/import_vmi.h:658:34: required from 'static int vcg::tri::io::ImporterVMI::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:139:46: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:110:14: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' align/AlignPair.cpp:45:58: required from here ../../../../vcglib/wrap/io_trimesh/import_vmi.h:714:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] size_t read = 0; ^~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:69, from align/AlignPair.cpp:34: ../../../../vcglib/wrap/io_trimesh/import_stl.h: In static member function 'static int vcg::tri::io::ImporterSTL::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh]': ../../../../vcglib/wrap/io_trimesh/import_stl.h:110:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&facenum, sizeof(int), 1, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:114:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(tmpbuf,sizeof(tmpbuf),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h: In static member function 'static int vcg::tri::io::ImporterSTL::OpenBinary(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh]': ../../../../vcglib/wrap/io_trimesh/import_stl.h:140:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&facenum, sizeof(int), 1, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:151:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&norm,sizeof(Point3f),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:152:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&tri,sizeof(Point3f),3,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:153:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&attr,sizeof(short),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o AlignGlobal.o align/AlignGlobal.cpp In file included from ../../../../vcglib/vcg/space/index/space_iterators.h:56, from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:33, from align/AlignPair.h:34, from align/AlignGlobal.cpp:32: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:33, from align/AlignPair.h:34, from align/AlignGlobal.cpp:32: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from align/AlignPair.h:34, from align/AlignGlobal.cpp:32: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from align/AlignPair.h:34, from align/AlignGlobal.cpp:32: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from align/AlignPair.h:35, from align/AlignGlobal.cpp:32: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ align/AlignGlobal.cpp: In member function 'int vcg::AlignGlobal::ComputeConnectedComponents()': align/AlignGlobal.cpp:54:10: warning: format '%i' expects argument of type 'int', but argument 2 has type 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wformat=] printf("Building Connected Components on a graph with %i nodes and %i arcs\n",N.size(),A.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ align/AlignGlobal.cpp:54:10: warning: format '%i' expects argument of type 'int', but argument 3 has type 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wformat=] align/AlignGlobal.cpp: In member function 'bool vcg::AlignGlobal::VirtAlign::Check()': align/AlignGlobal.cpp:117:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(i=0;i::size_type' {aka 'long unsigned int'} [-Wformat=] fprintf(elfp,"Alignment Graph of %i nodes and %i arcs\n",N.size(),A.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ align/AlignGlobal.cpp:155:15: warning: format '%i' expects argument of type 'int', but argument 4 has type 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wformat=] align/AlignGlobal.cpp: In member function 'bool vcg::AlignGlobal::CheckGraph()': align/AlignGlobal.cpp:188:9: warning: format '%i' expects argument of type 'int', but argument 3 has type 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wformat=] printf("Nodes that can be reached from root %i on %i \n",cnt,N.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ align/AlignGlobal.cpp:189:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wsign-compare] return cnt==N.size(); ~~~^~~~~~~~~~ align/AlignGlobal.cpp: In member function 'double vcg::AlignGlobal::Node::AlignWithActiveAdj(bool)': align/AlignGlobal.cpp:335:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i=0;i >&, std::vector&)': align/AlignGlobal.cpp:538:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i=0;i&, std::vector >&, std::vector&)': align/AlignGlobal.cpp:571:10: warning: format '%i' expects argument of type 'int', but argument 2 has type 'std::vector::size_type' {aka 'long unsigned int'} [-Wformat=] printf("building %i graph arcs\n",Res.size()); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ In file included from align/AlignGlobal.cpp:35: ../../../../vcglib/vcg/math/point_matching.h: In instantiation of 'static bool vcg::PointMatching::ComputeRigidMatchMatrix(vcg::PointMatching::Matrix44x&, std::vector >&, std::vector >&, vcg::PointMatching::Quaternionx&, vcg::PointMatching::Point3x&) [with ScalarType = double; vcg::PointMatching::Matrix44x = vcg::Matrix44; vcg::PointMatching::Quaternionx = vcg::Quaternion; vcg::PointMatching::Point3x = vcg::Point3]': ../../../../vcglib/vcg/math/point_matching.h:94:32: required from 'static bool vcg::PointMatching::ComputeRigidMatchMatrix(vcg::PointMatching::Matrix44x&, std::vector >&, std::vector >&) [with ScalarType = double; vcg::PointMatching::Matrix44x = vcg::Matrix44]' align/AlignGlobal.cpp:354:68: required from here ../../../../vcglib/vcg/math/point_matching.h:243:6: warning: variable 'maxind' set but not used [-Wunused-but-set-variable] int maxind=-1; ^~~~~~ align/AlignGlobal.cpp: In member function 'bool vcg::AlignGlobal::GlobalAlign(const std::vector >&, double, int, bool, FILE*, bool (*)(const char*))': align/AlignGlobal.cpp:523:5: warning: 'step' may be used uninitialized in this function [-Wmaybe-uninitialized] LOG(elfp,"Completed Alignment in %i steps with error %f\n",step,epsilon); ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o OccupancyGrid.o align/OccupancyGrid.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from align/OccupancyGrid.cpp:35: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../../../vcglib/vcg/space/index/space_iterators.h:56, from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:33, from align/AlignPair.h:34, from align/OccupancyGrid.cpp:32: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:33, from align/AlignPair.h:34, from align/OccupancyGrid.cpp:32: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from align/AlignPair.h:34, from align/OccupancyGrid.cpp:32: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from align/AlignPair.h:34, from align/OccupancyGrid.cpp:32: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from align/AlignPair.h:35, from align/OccupancyGrid.cpp:32: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/clean.h:35, from align/OccupancyGrid.cpp:35: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/clean.h:37, from align/OccupancyGrid.cpp:35: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from align/OccupancyGrid.cpp:35: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:67, from align/OccupancyGrid.cpp:36: ../../../../vcglib/wrap/io_trimesh/import_obj.h: In static member function 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&)': ../../../../vcglib/wrap/io_trimesh/import_obj.h:226:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (oi.mask == -1) ^~ ../../../../vcglib/wrap/io_trimesh/import_obj.h:229:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' const int inputMask = oi.mask; ^~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import_ply.h:31, from ../../../../vcglib/wrap/io_trimesh/import.h:68, from align/OccupancyGrid.cpp:36: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import_vmi.h:39, from ../../../../vcglib/wrap/io_trimesh/import.h:71, from align/OccupancyGrid.cpp:36: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ align/OccupancyGrid.cpp: In member function 'void vcg::OccupancyGrid::Compute()': align/OccupancyGrid.cpp:126:19: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if(vv.size()::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(ii=0;ii::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(jj=1;jj::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(i=0;i::size_type' {aka 'long unsigned int'} [-Wformat=] fprintf(fp,"Computed %i arcs for %i meshes\n",SVA.size(),mn); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ align/OccupancyGrid.cpp:241:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i=0;i::size_type' {aka 'long unsigned int'} [-Wformat=] fprintf(fp,"Computed %i Arcs :\n",SVA.size()); ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ align/OccupancyGrid.cpp:249:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] for(int i=0;i .1; ++i) ~^~~~~~~~~~~ align/OccupancyGrid.cpp: In member function 'void vcg::OccupancyGrid::ChooseArcs(std::vector >&, std::vector&, std::vector&, float)': align/OccupancyGrid.cpp:265:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] while(SVA[i].norm_area>normarea && i::size_type' {aka 'long unsigned int'} [-Wsign-compare] while(SVA[i].norm_area>normarea && i::Open(MESH_TYPE&, const char*, int&, bool (*)(int, const char*)) [with MESH_TYPE = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]': ../../../../vcglib/wrap/io_trimesh/import.h:129:40: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:110:14: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' align/OccupancyGrid.cpp:60:45: required from here ../../../../vcglib/wrap/io_trimesh/import_off.h:189:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] unsigned int nVertices, nFaces, nEdges; ^~~~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:67, from align/OccupancyGrid.cpp:36: ../../../../vcglib/wrap/io_trimesh/import_obj.h: In instantiation of 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, vcg::tri::io::ImporterOBJ::Info&) [with OpenMeshType = vcg::AlignPair::A2Mesh]': ../../../../vcglib/wrap/io_trimesh/import_obj.h:206:15: required from 'static int vcg::tri::io::ImporterOBJ::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:134:40: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:110:14: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' align/OccupancyGrid.cpp:60:45: required from here ../../../../vcglib/wrap/io_trimesh/import_obj.h:533:17: warning: variable 'fi' set but not used [-Wunused-but-set-variable] FaceIterator fi = vcg::tri::Allocator::AddFaces(m,numTriangles); ^~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:71, from align/OccupancyGrid.cpp:36: ../../../../vcglib/wrap/io_trimesh/import_vmi.h: In instantiation of 'static int vcg::tri::io::ImporterVMI::Deserialize(OpenMeshType&, int&) [with OpenMeshType = vcg::AlignPair::A2Mesh; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char]': ../../../../vcglib/wrap/io_trimesh/import_vmi.h:658:34: required from 'static int vcg::tri::io::ImporterVMI::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:139:46: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' ../../../../vcglib/wrap/io_trimesh/import.h:110:14: required from 'static int vcg::tri::io::Importer::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh; vcg::CallBackPos = bool(int, const char*)]' align/OccupancyGrid.cpp:60:45: required from here ../../../../vcglib/wrap/io_trimesh/import_vmi.h:714:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] size_t read = 0; ^~~~ In file included from ../../../../vcglib/wrap/io_trimesh/import.h:69, from align/OccupancyGrid.cpp:36: ../../../../vcglib/wrap/io_trimesh/import_stl.h: In static member function 'static int vcg::tri::io::ImporterSTL::Open(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh]': ../../../../vcglib/wrap/io_trimesh/import_stl.h:110:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&facenum, sizeof(int), 1, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:114:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(tmpbuf,sizeof(tmpbuf),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h: In static member function 'static int vcg::tri::io::ImporterSTL::OpenBinary(OpenMeshType&, const char*, bool (*)(int, const char*)) [with OpenMeshType = vcg::AlignPair::A2Mesh]': ../../../../vcglib/wrap/io_trimesh/import_stl.h:140:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&facenum, sizeof(int), 1, fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:151:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&norm,sizeof(Point3f),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:152:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&tri,sizeof(Point3f),3,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../vcglib/wrap/io_trimesh/import_stl.h:153:12: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&attr,sizeof(short),1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o align_parameter.o align/align_parameter.cpp In file included from ../../../../vcglib/vcg/space/index/space_iterators.h:56, from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:33, from ../../meshlabplugins/edit_align/align/AlignPair.h:34, from align/align_parameter.h:25, from align/align_parameter.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_util.h:70, from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:33, from ../../meshlabplugins/edit_align/align/AlignPair.h:34, from align/align_parameter.h:25, from align/align_parameter.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../meshlabplugins/edit_align/align/AlignPair.h:34, from align/align_parameter.h:25, from align/align_parameter.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../meshlabplugins/edit_align/align/AlignPair.h:34, from align/align_parameter.h:25, from align/align_parameter.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlabplugins/edit_align/align/AlignPair.h:35, from align/align_parameter.h:25, from align/align_parameter.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o stdpardialog.o ../../meshlab/stdpardialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ ../../meshlab/stdpardialog.cpp: In member function 'bool MeshlabStdDialog::isPreviewable()': ../../meshlab/stdpardialog.cpp:87:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] return ((curmask != MeshModel::MM_UNKNOWN) && (curmask != MeshModel::MM_NONE) && !(curmask & MeshModel::MM_VERTNUMBER) && !(curmask & MeshModel::MM_FACENUMBER)); ~~~~~~~~^~~~~~~~~~~~ ../../meshlab/stdpardialog.cpp: In member function 'void MeshlabStdDialog::closeClick()': ../../meshlab/stdpardialog.cpp:345:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if(curmask != MeshModel::MM_UNKNOWN) ~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../meshlab/../common/interfaces.h:28, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../meshlab/../common/interfaces.h:28, from ../../meshlab/stdpardialog.h:26, from ../../meshlab/stdpardialog.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ ../../meshlab/stdpardialog.cpp: In member function 'void ShotfWidget::getShot()': ../../meshlab/stdpardialog.cpp:776:44: warning: this statement may fall through [-Wimplicit-fallthrough=] QString type = doc.doctype().name(); ^ ../../meshlab/stdpardialog.cpp:788:5: note: here default : assert(0); ^~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o plylib.o ../../../../vcglib/wrap/ply/plylib.cpp ../../../../vcglib/wrap/ply/plylib.cpp: In function 'void vcg::ply::interpret_texture_name(const char*, const char*, char*)': ../../../../vcglib/wrap/ply/plylib.cpp:3666:14: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(output,"%s%s",output,fn2); ^~~~~~ ~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o trackball.o ../../../../vcglib/wrap/gui/trackball.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o trackmode.o ../../../../vcglib/wrap/gui/trackmode.cpp In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/wrap/gui/trackmode.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/wrap/gui/trackmode.cpp:28: ../../../../vcglib/wrap/gui/trackutils.h: In function 'bool vcg::trackutils::HitHyper(vcg::Point3f, float, vcg::Point3f, vcg::Plane3f, vcg::Point3f, vcg::Point3f&)': ../../../../vcglib/wrap/gui/trackutils.h:189:13: warning: variable 'x2' set but not used [-Wunused-but-set-variable] float x1, x2, xval, yval; ^~ ../../../../vcglib/wrap/gui/trackmode.cpp: In member function 'virtual bool vcg::NavigatorWasdMode::IsAnimating(const vcg::Trackball*)': ../../../../vcglib/wrap/gui/trackmode.cpp:751:87: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] const unsigned int MOVEMENT_KEY_MASK = (const unsigned int)(~Trackball::MODIFIER_MASK); ^ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. edit_align_factory.h -o moc_edit_align_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o moc_edit_align_factory.o moc_edit_align_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_align_factory.h:29, from moc_edit_align_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. edit_align.h -o moc_edit_align.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o moc_edit_align.o moc_edit_align.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from moc_edit_align.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_align.h:28, from moc_edit_align.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_align.h:28, from moc_edit_align.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_align.h:28, from moc_edit_align.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from moc_edit_align.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from moc_edit_align.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from moc_edit_align.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from moc_edit_align.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from moc_edit_align.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from moc_edit_align.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_align.h:28, from moc_edit_align.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_align.h:28, from moc_edit_align.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_align.h:28, from moc_edit_align.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. alignDialog.h -o moc_alignDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o moc_alignDialog.o moc_alignDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from alignDialog.h:31, from moc_alignDialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from meshtree.h:35, from alignDialog.h:31, from moc_alignDialog.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from meshtree.h:35, from alignDialog.h:31, from moc_alignDialog.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from meshtree.h:35, from alignDialog.h:31, from moc_alignDialog.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from alignDialog.h:31, from moc_alignDialog.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from alignDialog.h:31, from moc_alignDialog.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from alignDialog.h:31, from moc_alignDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from alignDialog.h:31, from moc_alignDialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from alignDialog.h:31, from moc_alignDialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from alignDialog.h:31, from moc_alignDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from meshtree.h:35, from alignDialog.h:31, from moc_alignDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from alignDialog.h:30, from moc_alignDialog.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from alignDialog.h:30, from moc_alignDialog.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. AlignPairDialog.h -o moc_AlignPairDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o moc_AlignPairDialog.o moc_AlignPairDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from AlignPairDialog.h:30, from moc_AlignPairDialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from AlignPairDialog.h:30, from moc_AlignPairDialog.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from AlignPairDialog.h:30, from moc_AlignPairDialog.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from AlignPairDialog.h:30, from moc_AlignPairDialog.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from AlignPairDialog.h:30, from moc_AlignPairDialog.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from AlignPairDialog.h:30, from moc_AlignPairDialog.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from AlignPairDialog.h:30, from moc_AlignPairDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from AlignPairDialog.h:30, from moc_AlignPairDialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from AlignPairDialog.h:30, from moc_AlignPairDialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from AlignPairDialog.h:30, from moc_AlignPairDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from AlignPairDialog.h:30, from moc_AlignPairDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from AlignPairDialog.h:26, from moc_AlignPairDialog.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from AlignPairDialog.h:26, from moc_AlignPairDialog.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. AlignPairWidget.h -o moc_AlignPairWidget.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o moc_AlignPairWidget.o moc_AlignPairWidget.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. ../../meshlab/stdpardialog.h -o moc_stdpardialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o moc_stdpardialog.o moc_stdpardialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../meshlab/../common/interfaces.h:28, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../meshlab/../common/interfaces.h:28, from ../../meshlab/stdpardialog.h:26, from moc_stdpardialog.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name edit_align edit_align.qrc -o qrc_edit_align.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I../../external -I/usr/X11R6/include -I. -I. -o qrc_edit_align.o qrc_edit_align.cpp rm -f libedit_align.so g++ -Wl,-z,relro -shared -o libedit_align.so edit_align_factory.o point_matching_scale.o edit_align.o meshtree.o alignDialog.o AlignPairWidget.o AlignPair.o AlignGlobal.o OccupancyGrid.o align_parameter.o stdpardialog.o plylib.o trackball.o trackmode.o moc_edit_align_factory.o moc_edit_align.o moc_alignDialog.o moc_AlignPairDialog.o moc_AlignPairWidget.o moc_stdpardialog.o qrc_edit_align.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libedit_align.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_align' cd meshlabplugins/edit_measure/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_measure' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o edit_measure_factory.o edit_measure_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_measure_factory.h:29, from edit_measure_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o edit_measure.o edit_measure.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_measure.cpp:29: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_measure.cpp:29: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_measure.cpp:29: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_measure.cpp:29: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_measure.cpp:29: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_measure.cpp:29: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_measure.cpp:29: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_measure.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_measure.cpp:29: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_measure.cpp:29: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_measure.cpp:29: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_measure.cpp:27: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_measure.cpp:27: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o rubberband.o ../../../../vcglib/wrap/gui/rubberband.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. edit_measure_factory.h -o moc_edit_measure_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_edit_measure_factory.o moc_edit_measure_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_measure_factory.h:29, from moc_edit_measure_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. edit_measure.h -o moc_edit_measure.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_edit_measure.o moc_edit_measure.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure.h:35, from moc_edit_measure.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_measure.h:35, from moc_edit_measure.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_measure.h:35, from moc_edit_measure.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_measure.h:35, from moc_edit_measure.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure.h:35, from moc_edit_measure.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure.h:35, from moc_edit_measure.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure.h:35, from moc_edit_measure.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure.h:35, from moc_edit_measure.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure.h:35, from moc_edit_measure.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure.h:35, from moc_edit_measure.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_measure.h:35, from moc_edit_measure.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_measure.h:35, from moc_edit_measure.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_measure.h:35, from moc_edit_measure.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name edit_measure edit_measure.qrc -o qrc_edit_measure.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o qrc_edit_measure.o qrc_edit_measure.cpp rm -f libedit_measure.so g++ -Wl,-z,relro -shared -o libedit_measure.so edit_measure_factory.o edit_measure.o rubberband.o moc_edit_measure_factory.o moc_edit_measure.o qrc_edit_measure.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libedit_measure.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_measure' cd meshlabplugins/edit_hole/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_hole' /usr/lib/aarch64-linux-gnu/qt4/bin/uic edit_hole.ui -o ui_edit_hole.h g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o edit_hole_factory.o edit_hole_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_hole_factory.h:29, from edit_hole_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o edit_hole.o edit_hole.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_hole.cpp:28: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_hole.cpp:28: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_hole.cpp:28: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_hole.cpp:28: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_hole.cpp:28: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_hole.cpp:28: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_hole.cpp:28: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_hole.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_hole.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_hole.cpp:28: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_hole.cpp:28: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from edit_hole.cpp:29: edit_hole.h: In constructor 'EditHolePlugin::EditHolePlugin()': edit_hole.h:78:17: warning: 'EditHolePlugin::dialogFiller' will be initialized after [-Wreorder] FillerDialog *dialogFiller; ^~~~~~~~~~~~ edit_hole.h:74:20: warning: 'HoleSorterFilter* EditHolePlugin::holeSorter' [-Wreorder] HoleSorterFilter *holeSorter; ^~~~~~~~~~ edit_hole.cpp:37:1: warning: when initialized here [-Wreorder] EditHolePlugin::EditHolePlugin() ^~~~~~~~~~~~~~ In file included from edit_hole.cpp:29: edit_hole.h:83:10: warning: 'EditHolePlugin::pickedFace' will be initialized after [-Wreorder] CFaceO* pickedFace; ^~~~~~~~~~ edit_hole.h:81:7: warning: 'bool EditHolePlugin::hasPick' [-Wreorder] bool hasPick; ^~~~~~~ edit_hole.cpp:37:1: warning: when initialized here [-Wreorder] EditHolePlugin::EditHolePlugin() ^~~~~~~~~~~~~~ edit_hole.cpp: In member function 'virtual void EditHolePlugin::EndEdit(MeshModel&, GLArea*)': edit_hole.cpp:213:57: warning: parameter 'gla' set but not used [-Wunused-but-set-parameter] void EditHolePlugin::EndEdit(MeshModel &/*m*/, GLArea *gla ){ ~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_hole.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_hole.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o fillerDialog.o fillerDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o holeListModel.o holeListModel.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from holeListModel.h:29, from holeListModel.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from holeListModel.h:29, from holeListModel.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from holeListModel.h:29, from holeListModel.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from holeListModel.h:29, from holeListModel.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from holeListModel.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from holeListModel.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from holeListModel.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from holeListModel.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from holeListModel.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from holeListModel.h:29, from holeListModel.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from holeListModel.h:29, from holeListModel.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from fgtHole.h:39, from holeListModel.h:30, from holeListModel.cpp:24: holeSetManager.h: In instantiation of 'void HoleSetManager::ConfirmFilling(bool) [with MESH = CMeshO]': holeListModel.cpp:205:36: required from here holeSetManager.h:200:6: warning: deleting object of abstract class type 'FgtBridgeBase' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete *bit; ^~~~~~ holeSetManager.h: In instantiation of 'void HoleSetManager::ConfirmBridges() [with MESH = CMeshO]': holeListModel.cpp:246:30: required from here holeSetManager.h:229:4: warning: deleting object of abstract class type 'FgtBridgeBase' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete *bit; ^~~~~~ holeSetManager.h: In instantiation of 'void HoleSetManager::removeBridges() [with MESH = CMeshO]': holeSetManager.h:243:3: required from 'void HoleSetManager::DiscardBridges() [with MESH = CMeshO]' holeListModel.cpp:225:30: required from here holeSetManager.h:461:4: warning: deleting object of abstract class type 'FgtBridgeBase' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete *bit; ^~~~~~ holeListModel.cpp: In member function 'virtual QVariant HoleListModel::headerData(int, Qt::Orientation, int) const': holeListModel.cpp:335:4: warning: this statement may fall through [-Wimplicit-fallthrough=] if(state == HoleListModel::Filled) ^~ holeListModel.cpp:337:3: note: here case 6: ^~~~ In file included from holeSetManager.h:28, from fgtHole.h:39, from holeListModel.h:30, from holeListModel.cpp:24: fgtBridge.h: In static member function 'static bool FgtBridge::AutoSelfBridging(HoleSetManager*, double, std::vector*) [with MESH = CMeshO]': fgtBridge.h:462:28: warning: 'bestOpt' may be used uninitialized in this function [-Wmaybe-uninitialized] subdivideHoleWithBridge(sideA, sideB, bestOpt, holesManager, tmpFaceRef); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fgtBridge.h:441:23: warning: 'timer' may be used uninitialized in this function [-Wmaybe-uninitialized] if(int(clock()) - timer > holesManager->autoBridgeCB->GetOffset()) ~~~~~~~~~~~~~^~~~~~~ fgtBridge.h: In static member function 'static void FgtBridge::AutoMultiBridging(HoleSetManager*, std::vector*) [with MESH = CMeshO]': fgtBridge.h:575:25: warning: 'bestOpt' may be used uninitialized in this function [-Wmaybe-uninitialized] unifyHolesWithBridge(sideA, sideB, bestOpt, holesManager, tmpFaceRef); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fgtBridge.h:546:25: warning: 'timer' may be used uninitialized in this function [-Wmaybe-uninitialized] if(int(clock()) - timer > holesManager->autoBridgeCB->GetOffset()) ~~~~~~~~~~~~~^~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. edit_hole_factory.h -o moc_edit_hole_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_edit_hole_factory.o moc_edit_hole_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_hole_factory.h:29, from moc_edit_hole_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. edit_hole.h -o moc_edit_hole.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_edit_hole.o moc_edit_hole.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from holeListModel.h:29, from edit_hole.h:29, from moc_edit_hole.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from holeListModel.h:29, from edit_hole.h:29, from moc_edit_hole.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from holeListModel.h:29, from edit_hole.h:29, from moc_edit_hole.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from holeListModel.h:29, from edit_hole.h:29, from moc_edit_hole.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from edit_hole.h:29, from moc_edit_hole.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from edit_hole.h:29, from moc_edit_hole.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from edit_hole.h:29, from moc_edit_hole.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from edit_hole.h:29, from moc_edit_hole.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from edit_hole.h:29, from moc_edit_hole.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from holeListModel.h:29, from edit_hole.h:29, from moc_edit_hole.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from holeListModel.h:29, from edit_hole.h:29, from moc_edit_hole.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/QWidget:1, from fillerDialog.h:26, from edit_hole.h:28, from moc_edit_hole.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/QWidget:1, from fillerDialog.h:26, from edit_hole.h:28, from moc_edit_hole.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. fillerDialog.h -o moc_fillerDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_fillerDialog.o moc_fillerDialog.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. holeListModel.h -o moc_holeListModel.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_holeListModel.o moc_holeListModel.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from holeListModel.h:29, from moc_holeListModel.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from holeListModel.h:29, from moc_holeListModel.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from holeListModel.h:29, from moc_holeListModel.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from holeListModel.h:29, from moc_holeListModel.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from moc_holeListModel.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from moc_holeListModel.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from moc_holeListModel.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from moc_holeListModel.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from holeListModel.h:29, from moc_holeListModel.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from holeListModel.h:29, from moc_holeListModel.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from holeListModel.h:29, from moc_holeListModel.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name edit_hole edit_hole.qrc -o qrc_edit_hole.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o qrc_edit_hole.o qrc_edit_hole.cpp rm -f libedit_hole.so g++ -Wl,-z,relro -shared -o libedit_hole.so edit_hole_factory.o edit_hole.o fillerDialog.o holeListModel.o moc_edit_hole_factory.o moc_edit_hole.o moc_fillerDialog.o moc_holeListModel.o qrc_edit_hole.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libedit_hole.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_hole' cd meshlabplugins/edit_paint/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_paint' /usr/lib/aarch64-linux-gnu/qt4/bin/uic paintbox.ui -o ui_paintbox.h g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o edit_paint_factory.o edit_paint_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_paint_factory.h:29, from edit_paint_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o paintbox.o paintbox.cpp paintbox.cpp: In member function 'void Paintbox::setUndoStack(QWidget*)': paintbox.cpp:81:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ paintbox.cpp:83:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' stacks->setActiveStack(stack_association[parent]); ^~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o edit_paint.o edit_paint.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from edit_paint.cpp:23: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ edit_paint.cpp: In member function 'virtual void EditPaintPlugin::EndEdit(MeshModel&, GLArea*)': edit_paint.cpp:104:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (zbuffer != NULL) delete zbuffer; zbuffer = NULL; ^~ edit_paint.cpp:104:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (zbuffer != NULL) delete zbuffer; zbuffer = NULL; ^~~~~~~ edit_paint.cpp: In member function 'virtual void EditPaintPlugin::mousePressEvent(QMouseEvent*, MeshModel&, GLArea*)': edit_paint.cpp:113:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (zbuffer != NULL) delete zbuffer; zbuffer = NULL; ^~ edit_paint.cpp:113:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (zbuffer != NULL) delete zbuffer; zbuffer = NULL; ^~~~~~~ edit_paint.cpp: In member function 'virtual void EditPaintPlugin::tabletEvent(QTabletEvent*, MeshModel&, GLArea*)': edit_paint.cpp:145:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (zbuffer != NULL) delete zbuffer; zbuffer = NULL; ^~ edit_paint.cpp:145:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (zbuffer != NULL) delete zbuffer; zbuffer = NULL; ^~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from edit_paint.h:29, from edit_paint.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from edit_paint.h:29, from edit_paint.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ edit_paint.cpp: In member function 'virtual void EditPaintPlugin::Decorate(MeshModel&, GLArea*)': edit_paint.cpp:447:32: warning: this statement may fall through [-Wimplicit-fallthrough=] paintbox->movePixmapDelta(-latest_event.position.x() + apply_start.x(), -latest_event.position.y() + apply_start.y()); ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit_paint.cpp:448:5: note: here case COLOR_SMOOTH : ^~~~ In file included from ../../../../vcglib/vcg/space/point3.h:25, from ../../../../vcglib/vcg/space/plane3.h:27, from ../../meshlab/glarea.h:31, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/space/deprecated_point3.h: In member function 'void EditPaintPlugin::smooth(std::vector >*)': ../../../../vcglib/vcg/space/deprecated_point3.h:138:14: warning: '.vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:139:14: warning: '.vcg::Point3::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[1]= p._v[1]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:140:14: warning: '.vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[2]= p._v[2]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:138:14: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h: In member function 'void EditPaintPlugin::sculpt(MeshModel&, std::vector >*)': ../../../../vcglib/vcg/space/deprecated_point3.h:140:14: warning: '.vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[2]= p._v[2]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:138:14: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:140:14: warning: '.vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[2]= p._v[2]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:138:14: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:140:14: warning: '.vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[2]= p._v[2]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:138:14: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:138:14: warning: '.vcg::Point3::_v[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:139:14: warning: '.vcg::Point3::_v[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[1]= p._v[1]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point3.h:140:14: warning: '.vcg::Point3::_v[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[2]= p._v[2]; ~~~~^ In file included from ../../../../vcglib/vcg/space/point4.h:25, from ../../../../vcglib/vcg/math/deprecated_matrix44.h:108, from ../../../../vcglib/vcg/math/matrix44.h:25, from ../../meshlab/glarea.h:33, from edit_paint.h:32, from edit_paint.cpp:23: ../../../../vcglib/vcg/space/deprecated_point4.h: In member function 'void EditPaintPlugin::paint(std::vector >*)': ../../../../vcglib/vcg/space/deprecated_point4.h:102:14: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; _v[1]= p._v[1]; _v[2]= p._v[2]; _v[3]= p._v[3]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point4.h:102:14: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; _v[1]= p._v[1]; _v[2]= p._v[2]; _v[3]= p._v[3]; ~~~~^ ../../../../vcglib/vcg/space/deprecated_point4.h:102:14: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] _v[0]= p._v[0]; _v[1]= p._v[1]; _v[2]= p._v[2]; _v[3]= p._v[3]; ~~~~^ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. edit_paint_factory.h -o moc_edit_paint_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_edit_paint_factory.o moc_edit_paint_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_paint_factory.h:29, from moc_edit_paint_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. cloneview.h -o moc_cloneview.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_cloneview.o moc_cloneview.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. colorframe.h -o moc_colorframe.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_colorframe.o moc_colorframe.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. paintbox.h -o moc_paintbox.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_paintbox.o moc_paintbox.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. edit_paint.h -o moc_edit_paint.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_edit_paint.o moc_edit_paint.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from moc_edit_paint.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from moc_edit_paint.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from moc_edit_paint.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from moc_edit_paint.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from moc_edit_paint.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from moc_edit_paint.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from moc_edit_paint.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from moc_edit_paint.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from moc_edit_paint.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from moc_edit_paint.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_paint.h:32, from moc_edit_paint.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from edit_paint.h:29, from moc_edit_paint.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from edit_paint.h:29, from moc_edit_paint.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name edit_paint edit_paint.qrc -o qrc_edit_paint.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o qrc_edit_paint.o qrc_edit_paint.cpp rm -f libedit_paint.so g++ -Wl,-z,relro -shared -o libedit_paint.so edit_paint_factory.o paintbox.o edit_paint.o moc_edit_paint_factory.o moc_cloneview.o moc_colorframe.o moc_paintbox.o moc_edit_paint.o qrc_edit_paint.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libedit_paint.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_paint' cd meshlabplugins/edit_point/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_point' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o edit_point.o edit_point.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_point.cpp:28: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_point.cpp:28: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_point.cpp:28: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_point.cpp:28: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_point.cpp:28: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_point.cpp:28: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_point.cpp:28: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_point.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_point.cpp:28: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_point.cpp:28: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_point.cpp:28: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from edit_point.cpp:34: ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Tetrahedron(TetraMeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:50:24: warning: typedef 'MeshType' locally defined but not used [-Wunused-local-typedefs] typedef TetraMeshType MeshType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Hexahedron(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:278:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Square(MeshType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:327:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Sphere(MeshType&, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:363:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:364:39: warning: typedef 'CoordType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::CoordType CoordType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:365:44: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:367:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Cone(MeshType&, typename MeshType::ScalarType, typename MeshType::ScalarType, typename MeshType::ScalarType, int)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:398:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Box(MeshType&, const typename MeshType::BoxType&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:487:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Build(MeshType&, const V&, const F&)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:540:40: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:544:44: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)': ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:594:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexPointer VertexPointer; ^~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:595:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::VertexIterator VertexIterator; ^~~~~~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/create/platonic.h:596:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceIterator FaceIterator; ^~~~~~~~~~~~ edit_point.cpp: In member function 'virtual void EditPointPlugin::Decorate(MeshModel&, GLArea*, QPainter*)': edit_point.cpp:51:70: warning: unused parameter 'p' [-Wunused-parameter] void EditPointPlugin::Decorate(MeshModel &m, GLArea * gla, QPainter *p) ~~~~~~~~~~^ edit_point.cpp: In member function 'virtual void EditPointPlugin::EndEdit(MeshModel&, GLArea*)': edit_point.cpp:197:53: warning: unused parameter 'gla' [-Wunused-parameter] void EditPointPlugin::EndEdit(MeshModel &m, GLArea *gla) { ~~~~~~~~^~~ edit_point.cpp: In member function 'virtual void EditPointPlugin::mousePressEvent(QMouseEvent*, MeshModel&, GLArea*)': edit_point.cpp:204:78: warning: unused parameter 'gla' [-Wunused-parameter] void EditPointPlugin::mousePressEvent(QMouseEvent *ev, MeshModel &m, GLArea *gla) { ~~~~~~~~^~~ edit_point.cpp: In member function 'virtual void EditPointPlugin::mouseReleaseEvent(QMouseEvent*, MeshModel&, GLArea*)': edit_point.cpp:259:54: warning: unused parameter 'ev' [-Wunused-parameter] void EditPointPlugin::mouseReleaseEvent(QMouseEvent *ev, MeshModel &m, GLArea *gla) { ~~~~~~~~~~~~~^~ edit_point.cpp:259:69: warning: unused parameter 'm' [-Wunused-parameter] void EditPointPlugin::mouseReleaseEvent(QMouseEvent *ev, MeshModel &m, GLArea *gla) { ~~~~~~~~~~~^ edit_point.cpp: In member function 'virtual void EditPointPlugin::wheelEvent(QWheelEvent*, MeshModel&, GLArea*)': edit_point.cpp:356:8: warning: variable 'distModified' set but not used [-Wunused-but-set-variable] bool distModified = false; ^~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_point.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_point.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o edit_point_factory.o edit_point_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from edit_point_factory.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from edit_point_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from edit_point_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from edit_point_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from edit_point_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from edit_point_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from edit_point_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from edit_point_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from edit_point_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from edit_point_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from edit_point_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_point_factory.h:29, from edit_point_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_point_factory.h:29, from edit_point_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. edit_point.h -o moc_edit_point.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_edit_point.o moc_edit_point.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point.h:28, from moc_edit_point.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_point.h:28, from moc_edit_point.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_point.h:28, from moc_edit_point.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_point.h:28, from moc_edit_point.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point.h:28, from moc_edit_point.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point.h:28, from moc_edit_point.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point.h:28, from moc_edit_point.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point.h:28, from moc_edit_point.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point.h:28, from moc_edit_point.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point.h:28, from moc_edit_point.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point.h:28, from moc_edit_point.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_point.h:28, from moc_edit_point.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_point.h:28, from moc_edit_point.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. edit_point_factory.h -o moc_edit_point_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_edit_point_factory.o moc_edit_point_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_point_factory.h:29, from moc_edit_point_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name edit_point edit_point.qrc -o qrc_edit_point.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o qrc_edit_point.o qrc_edit_point.cpp rm -f libedit_point.so g++ -Wl,-z,relro -shared -o libedit_point.so edit_point.o edit_point_factory.o moc_edit_point.o moc_edit_point_factory.o qrc_edit_point.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libedit_point.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_point' cd meshlabplugins/edit_quality/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_quality' /usr/lib/aarch64-linux-gnu/qt4/bin/uic qualitymapperdialog.ui -o ui_qualitymapperdialog.h g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o edit_quality_factory.o edit_quality_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from edit_quality_factory.cpp:25: qualitymapper.h: In member function 'virtual void QualityMapperPlugin::mouseReleaseEvent(QMouseEvent*, MeshModel&, GLArea*)': qualitymapper.h:59:49: warning: unused parameter 'event' [-Wunused-parameter] virtual void mouseReleaseEvent(QMouseEvent *event, MeshModel&, GLArea*){}; ~~~~~~~~~~~~~^~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_quality_factory.h:29, from edit_quality_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o qualitymapper.o qualitymapper.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from qualitymapper.cpp:32: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from qualitymapper.cpp:32: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from qualitymapper.cpp:32: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from qualitymapper.cpp:32: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from qualitymapper.cpp:32: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from qualitymapper.cpp:32: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from qualitymapper.cpp:32: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from qualitymapper.cpp:32: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from qualitymapper.cpp:32: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from qualitymapper.cpp:32: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from qualitymapper.cpp:32: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from qualitymapper.cpp:33: qualitymapper.h: In member function 'virtual void QualityMapperPlugin::mouseReleaseEvent(QMouseEvent*, MeshModel&, GLArea*)': qualitymapper.h:59:49: warning: unused parameter 'event' [-Wunused-parameter] virtual void mouseReleaseEvent(QMouseEvent *event, MeshModel&, GLArea*){}; ~~~~~~~~~~~~~^~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from qualitymapper.cpp:30: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from qualitymapper.cpp:30: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o qualitymapperdialog.o qualitymapperdialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from qualitymapperdialog.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from qualitymapperdialog.h:35, from qualitymapperdialog.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from qualitymapperdialog.h:35, from qualitymapperdialog.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from qualitymapperdialog.h:35, from qualitymapperdialog.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from qualitymapperdialog.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from qualitymapperdialog.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from qualitymapperdialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from qualitymapperdialog.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from qualitymapperdialog.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from qualitymapperdialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from qualitymapperdialog.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ qualitymapperdialog.cpp: In member function 'void QualityMapperDialog::on_EqHandle_crossing_histogram(EqHandle*, bool)': qualitymapperdialog.cpp:1189:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (sender = _equalizerHandles[LEFT_HANDLE]) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from qualitymapperdialog.h:33, from qualitymapperdialog.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from qualitymapperdialog.h:33, from qualitymapperdialog.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o transferfunction.o common/transferfunction.cpp common/transferfunction.cpp: In member function 'float TfChannel::getChannelValuef(float)': common/transferfunction.cpp:162:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ( (*it)->x >= xVal ) ^ common/transferfunction.cpp: In member function 'vcg::Color4b TransferFunction::getColorByQuality(float, float, float, float, float)': common/transferfunction.cpp:530:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (brightness!=1.0f) //Applying brightness to each color channel, 0::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from common/meshmethods.h:30, from common/meshmethods.cpp:30: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from common/meshmethods.h:30, from common/meshmethods.cpp:30: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from common/meshmethods.h:30, from common/meshmethods.cpp:30: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from common/meshmethods.h:30, from common/meshmethods.cpp:30: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from common/meshmethods.h:30, from common/meshmethods.cpp:30: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from common/meshmethods.h:30, from common/meshmethods.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from common/meshmethods.h:30, from common/meshmethods.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from common/meshmethods.h:30, from common/meshmethods.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from common/meshmethods.h:30, from common/meshmethods.cpp:30: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o handle.o handle.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o eqhandle.o eqhandle.cpp eqhandle.cpp: In member function 'virtual void EqHandle::mouseMoveEvent(QGraphicsSceneMouseEvent*)': eqhandle.cpp:88:10: warning: enumeration value 'NUMBER_OF_EQHANDLES' not handled in switch [-Wswitch] switch (_type) ^ eqhandle.cpp: In member function 'void EqHandle::setXBySpinBoxValueChanged(double)': eqhandle.cpp:197:9: warning: enumeration value 'NUMBER_OF_EQHANDLES' not handled in switch [-Wswitch] switch (_type) ^ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o tfhandle.o tfhandle.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. edit_quality_factory.h -o moc_edit_quality_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_edit_quality_factory.o moc_edit_quality_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_quality_factory.h:29, from moc_edit_quality_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. qualitymapper.h -o moc_qualitymapper.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_qualitymapper.o moc_qualitymapper.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from qualitymapper.h:37, from moc_qualitymapper.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from qualitymapper.h:37, from moc_qualitymapper.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from qualitymapper.h:37, from moc_qualitymapper.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from qualitymapper.h:37, from moc_qualitymapper.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from qualitymapper.h:37, from moc_qualitymapper.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from qualitymapper.h:37, from moc_qualitymapper.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from qualitymapper.h:37, from moc_qualitymapper.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from qualitymapper.h:37, from moc_qualitymapper.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from qualitymapper.h:37, from moc_qualitymapper.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from qualitymapper.h:37, from moc_qualitymapper.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from qualitymapper.h:37, from moc_qualitymapper.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from moc_qualitymapper.cpp:9: qualitymapper.h: In member function 'virtual void QualityMapperPlugin::mouseReleaseEvent(QMouseEvent*, MeshModel&, GLArea*)': qualitymapper.h:59:49: warning: unused parameter 'event' [-Wunused-parameter] virtual void mouseReleaseEvent(QMouseEvent *event, MeshModel&, GLArea*){}; ~~~~~~~~~~~~~^~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from qualitymapper.h:34, from moc_qualitymapper.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qaction.h:47, from /usr/include/qt4/QtGui/QAction:1, from qualitymapper.h:34, from moc_qualitymapper.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. qualitymapperdialog.h -o moc_qualitymapperdialog.cpp qualitymapperdialog.h:107: Warning: Class TFDoubleClickCatcher implements the interface QGraphicsItem but does not list it in Q_INTERFACES. qobject_cast to QGraphicsItem will not work! g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_qualitymapperdialog.o moc_qualitymapperdialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from moc_qualitymapperdialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from qualitymapperdialog.h:35, from moc_qualitymapperdialog.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from qualitymapperdialog.h:35, from moc_qualitymapperdialog.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from qualitymapperdialog.h:35, from moc_qualitymapperdialog.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from moc_qualitymapperdialog.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from moc_qualitymapperdialog.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from moc_qualitymapperdialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from moc_qualitymapperdialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from moc_qualitymapperdialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from moc_qualitymapperdialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from qualitymapperdialog.h:35, from moc_qualitymapperdialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from qualitymapperdialog.h:33, from moc_qualitymapperdialog.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qdockwidget.h:45, from /usr/include/qt4/QtGui/QDockWidget:1, from qualitymapperdialog.h:33, from moc_qualitymapperdialog.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. handle.h -o moc_handle.cpp handle.h:73: Warning: Class Handle implements the interface QGraphicsItem but does not list it in Q_INTERFACES. qobject_cast to QGraphicsItem will not work! g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_handle.o moc_handle.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. eqhandle.h -o moc_eqhandle.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_eqhandle.o moc_eqhandle.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. tfhandle.h -o moc_tfhandle.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_tfhandle.o moc_tfhandle.cpp /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name qualitymapper qualitymapper.qrc -o qrc_qualitymapper.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o qrc_qualitymapper.o qrc_qualitymapper.cpp rm -f libedit_quality.so g++ -Wl,-z,relro -shared -o libedit_quality.so edit_quality_factory.o qualitymapper.o qualitymapperdialog.o transferfunction.o util.o meshmethods.o handle.o eqhandle.o tfhandle.o moc_edit_quality_factory.o moc_qualitymapper.o moc_qualitymapperdialog.o moc_handle.o moc_eqhandle.o moc_tfhandle.o qrc_qualitymapper.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libedit_quality.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_quality' cd meshlabplugins/edit_texture/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_texture' /usr/lib/aarch64-linux-gnu/qt4/bin/uic textureeditor.ui -o ui_textureeditor.h g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o edit_texture_factory.o edit_texture_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from textureeditor.h:33, from edittexture.h:28, from edit_texture_factory.cpp:25: ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In member function 'vcg::tri::AreaPreservingTextureOptimizer::ScalarType vcg::tri::AreaPreservingTextureOptimizer::Iterate()': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:24: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( n*speed<=0.1 ); { ^~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'bool vcg::tri::IsFoldFree(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:358:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'int vcg::tri::MarkFolds(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:380:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_texture_factory.h:29, from edit_texture_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o edittexture.o edittexture.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edittexture.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edittexture.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edittexture.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from textureeditor.h:33, from edittexture.h:28, from edittexture.cpp:26: ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In member function 'vcg::tri::AreaPreservingTextureOptimizer::ScalarType vcg::tri::AreaPreservingTextureOptimizer::Iterate()': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:24: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( n*speed<=0.1 ); { ^~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'bool vcg::tri::IsFoldFree(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:358:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'int vcg::tri::MarkFolds(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:380:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edittexture.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edittexture.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ edittexture.cpp: In member function 'virtual void EditTexturePlugin::Decorate(MeshModel&, GLArea*)': edittexture.cpp:178:36: warning: this statement may fall through [-Wimplicit-fallthrough=] for(fpi = FaceSel.begin(); fpi != FaceSel.end(); ++fpi) ~~~~^~~~~~~~~~~~~~~~ edittexture.cpp:180:4: note: here case SMClear: ^~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o textureeditor.o textureeditor.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from textureeditor.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from textureeditor.cpp:25: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from textureeditor.cpp:25: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from textureeditor.cpp:25: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from textureeditor.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from textureeditor.cpp:25: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from textureeditor.cpp:25: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from textureeditor.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from textureeditor.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from textureeditor.cpp:25: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from textureeditor.cpp:25: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from textureeditor.h:33, from textureeditor.cpp:25: ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In member function 'vcg::tri::AreaPreservingTextureOptimizer::ScalarType vcg::tri::AreaPreservingTextureOptimizer::Iterate()': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:24: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( n*speed<=0.1 ); { ^~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'bool vcg::tri::IsFoldFree(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:358:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'int vcg::tri::MarkFolds(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:380:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ textureeditor.cpp: In member function 'void TextureEditor::on_browseButton_clicked()': textureeditor.cpp:207:37: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (model->cm.textures.capacity() <= i) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ textureeditor.cpp:206:16: warning: unused variable 'cap' [-Wunused-variable] unsigned int cap = model->cm.textures.capacity(); ^~~ In file included from textureeditor.cpp:25: textureeditor.h: In instantiation of 'void TextureEditor::SmoothTextureWEdgeCoords(MESH_TYPE&, bool) [with MESH_TYPE = CMeshO]': textureeditor.cpp:106:71: required from here textureeditor.h:94:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for (int i = 0; i < m.face.size(); i++) textureeditor.h:112:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] while (index < Q.size()) ~~~~~~^~~~~~~~~~ textureeditor.h:130:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] while (index < Q.size()) ~~~~~~^~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qtabbar.h:45, from /usr/include/qt4/QtGui/QTabBar:1, from textureeditor.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/qtabbar.h:45, from /usr/include/qt4/QtGui/QTabBar:1, from textureeditor.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o renderarea.o renderarea.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from renderarea.h:30, from renderarea.cpp:26: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from renderarea.h:30, from renderarea.cpp:26: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from renderarea.h:30, from renderarea.cpp:26: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from renderarea.h:30, from renderarea.cpp:26: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from renderarea.h:30, from renderarea.cpp:26: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from renderarea.h:30, from renderarea.cpp:26: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from renderarea.h:30, from renderarea.cpp:26: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from renderarea.h:30, from renderarea.cpp:26: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from renderarea.h:30, from renderarea.cpp:26: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from renderarea.h:30, from renderarea.cpp:26: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from renderarea.h:30, from renderarea.cpp:26: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from textureeditor.h:33, from renderarea.cpp:27: ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In member function 'vcg::tri::AreaPreservingTextureOptimizer::ScalarType vcg::tri::AreaPreservingTextureOptimizer::Iterate()': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:24: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( n*speed<=0.1 ); { ^~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'bool vcg::tri::IsFoldFree(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:358:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'int vcg::tri::MarkFolds(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:380:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ renderarea.cpp: In member function 'virtual void RenderArea::paintEvent(QPaintEvent*)': renderarea.cpp:192:36: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (model->cm.face[i].WT(0).n() == textNum) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::drawEditRectangle(QPainter*)': renderarea.cpp:398:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if (l == highlighted) painter->setBrush(QBrush(Qt::yellow)); ~~^~~~~~~~~~~~~~ renderarea.cpp: In member function 'virtual void RenderArea::mousePressEvent(QMouseEvent*)': renderarea.cpp:469:9: warning: enumeration value 'NoMode' not handled in switch [-Wswitch] switch(mode) ^ renderarea.cpp: In member function 'void RenderArea::handlePressEdit(QMouseEvent*)': renderarea.cpp:519:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] if (highlighted > NOSEL && highlighted < selRect.size()) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ renderarea.cpp: In member function 'virtual void RenderArea::mouseReleaseEvent(QMouseEvent*)': renderarea.cpp:543:8: warning: enumeration value 'NoMode' not handled in switch [-Wswitch] switch(mode) ^ renderarea.cpp: In member function 'void RenderArea::handleReleaseView(QMouseEvent*)': renderarea.cpp:566:49: warning: unused parameter 'e' [-Wunused-parameter] void RenderArea::handleReleaseView(QMouseEvent *e) ~~~~~~~~~~~~~^ renderarea.cpp: In member function 'void RenderArea::handleReleaseEdit(QMouseEvent*)': renderarea.cpp:610:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] else if (pressed > NOSEL && pressed < selRect.size()) ~~~~~~~~^~~~~~~~~~~~~~~~ renderarea.cpp:582:49: warning: unused parameter 'e' [-Wunused-parameter] void RenderArea::handleReleaseEdit(QMouseEvent *e) ~~~~~~~~~~~~~^ renderarea.cpp: In member function 'virtual void RenderArea::mouseMoveEvent(QMouseEvent*)': renderarea.cpp:718:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if (highlighted != y) this->update(selRect[y]); ~~~~~~~~~~~~^~~~ renderarea.cpp:732:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] else if (highlighted < selRect.size()) this->update(selRect[highlighted]); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ renderarea.cpp:739:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] else if (highlighted < selRect.size()) this->update(selRect[highlighted]); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::handleMoveEdit(QMouseEvent*)': renderarea.cpp:784:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] else if (pressed > NOSEL && pressed < selRect.size()) ~~~~~~~~^~~~~~~~~~~~~~~~ renderarea.cpp: In member function 'virtual void RenderArea::mouseDoubleClickEvent(QMouseEvent*)': renderarea.cpp:813:8: warning: enumeration value 'EditVert' not handled in switch [-Wswitch] switch(mode) ^ renderarea.cpp:813:8: warning: enumeration value 'Select' not handled in switch [-Wswitch] renderarea.cpp:813:8: warning: enumeration value 'UnifyVert' not handled in switch [-Wswitch] renderarea.cpp:813:8: warning: enumeration value 'NoMode' not handled in switch [-Wswitch] renderarea.cpp: In member function 'void RenderArea::RemapClamp()': renderarea.cpp:872:35: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (model->cm.face[i].WT(0).n() == textNum && !model->cm.face[i].IsD()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::RemapMod()': renderarea.cpp:897:35: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (model->cm.face[i].WT(0).n() == textNum && !model->cm.face[i].IsD()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::RotateComponent(float)': renderarea.cpp:1085:37: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (model->cm.face[i].WT(0).n() == textNum && !model->cm.face[i].IsD() && (!selected || (selected && model->cm.face[i].IsUserBit(selBit)))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::ScaleComponent(float, float)': renderarea.cpp:1124:35: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (model->cm.face[i].WT(0).n() == textNum && selected && model->cm.face[i].IsUserBit(selBit) && !model->cm.face[i].IsD()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::UpdateUV()': renderarea.cpp:1142:35: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (model->cm.face[i].WT(0).n() == textNum && model->cm.face[i].IsUserBit(selBit) && !model->cm.face[i].IsD()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::SelectFaces()': renderarea.cpp:1200:23: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if ((*fi).WT(0).n() == textNum && !(*fi).IsD()) ~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::SelectVertexes()': renderarea.cpp:1231:23: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if ((*fi).WT(0).n() == textNum && !(*fi).IsD()) ~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::CheckVertex()': renderarea.cpp:1261:23: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if ((*fi).WT(0).n() == textNum && !(*fi).IsD()) ~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::SelectConnectedComponent(QPoint)': renderarea.cpp:1343:35: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (model->cm.face[i].WT(0).n() == textNum) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::InvertSelection()': renderarea.cpp:1400:36: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (model->cm.face[i].WT(0).n() == textNum) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::Flip(bool)': renderarea.cpp:1432:36: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if (model->cm.face[i].WT(0).n() == textNum) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'std::vector RenderArea::FindPath(CVertexO*, CVertexO*, CFaceO*, int)': renderarea.cpp:1647:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] if (oldsize == Q.size() && !excluded) ~~~~~~~~^~~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::UpdateVertexSelection()': renderarea.cpp:1825:23: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if ((*fi).WT(0).n() == textNum && !(*fi).IsD()) ~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'void RenderArea::CountVertexes()': renderarea.cpp:1945:23: warning: comparison of integer expressions of different signedness: 'short int' and 'unsigned int' [-Wsign-compare] if ((*fi).WT(0).n() == textNum) ~~~~~~~~~~~~~~~~^~~~~~~~~~ renderarea.cpp: In member function 'bool RenderArea::isInside(CFaceO*)': renderarea.cpp:1985:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] for (int h = 0; h < banList.size(); h++) ~~^~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from renderarea.cpp:25: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from renderarea.cpp:25: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o trackball.o ../../../../vcglib/wrap/gui/trackball.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o trackmode.o ../../../../vcglib/wrap/gui/trackmode.cpp In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/wrap/gui/trackmode.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/wrap/gui/trackmode.cpp:28: ../../../../vcglib/wrap/gui/trackutils.h: In function 'bool vcg::trackutils::HitHyper(vcg::Point3f, float, vcg::Point3f, vcg::Plane3f, vcg::Point3f, vcg::Point3f&)': ../../../../vcglib/wrap/gui/trackutils.h:189:13: warning: variable 'x2' set but not used [-Wunused-but-set-variable] float x1, x2, xval, yval; ^~ ../../../../vcglib/wrap/gui/trackmode.cpp: In member function 'virtual bool vcg::NavigatorWasdMode::IsAnimating(const vcg::Trackball*)': ../../../../vcglib/wrap/gui/trackmode.cpp:751:87: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] const unsigned int MOVEMENT_KEY_MASK = (const unsigned int)(~Trackball::MODIFIER_MASK); ^ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. edit_texture_factory.h -o moc_edit_texture_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_edit_texture_factory.o moc_edit_texture_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_texture_factory.h:29, from moc_edit_texture_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. edittexture.h -o moc_edittexture.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_edittexture.o moc_edittexture.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.h:27, from moc_edittexture.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edittexture.h:27, from moc_edittexture.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edittexture.h:27, from moc_edittexture.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edittexture.h:27, from moc_edittexture.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.h:27, from moc_edittexture.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.h:27, from moc_edittexture.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.h:27, from moc_edittexture.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.h:27, from moc_edittexture.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.h:27, from moc_edittexture.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.h:27, from moc_edittexture.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edittexture.h:27, from moc_edittexture.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from textureeditor.h:33, from edittexture.h:28, from moc_edittexture.cpp:9: ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In member function 'vcg::tri::AreaPreservingTextureOptimizer::ScalarType vcg::tri::AreaPreservingTextureOptimizer::Iterate()': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:24: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( n*speed<=0.1 ); { ^~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'bool vcg::tri::IsFoldFree(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:358:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'int vcg::tri::MarkFolds(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:380:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edittexture.h:27, from moc_edittexture.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edittexture.h:27, from moc_edittexture.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. textureeditor.h -o moc_textureeditor.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_textureeditor.o moc_textureeditor.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from moc_textureeditor.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from moc_textureeditor.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from moc_textureeditor.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from moc_textureeditor.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from moc_textureeditor.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from moc_textureeditor.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from moc_textureeditor.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from moc_textureeditor.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from moc_textureeditor.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from moc_textureeditor.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from textureeditor.h:29, from moc_textureeditor.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from textureeditor.h:33, from moc_textureeditor.cpp:9: ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In member function 'vcg::tri::AreaPreservingTextureOptimizer::ScalarType vcg::tri::AreaPreservingTextureOptimizer::Iterate()': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:24: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( n*speed<=0.1 ); { ^~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:312:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( n*speed<=0.1 ); { ^ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'bool vcg::tri::IsFoldFree(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:358:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h: In function 'int vcg::tri::MarkFolds(MESH_TYPE&)': ../../../../vcglib/vcg/complex/algorithms/textcoord_optimization.h:380:66: warning: typedef 'PointType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH_TYPE::VertexType::TextureType::PointType PointType; ^~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/QWidget:1, from textureeditor.h:28, from moc_textureeditor.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtGui/qbrush.h:47, from /usr/include/qt4/QtGui/qpalette.h:47, from /usr/include/qt4/QtGui/qwidget.h:50, from /usr/include/qt4/QtGui/QWidget:1, from textureeditor.h:28, from moc_textureeditor.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. renderarea.h -o moc_renderarea.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o moc_renderarea.o moc_renderarea.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from renderarea.h:30, from moc_renderarea.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from renderarea.h:30, from moc_renderarea.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from renderarea.h:30, from moc_renderarea.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from renderarea.h:30, from moc_renderarea.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from renderarea.h:30, from moc_renderarea.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from renderarea.h:30, from moc_renderarea.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from renderarea.h:30, from moc_renderarea.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from renderarea.h:30, from moc_renderarea.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from renderarea.h:30, from moc_renderarea.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from renderarea.h:30, from moc_renderarea.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from renderarea.h:30, from moc_renderarea.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name meshlab meshlab.qrc -o qrc_meshlab.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -I. -o qrc_meshlab.o qrc_meshlab.cpp rm -f libedit_texture.so g++ -Wl,-z,relro -shared -o libedit_texture.so edit_texture_factory.o edittexture.o textureeditor.o renderarea.o trackball.o trackmode.o moc_edit_texture_factory.o moc_edittexture.o moc_textureeditor.o moc_renderarea.o qrc_meshlab.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libedit_texture.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_texture' cd meshlabplugins/edit_manipulators/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_manipulators' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o edit_manipulators_factory.o edit_manipulators_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_manipulators_factory.h:29, from edit_manipulators_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o edit_manipulators.o edit_manipulators.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_manipulators.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_manipulators.cpp:25: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_manipulators.cpp:25: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_manipulators.cpp:25: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_manipulators.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_manipulators.cpp:25: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_manipulators.cpp:25: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_manipulators.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_manipulators.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_manipulators.cpp:25: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_manipulators.cpp:25: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ edit_manipulators.cpp: In member function 'virtual void EditManipulatorsPlugin::keyPressEvent(QKeyEvent*, MeshModel&, GLArea*)': edit_manipulators.cpp:135:69: warning: unused parameter 'model' [-Wunused-parameter] void EditManipulatorsPlugin::keyPressEvent(QKeyEvent *e, MeshModel &model, GLArea *gla) ~~~~~~~~~~~^~~~~ edit_manipulators.cpp:135:84: warning: unused parameter 'gla' [-Wunused-parameter] void EditManipulatorsPlugin::keyPressEvent(QKeyEvent *e, MeshModel &model, GLArea *gla) ~~~~~~~~^~~ edit_manipulators.cpp: In member function 'void EditManipulatorsPlugin::DrawManipulators(MeshModel&, GLArea*, bool)': edit_manipulators.cpp:777:83: warning: unused parameter 'onlyActive' [-Wunused-parameter] void EditManipulatorsPlugin::DrawManipulators(MeshModel &model, GLArea *gla, bool onlyActive) ~~~~~^~~~~~~~~~ edit_manipulators.cpp: In member function 'virtual void EditManipulatorsPlugin::Decorate(MeshModel&, GLArea*, QPainter*)': edit_manipulators.cpp:1016:11: warning: enumeration value 'ManNone' not handled in switch [-Wswitch] switch(current_manip) ^ edit_manipulators.cpp:901:80: warning: unused parameter 'painter' [-Wunused-parameter] void EditManipulatorsPlugin::Decorate(MeshModel &model, GLArea *gla, QPainter* painter) ~~~~~~~~~~^~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_manipulators.cpp:23: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_manipulators.cpp:23: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o trackball.o ../../../../vcglib/wrap/gui/trackball.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o trackmode.o ../../../../vcglib/wrap/gui/trackmode.cpp In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/wrap/gui/trackmode.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/wrap/gui/trackmode.cpp:28: ../../../../vcglib/wrap/gui/trackutils.h: In function 'bool vcg::trackutils::HitHyper(vcg::Point3f, float, vcg::Point3f, vcg::Plane3f, vcg::Point3f, vcg::Point3f&)': ../../../../vcglib/wrap/gui/trackutils.h:189:13: warning: variable 'x2' set but not used [-Wunused-but-set-variable] float x1, x2, xval, yval; ^~ ../../../../vcglib/wrap/gui/trackmode.cpp: In member function 'virtual bool vcg::NavigatorWasdMode::IsAnimating(const vcg::Trackball*)': ../../../../vcglib/wrap/gui/trackmode.cpp:751:87: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] const unsigned int MOVEMENT_KEY_MASK = (const unsigned int)(~Trackball::MODIFIER_MASK); ^ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. edit_manipulators_factory.h -o moc_edit_manipulators_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_edit_manipulators_factory.o moc_edit_manipulators_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_manipulators_factory.h:29, from moc_edit_manipulators_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. edit_manipulators.h -o moc_edit_manipulators.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_edit_manipulators.o moc_edit_manipulators.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_manipulators.h:30, from moc_edit_manipulators.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name edit_manipulators edit_manipulators.qrc -o qrc_edit_manipulators.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o qrc_edit_manipulators.o qrc_edit_manipulators.cpp rm -f libedit_manipulators.so g++ -Wl,-z,relro -shared -o libedit_manipulators.so edit_manipulators_factory.o edit_manipulators.o trackball.o trackmode.o moc_edit_manipulators_factory.o moc_edit_manipulators.o qrc_edit_manipulators.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libedit_manipulators.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_manipulators' cd meshlabplugins/edit_arc3D/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_arc3D' /usr/lib/aarch64-linux-gnu/qt4/bin/uic ui/v3dImportDialog.ui -o ui_v3dImportDialog.h g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -I. -o edit_arc3D.o edit_arc3D.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_arc3D.cpp:35: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_arc3D.cpp:35: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_arc3D.cpp:35: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_arc3D.cpp:35: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_arc3D.cpp:35: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_arc3D.cpp:35: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_arc3D.cpp:35: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_arc3D.cpp:35: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_arc3D.cpp:35: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_arc3D.cpp:35: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from edit_arc3D.cpp:35: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from arc3D_reconstruction.h:33, from v3dImportDialog.h:31, from edit_arc3D.h:29, from edit_arc3D.cpp:37: scalar_image.h: In static member function 'static QPixmap ScalarImage::colorizedScaledToHeight(int, ScalarImage&, float)': scalar_image.h:129:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0;i0,5) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ edit_arc3D.cpp:296:49: warning: value computed is not used [-Wunused-value] if((newPoint.Y()- (int)newPoint.Y())>0,5) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ edit_arc3D.cpp:277:26: warning: unused variable 'cam' [-Wunused-variable] vcg::Camera &cam = rm->shot.Intrinsics; ^~~ edit_arc3D.cpp:178:7: warning: unused variable 'firstTime' [-Wunused-variable] bool firstTime=true; ^~~~~~~~~ edit_arc3D.cpp: In member function 'virtual void EditArc3DPlugin::mousePressEvent(QMouseEvent*, MeshModel&, GLArea*)': edit_arc3D.cpp:331:52: warning: unused parameter 'e' [-Wunused-parameter] void EditArc3DPlugin::mousePressEvent(QMouseEvent *e, MeshModel &, GLArea * ) ~~~~~~~~~~~~~^ edit_arc3D.cpp: In member function 'virtual void EditArc3DPlugin::mouseMoveEvent(QMouseEvent*, MeshModel&, GLArea*)': edit_arc3D.cpp:336:51: warning: unused parameter 'e' [-Wunused-parameter] void EditArc3DPlugin::mouseMoveEvent(QMouseEvent *e, MeshModel &, GLArea * ) ~~~~~~~~~~~~~^ edit_arc3D.cpp: In member function 'virtual void EditArc3DPlugin::mouseReleaseEvent(QMouseEvent*, MeshModel&, GLArea*)': edit_arc3D.cpp:342:55: warning: unused parameter 'e' [-Wunused-parameter] void EditArc3DPlugin::mouseReleaseEvent(QMouseEvent * e, MeshModel &/*m*/, GLArea * gla) ~~~~~~~~~~~~~~^ edit_arc3D.cpp:342:85: warning: unused parameter 'gla' [-Wunused-parameter] void EditArc3DPlugin::mouseReleaseEvent(QMouseEvent * e, MeshModel &/*m*/, GLArea * gla) ~~~~~~~~~^~~ edit_arc3D.cpp: In member function 'void Arc3DModel::depthFilter(FloatImage&, FloatImage&, float, bool, int, int, bool, int, int)': edit_arc3D.cpp:355:82: warning: parameter 'depthJumpThr' set but not used [-Wunused-but-set-parameter] void Arc3DModel::depthFilter(FloatImage &depthImgf, FloatImage &countImgf, float depthJumpThr, ~~~~~~^~~~~~~~~~~~ edit_arc3D.cpp: In member function 'bool Arc3DModel::BuildMesh(CMeshO&, int, int, float, int, bool, int, int, bool, int, int, float)': edit_arc3D.cpp:607:7: warning: unused variable 'ttt0' [-Wunused-variable] int ttt0=clock(); ^~~~ edit_arc3D.cpp:613:7: warning: unused variable 'ttt1' [-Wunused-variable] int ttt1=clock(); ^~~~ edit_arc3D.cpp:627:7: warning: unused variable 'ttt2' [-Wunused-variable] int ttt2=clock(); ^~~~ edit_arc3D.cpp:633:7: warning: unused variable 'ttt3' [-Wunused-variable] int ttt3=clock(); ^~~~ edit_arc3D.cpp:637:7: warning: unused variable 'ttt4' [-Wunused-variable] int ttt4=clock(); ^~~~ edit_arc3D.cpp:659:13: warning: variable 'Rinv' set but not used [-Wunused-but-set-variable] Matrix33d Rinv= Inverse(cam.R); ^~~~ edit_arc3D.cpp:675:7: warning: unused variable 'ttt5' [-Wunused-variable] int ttt5=clock(); ^~~~ edit_arc3D.cpp:702:7: warning: unused variable 'ttt6' [-Wunused-variable] int ttt6=clock(); ^~~~ edit_arc3D.cpp: In member function 'vcg::Point3f Arc3DModel::TraCorrection(CMeshO&, int, int, int)': edit_arc3D.cpp:746:9: warning: unused variable 'depthThr2' [-Wunused-variable] float depthThr2 = ComputeDepthJumpThr(depthSubf,0.95f); ^~~~~~~~~ edit_arc3D.cpp:759:13: warning: variable 'Rinv' set but not used [-Wunused-but-set-variable] Matrix33d Rinv= Inverse(cam.R); ^~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_arc3D.cpp:28: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from edit_arc3D.cpp:28: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ edit_arc3D.cpp: In member function 'bool Arc3DModel::Init(QDomNode&)': edit_arc3D.cpp:823:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(lvcam,"%lf %lf %lf",&(cam[0]),&(cam[1]),&(cam[2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit_arc3D.cpp:824:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(lvcam,"%lf %lf %lf",&(cam[3]),&(cam[4]),&(cam[5])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit_arc3D.cpp:825:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(lvcam,"%lf %lf %lf",&(cam[6]),&(cam[7]),&(cam[8])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit_arc3D.cpp:843:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(lvcam,"%lf %lf %lf",&(cam[0]),&(cam[1]),&(cam[2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit_arc3D.cpp:850:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(lvcam,"%lf %lf %lf",&(cam[0]),&(cam[1]),&(cam[2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit_arc3D.cpp:851:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(lvcam,"%lf %lf %lf",&(cam[3]),&(cam[4]),&(cam[5])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit_arc3D.cpp:852:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(lvcam,"%lf %lf %lf",&(cam[6]),&(cam[7]),&(cam[8])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit_arc3D.cpp:865:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(lvcam,"%lf %lf %lf",&(cam[0]),&(cam[1]),&(cam[2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ edit_arc3D.cpp:871:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(lvcam,"%lf %lf",&(cam[0]),&(cam[1])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -I. -o edit_arc3D_factory.o edit_arc3D_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from arc3D_reconstruction.h:33, from v3dImportDialog.h:31, from edit_arc3D.h:29, from edit_arc3D_factory.cpp:25: scalar_image.h: In static member function 'static QPixmap ScalarImage::colorizedScaledToHeight(int, ScalarImage&, float)': scalar_image.h:129:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0;i::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_arc3D_factory.h:29, from edit_arc3D_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -I. -o arc3D_camera.o arc3D_camera.cpp arc3D_camera.cpp: In member function 'bool vcg::Arc3DCamera::Open(const char*)': arc3D_camera.cpp:83:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&(K[0][0]),&(K[0][1]),&(K[0][2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc3D_camera.cpp:84:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&(K[1][0]),&(K[1][1]),&(K[1][2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc3D_camera.cpp:85:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&(K[2][0]),&(K[2][1]),&(K[2][2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc3D_camera.cpp:88:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&(k[0]),&(k[1]),&(k[2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc3D_camera.cpp:90:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&(R[0][0]),&(R[0][1]),&(R[0][2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc3D_camera.cpp:91:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&(R[1][0]),&(R[1][1]),&(R[1][2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc3D_camera.cpp:92:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&(R[2][0]),&(R[2][1]),&(R[2][2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc3D_camera.cpp:94:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&(t[0]),&(t[1]),&(t[2])); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arc3D_camera.cpp:96:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i %i",&width,&height); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -I. -o radial_distortion.o radial_distortion.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -I. -o scalar_image.o scalar_image.cpp In file included from scalar_image.cpp:28: scalar_image.h: In static member function 'static QPixmap ScalarImage::colorizedScaledToHeight(int, ScalarImage&, float)': scalar_image.h:129:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0;i::Open(const char*) [with ScalarType = float]': scalar_image.cpp:60:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,255,fp); ~~~~~^~~~~~~~~~~~ scalar_image.cpp:82:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&*bb.begin(),w*h,sizeof(short),fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scalar_image.cpp:90:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(compressed_buffer,compressed_size,1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scalar_image.cpp: In member function 'bool ScalarImage::Open(const char*) [with ScalarType = unsigned char]': scalar_image.cpp:133:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,255,fp); ~~~~~^~~~~~~~~~~~ scalar_image.cpp:152:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&*v.begin(),w*h,sizeof(unsigned char),fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scalar_image.cpp:157:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(compressed_buffer,compressed_size,1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -I. -o v3dImportDialog.o v3dImportDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from arc3D_reconstruction.h:33, from v3dImportDialog.h:31, from v3dImportDialog.cpp:27: scalar_image.h: In static member function 'static QPixmap ScalarImage::colorizedScaledToHeight(int, ScalarImage&, float)': scalar_image.h:129:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0;i::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_arc3D.h:28, from moc_edit_arc3D.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_arc3D.h:28, from moc_edit_arc3D.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D.h:28, from moc_edit_arc3D.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D.h:28, from moc_edit_arc3D.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D.h:28, from moc_edit_arc3D.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D.h:28, from moc_edit_arc3D.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D.h:28, from moc_edit_arc3D.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D.h:28, from moc_edit_arc3D.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D.h:28, from moc_edit_arc3D.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from arc3D_reconstruction.h:33, from v3dImportDialog.h:31, from edit_arc3D.h:29, from moc_edit_arc3D.cpp:9: scalar_image.h: In static member function 'static QPixmap ScalarImage::colorizedScaledToHeight(int, ScalarImage&, float)': scalar_image.h:129:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0;i::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_arc3D.h:28, from moc_edit_arc3D.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -I. edit_arc3D_factory.h -o moc_edit_arc3D_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -I. -o moc_edit_arc3D_factory.o moc_edit_arc3D_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_arc3D_factory.h:29, from moc_edit_arc3D_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -I. v3dImportDialog.h -o moc_v3dImportDialog.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/include -I/usr/X11R6/include -I. -I. -o moc_v3dImportDialog.o moc_v3dImportDialog.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from arc3D_reconstruction.h:29, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from arc3D_reconstruction.h:33, from v3dImportDialog.h:31, from moc_v3dImportDialog.cpp:9: scalar_image.h: In static member function 'static QPixmap ScalarImage::colorizedScaledToHeight(int, ScalarImage&, float)': scalar_image.h:129:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0;i::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from edit_sample_factory.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from edit_sample_factory.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from edit_sample_factory.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from edit_sample_factory.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from edit_sample_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from edit_sample_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from edit_sample_factory.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from edit_sample_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from edit_sample_factory.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_sample_factory.h:29, from edit_sample_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_sample_factory.h:29, from edit_sample_factory.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o sampleedit.o sampleedit.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from sampleedit.cpp:31: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:35, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from sampleedit.cpp:31: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../meshlab/../common/meshmodel.h:38, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from sampleedit.cpp:31: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../meshlab/../common/meshmodel.h:41, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from sampleedit.cpp:31: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from sampleedit.cpp:31: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from sampleedit.cpp:31: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from sampleedit.cpp:31: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from sampleedit.cpp:31: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from sampleedit.cpp:31: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from sampleedit.cpp:31: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../meshlab/../common/meshmodel.h:44, from ../../meshlab/../common/interfaces.h:37, from ../../meshlab/glarea.h:40, from sampleedit.cpp:31: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ sampleedit.cpp: In member function 'void SampleEditPlugin::drawFace(vcg::tri::TriMesh, vcg::face::vector_ocf >::FacePointer, MeshModel&, GLArea*, QPainter*)': sampleedit.cpp:104:79: warning: unused parameter 'gla' [-Wunused-parameter] void SampleEditPlugin::drawFace(CMeshO::FacePointer fp, MeshModel &m, GLArea *gla, QPainter *p) ~~~~~~~~^~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from sampleedit.cpp:27: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../meshlab/../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from sampleedit.cpp:27: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. edit_sample_factory.h -o moc_edit_sample_factory.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_edit_sample_factory.o moc_edit_sample_factory.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from edit_sample_factory.h:29, from moc_edit_sample_factory.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. sampleedit.h -o moc_sampleedit.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_sampleedit.o moc_sampleedit.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from sampleedit.h:28, from moc_sampleedit.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from sampleedit.h:28, from moc_sampleedit.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from sampleedit.h:28, from moc_sampleedit.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from sampleedit.h:28, from moc_sampleedit.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from sampleedit.h:28, from moc_sampleedit.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from sampleedit.h:28, from moc_sampleedit.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from sampleedit.h:28, from moc_sampleedit.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from sampleedit.h:28, from moc_sampleedit.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from sampleedit.h:28, from moc_sampleedit.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from sampleedit.h:28, from moc_sampleedit.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from sampleedit.h:28, from moc_sampleedit.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from sampleedit.h:28, from moc_sampleedit.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from sampleedit.h:28, from moc_sampleedit.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/rcc -name sampleedit sampleedit.qrc -o qrc_sampleedit.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o qrc_sampleedit.o qrc_sampleedit.cpp rm -f libsampleedit.so g++ -Wl,-z,relro -shared -o libsampleedit.so edit_sample_factory.o sampleedit.o moc_edit_sample_factory.o moc_sampleedit.o qrc_sampleedit.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libsampleedit.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/sampleedit' cd sampleplugins/samplefilter/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilter' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o samplefilter.o samplefilter.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from samplefilter.cpp:24: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from samplefilter.h:39, from samplefilter.cpp:24: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from samplefilter.h:39, from samplefilter.cpp:24: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from samplefilter.h:39, from samplefilter.cpp:24: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from samplefilter.cpp:24: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from samplefilter.cpp:24: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from samplefilter.cpp:24: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from samplefilter.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from samplefilter.cpp:24: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from samplefilter.cpp:24: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from samplefilter.cpp:24: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from samplefilter.h:39, from samplefilter.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from samplefilter.h:39, from samplefilter.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. samplefilter.h -o moc_samplefilter.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_samplefilter.o moc_samplefilter.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from moc_samplefilter.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from samplefilter.h:39, from moc_samplefilter.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from samplefilter.h:39, from moc_samplefilter.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from samplefilter.h:39, from moc_samplefilter.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from moc_samplefilter.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from moc_samplefilter.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from moc_samplefilter.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from moc_samplefilter.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from moc_samplefilter.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from moc_samplefilter.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilter.h:39, from moc_samplefilter.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from samplefilter.h:39, from moc_samplefilter.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from samplefilter.h:39, from moc_samplefilter.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libsamplefilter.so g++ -Wl,-z,relro -shared -o libsamplefilter.so samplefilter.o moc_samplefilter.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libsamplefilter.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilter' cd sampleplugins/samplefilterdyn/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilterdyn' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o samplefilterdyn.o samplefilterdyn.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.cpp:25: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from samplefilterdyn.cpp:25: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from samplefilterdyn.cpp:25: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from samplefilterdyn.cpp:25: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.cpp:25: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.cpp:25: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.cpp:25: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.cpp:25: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.cpp:25: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.cpp:25: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from samplefilterdyn.cpp:24: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from samplefilterdyn.cpp:24: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. samplefilterdyn.h -o moc_samplefilterdyn.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_samplefilterdyn.o moc_samplefilterdyn.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from samplefilterdyn.h:29, from moc_samplefilterdyn.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libsamplefilterdyn.so g++ -Wl,-z,relro -shared -o libsamplefilterdyn.so samplefilterdyn.o moc_samplefilterdyn.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libsamplefilterdyn.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilterdyn' cd sampleplugins/io_m/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/io_m' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o io_m.o io_m.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from io_m.cpp:30: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_m.h:34, from io_m.cpp:30: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_m.h:34, from io_m.cpp:30: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_m.h:34, from io_m.cpp:30: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from io_m.cpp:30: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from io_m.cpp:30: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from io_m.cpp:30: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from io_m.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from io_m.cpp:30: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from io_m.cpp:30: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from io_m.cpp:30: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ io_m.cpp: In member function 'virtual bool IOMPlugin::open(const QString&, const QString&, MeshModel&, int&, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_m.cpp:40:37: warning: unused parameter 'formatName' [-Wunused-parameter] bool IOMPlugin::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask,const RichParameterSet & par, CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~^~~~~~~~~~ io_m.cpp:40:64: warning: unused parameter 'fileName' [-Wunused-parameter] bool IOMPlugin::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask,const RichParameterSet & par, CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~^~~~~~~~ io_m.cpp:40:85: warning: unused parameter 'm' [-Wunused-parameter] bool IOMPlugin::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask,const RichParameterSet & par, CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~^ io_m.cpp:40:93: warning: unused parameter 'mask' [-Wunused-parameter] bool IOMPlugin::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask,const RichParameterSet & par, CallBackPos *cb, QWidget *parent) ~~~~~^~~~ io_m.cpp:40:123: warning: unused parameter 'par' [-Wunused-parameter] bool IOMPlugin::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask,const RichParameterSet & par, CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ io_m.cpp:40:142: warning: unused parameter 'cb' [-Wunused-parameter] bool IOMPlugin::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask,const RichParameterSet & par, CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~^~ io_m.cpp:40:155: warning: unused parameter 'parent' [-Wunused-parameter] bool IOMPlugin::open(const QString &formatName, const QString &fileName, MeshModel &m, int& mask,const RichParameterSet & par, CallBackPos *cb, QWidget *parent) ~~~~~~~~~^~~~~~ io_m.cpp: In member function 'virtual bool IOMPlugin::save(const QString&, const QString&, MeshModel&, int, const RichParameterSet&, bool (*)(int, const char*), QWidget*)': io_m.cpp:46:37: warning: unused parameter 'formatName' [-Wunused-parameter] bool IOMPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask,const RichParameterSet & par, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~^~~~~~~~~~ io_m.cpp:46:152: warning: unused parameter 'cb' [-Wunused-parameter] bool IOMPlugin::save(const QString &formatName, const QString &fileName, MeshModel &m, const int mask,const RichParameterSet & par, vcg::CallBackPos *cb, QWidget *parent) ~~~~~~~~~~~~~~~~~~^~ io_m.cpp: In member function 'virtual void IOMPlugin::GetExportMaskCapability(QString&, int&, int&) const': io_m.cpp:86:50: warning: unused parameter 'format' [-Wunused-parameter] void IOMPlugin::GetExportMaskCapability(QString &format, int &capability, int &defaultBits) const ~~~~~~~~~^~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_m.cpp:28: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from io_m.cpp:28: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. io_m.h -o moc_io_m.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_io_m.o moc_io_m.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from moc_io_m.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from io_m.h:34, from moc_io_m.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from io_m.h:34, from moc_io_m.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from io_m.h:34, from moc_io_m.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from moc_io_m.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from moc_io_m.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from moc_io_m.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from moc_io_m.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from moc_io_m.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from moc_io_m.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from io_m.h:34, from moc_io_m.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_m.h:34, from moc_io_m.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from io_m.h:34, from moc_io_m.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libio_m.so g++ -Wl,-z,relro -shared -o libio_m.so io_m.o moc_io_m.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libio_m.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/io_m' cd sampleplugins/filtergeodesic/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/filtergeodesic' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filtergeodesic.o filtergeodesic.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from filtergeodesic.cpp:38: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from filtergeodesic.cpp:38: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from filtergeodesic.cpp:38: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from filtergeodesic.cpp:38: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from filtergeodesic.cpp:38: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from filtergeodesic.cpp:38: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from filtergeodesic.cpp:38: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from filtergeodesic.cpp:38: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from filtergeodesic.cpp:38: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from filtergeodesic.cpp:38: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from filtergeodesic.cpp:38: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filtergeodesic.cpp:36: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filtergeodesic.cpp:36: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filtergeodesic.h -o moc_filtergeodesic.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filtergeodesic.o moc_filtergeodesic.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filtergeodesic.h:27, from moc_filtergeodesic.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfiltergeodesic.so g++ -Wl,-z,relro -shared -o libfiltergeodesic.so filtergeodesic.o moc_filtergeodesic.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfiltergeodesic.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/filtergeodesic' cd sampleplugins/filtercreateiso/ && /usr/bin/make -f Makefile make[2]: Entering directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/filtercreateiso' g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o filtercreateiso.o filtercreateiso.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from filtercreateiso.cpp:34: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from filtercreateiso.cpp:34: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from filtercreateiso.cpp:34: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from filtercreateiso.cpp:34: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from filtercreateiso.cpp:34: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from filtercreateiso.cpp:34: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from filtercreateiso.cpp:34: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from filtercreateiso.cpp:34: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from filtercreateiso.cpp:34: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from filtercreateiso.cpp:34: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from filtercreateiso.cpp:34: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ filtercreateiso.cpp: In member function 'virtual bool FilterCreateIso::applyFilter(QAction*, MeshDocument&, RichParameterSet&, bool (*)(int, const char*))': filtercreateiso.cpp:97:113: warning: unused parameter 'cb' [-Wunused-parameter] bool FilterCreateIso::applyFilter(QAction *filter, MeshDocument &md, RichParameterSet & par, vcg::CallBackPos * cb) ~~~~~~~~~~~~~~~~~~~^~ filtercreateiso.cpp: In member function 'virtual void FilterCreateIso::initParameterSet(QAction*, MeshModel&, RichParameterSet&)': filtercreateiso.cpp:130:67: warning: unused parameter 'm' [-Wunused-parameter] void FilterCreateIso::initParameterSet(QAction *action,MeshModel &m, RichParameterSet & parlst) ~~~~~~~~~~~^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filtercreateiso.cpp:33: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from /usr/include/qt4/QtGui/QtGui:3, from filtercreateiso.cpp:33: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ /usr/lib/aarch64-linux-gnu/qt4/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. filtercreateiso.h -o moc_filtercreateiso.cpp g++ -c -pipe -g -O2 -ffile-prefix-map=/build/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I../.. -I../../../../vcglib -I../../external/glew-1.7.0/include -I/usr/include/eigen3 -I/usr/X11R6/include -I. -o moc_filtercreateiso.o moc_filtercreateiso.cpp In file included from /usr/include/c++/8/ext/hash_map:60, from ../../../../vcglib/vcg/space/index/spatial_hashing.h:45, from ../../../../vcglib/vcg/complex/algorithms/clean.h:39, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: /usr/include/c++/8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] #warning \ ^~~~~~~ In file included from ../../common/meshmodel.h:35, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: ../../../../vcglib/vcg/simplex/face/component_ocf.h: In member function 'void vcg::face::CurvatureDirOcf::ImportData(const LeftF&)': ../../../../vcglib/vcg/simplex/face/component_ocf.h:573:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((*this).Base().CurvatureDirEnabled && leftF.Base().CurvatureDirEnabled) ^~ ../../../../vcglib/vcg/simplex/face/component_ocf.h:575:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' PD2() = leftF.cPD2(); ^~~ In file included from ../../../../vcglib/vcg/complex/complex.h:42, from ../../common/meshmodel.h:38, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: ../../../../vcglib/vcg/complex/allocate.h: In static member function 'static typename vcg::tri::Allocator::MeshType::PerVertexAttributeHandle vcg::tri::Allocator::GetPerVertexAttribute(vcg::tri::Allocator::MeshType&, const string&)': ../../../../vcglib/vcg/complex/allocate.h:950:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(i!=m.vert_attr.end()) ^~ ../../../../vcglib/vcg/complex/allocate.h:962:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return typename MeshType:: template PerVertexAttributeHandle(NULL,0); ^~~~~~ In file included from ../../common/meshmodel.h:41, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: ../../../../vcglib/vcg/simplex/face/topology.h: In function 'bool vcg::face::CheckFlipEdgeNormal(FaceType&, int, float)': ../../../../vcglib/vcg/simplex/face/topology.h:403:43: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename VertexType::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/simplex/face/topology.h: In function 'void vcg::face::VFStarVF(typename FaceType::VertexType*, std::vector&)': ../../../../vcglib/vcg/simplex/face/topology.h:618:41: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs] typedef typename FaceType::VertexType* VertexPointer; ^~~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/distance3.h:29, from ../../../../vcglib/vcg/simplex/face/distance.h:30, from ../../../../vcglib/vcg/complex/algorithms/closest.h:33, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: ../../../../vcglib/vcg/space/intersection3.h: In function 'bool vcg::IntersectionSphereTriangle(const vcg::Sphere3&, TRIANGLETYPE, vcg::Point3&, std::pair<_FIter, _FIter>*)': ../../../../vcglib/vcg/space/intersection3.h:144:24: warning: typedef 'Triangle3t' locally defined but not used [-Wunused-local-typedefs] typedef TRIANGLETYPE Triangle3t; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/closest.h:36, from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: ../../../../vcglib/vcg/space/index/space_iterators.h: In member function 'bool vcg::ClosestIterator::Refresh()': ../../../../vcglib/vcg/space/index/space_iterators.h:432:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz) ^~~ ../../../../vcglib/vcg/space/index/space_iterators.h:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' std::sort(Elems.begin(),Elems.end()); ^~~ In file included from ../../../../vcglib/vcg/complex/algorithms/stat.h:48, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&, typename GRID::CoordType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:100:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceBase(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:129:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceEP(MESH&, GRID&, const typename GRID::CoordType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:144:31: warning: typedef 'Point3x' locally defined but not used [-Wunused-local-typedefs] typedef Point3 Point3x; ^~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename MESH::FaceType* vcg::tri::GetClosestFaceNormal(MESH&, GRID&, const typename MESH::VertexType&, const typename GRID::ScalarType&, typename GRID::ScalarType&, typename GRID::CoordType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:158:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename GRID::ScalarType ScalarType; ^~~~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h: In function 'typename GRID::ObjPtr vcg::tri::DoRay(MESH&, GRID&, const vcg::Ray3&, const typename GRID::ScalarType&, typename GRID::ScalarType&)': ../../../../vcglib/vcg/complex/algorithms/closest.h:322:36: warning: typedef 'FaceType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::FaceType FaceType; ^~~~~~~~ ../../../../vcglib/vcg/complex/algorithms/closest.h:323:38: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs] typedef typename MESH::ScalarType ScalarType; ^~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'typename SPATIAL_INDEX::ObjPtr vcg::GridClosest(SPATIAL_INDEX&, OBJPOINTDISTFUNCTOR, OBJMARKER&, const typename OBJPOINTDISTFUNCTOR::QueryType&, const typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::ScalarType&, typename SPATIAL_INDEX::CoordType&)': ../../../../vcglib/vcg/space/index/grid_closest.h:104:25: warning: typedef 'SpatialIndex' locally defined but not used [-Wunused-local-typedefs] typedef SPATIAL_INDEX SpatialIndex; ^~~~~~~~~~~~ In file included from ../../../../vcglib/vcg/space/index/grid_static_ptr.h:34, from ../../../../vcglib/vcg/complex/algorithms/stat.h:49, from ../../../../vcglib/vcg/complex/algorithms/update/color.h:31, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: ../../../../vcglib/vcg/space/index/grid_closest.h: In function 'unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3&, OBJPTRCONTAINER&)': ../../../../vcglib/vcg/space/index/grid_closest.h:286:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++) ^~~ ../../../../vcglib/vcg/space/index/grid_closest.h:302:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return (static_cast(_objectPtrs.size())); ^~~~~~ In file included from ../../../../vcglib/vcg/complex/algorithms/update/color.h:34, from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::RemoveNonManifoldVertex(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:463:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(vi=m.vert.begin(); vi!=m.vert.end();++vi) ^~~ ../../../../vcglib/vcg/complex/algorithms/clean.h:468:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' return count_removed; ^~~~~~ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitPolygons(const MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:703:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::CountBitLargePolygons(vcg::tri::Clean::MeshType&)': ../../../../vcglib/vcg/complex/algorithms/clean.h:736:45: warning: typedef 'F' locally defined but not used [-Wunused-local-typedefs] typedef typename MeshType::FaceType F; ^ ../../../../vcglib/vcg/complex/algorithms/clean.h: In static member function 'static int vcg::tri::Clean::ClusterVertex(vcg::tri::Clean::MeshType&, vcg::tri::Clean::ScalarType)': ../../../../vcglib/vcg/complex/algorithms/clean.h:1657:58: warning: typedef 'VDistFunct' locally defined but not used [-Wunused-local-typedefs] typedef vcg::vertex::PointDistanceFunctor VDistFunct; ^~~~~~~~~~ In file included from ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:133:49: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] for(fi=m.face.begin();fi!=m.face.end();++fi) if(!(*fi).IsD()) ^ ../../../../vcglib/vcg/complex/algorithms/update/color.h: In static member function 'static void vcg::tri::UpdateColor::VertexBorderManifoldFlag(UpdateMeshType&, vcg::Color4b, vcg::Color4b, vcg::Color4b)': ../../../../vcglib/vcg/complex/algorithms/update/color.h:269:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if(!(*fi).IsD()) ^ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: /usr/include/qt4/QtCore/qvector.h: In instantiation of 'void QVector::realloc(int, int) [with T = QVector]': /usr/include/qt4/QtCore/qvector.h:337:3: required from 'void QVector::detach_helper() [with T = QVector]' /usr/include/qt4/QtCore/qvector.h:123:84: required from 'QVector::QVector(const QVector&) [with T = QVector]' /usr/include/qt4/QtCore/qmetatype.h:142:12: required from 'void* qMetaTypeConstructHelper(const T*) [with T = QVector >]' /usr/include/qt4/QtCore/qmetatype.h:196:18: required from 'int qRegisterMetaType(const char*, T*) [with T = QVector >]' ../../common/scriptinterface.h:189:1: required from here /usr/include/qt4/QtCore/qvector.h:503:25: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'QVector >::Data' {aka 'struct QVectorTypedData >'} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] ::memcpy(x.p, p, sizeOfTypedData() + (qMin(aalloc, d->alloc) - 1) * sizeof(T)); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt4/QtCore/qdebug.h:52, from /usr/include/qt4/QtCore/QtCore:6, from ../../common/interfaces.h:28, from filtercreateiso.h:36, from moc_filtercreateiso.cpp:9: /usr/include/qt4/QtCore/qvector.h:94:8: note: 'QVector >::Data' {aka 'struct QVectorTypedData >'} declared here struct QVectorTypedData : private QVectorData ^~~~~~~~~~~~~~~~ rm -f libfiltercreateiso.so g++ -Wl,-z,relro -shared -o libfiltercreateiso.so filtercreateiso.o moc_filtercreateiso.o -L/usr/lib/aarch64-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libfiltercreateiso.so ../../distrib/plugins/ make[2]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/filtercreateiso' make[1]: Leaving directory '/build/meshlab-1.3.2+dfsg1/meshlab/src' touch build-stamp fakeroot debian/rules binary dh_testdir mv meshlab/src/distrib/shaders/3Dlabs-license.txt . mv meshlab/src/distrib/shaders/LightworkDesign-license.txt . cp meshlab/src/meshlab/images/eye64.png debian/meshlab.png dh install debian/rules build make[1]: Entering directory '/build/meshlab-1.3.2+dfsg1' make[1]: Nothing to be done for 'build'. make[1]: Leaving directory '/build/meshlab-1.3.2+dfsg1' dh_testroot dh_prep dh_installdirs dh_install dh_installdocs dh_installchangelogs dh_installmime dh_lintian dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh binary-indep debian/rules build-indep make[1]: Entering directory '/build/meshlab-1.3.2+dfsg1' make[1]: Nothing to be done for 'build-indep'. make[1]: Leaving directory '/build/meshlab-1.3.2+dfsg1' dh binary-arch debian/rules build-arch make[1]: Entering directory '/build/meshlab-1.3.2+dfsg1' make[1]: Nothing to be done for 'build-arch'. make[1]: Leaving directory '/build/meshlab-1.3.2+dfsg1' dh_testroot -a dh_prep -a dh_installdirs -a dh_install -a dh_installdocs -a dh_installchangelogs -a dh_installmime -a dh_lintian -a dh_perl -a dh_link -a dh_strip_nondeterminism -a dh_compress -a dh_fixperms -a dh_missing -a dh_strip -a dh_makeshlibs -a debian/rules override_dh_shlibdeps make[1]: Entering directory '/build/meshlab-1.3.2+dfsg1' dh_shlibdeps -lusr/lib/meshlab make[1]: Leaving directory '/build/meshlab-1.3.2+dfsg1' dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'meshlab-dbgsym' in '../meshlab-dbgsym_1.3.2+dfsg1-4_arm64.deb'. dpkg-deb: building package 'meshlab' in '../meshlab_1.3.2+dfsg1-4_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../meshlab_1.3.2+dfsg1-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/5119 and its subdirectories I: Current time: Tue Aug 17 03:59:17 -12 2021 I: pbuilder-time-stamp: 1629215957