https://launchpad.net/ubuntu/+source/meshlab/1.3.2+dfsg1-4build1/+build/15698596 RUN: /usr/share/launchpad-buildd/slavebin/slave-prep Forking launchpad-buildd slave process... Kernel version: Linux bos02-s390x-020 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:53:31 UTC 2018 s390x Buildd toolchain package versions: launchpad-buildd_165 python-lpbuildd_165 sbuild_0.67.0-2ubuntu7.1 bzr-builder_0.7.3+bzr174~ppa13~ubuntu14.10.1 bzr_2.7.0-2ubuntu3.1 git-build-recipe_0.3.4~git201611291343.dcee459~ubuntu16.04.1 git_1:2.7.4-0ubuntu1.5 dpkg-dev_1.18.4ubuntu1.5 python-debian_0.1.27ubuntu2. Syncing the system clock with the buildd NTP service... 24 Nov 03:41:42 ntpdate[1748]: adjust time server 10.211.37.1 offset -0.049197 sec RUN: /usr/share/launchpad-buildd/slavebin/in-target unpack-chroot --backend=chroot --series=disco --arch=s390x PACKAGEBUILD-15698596 /home/buildd/filecache-default/b787115693f003366e910ff6bedae3977a7b9dc5 Creating target for build PACKAGEBUILD-15698596 RUN: /usr/share/launchpad-buildd/slavebin/in-target mount-chroot --backend=chroot --series=disco --arch=s390x PACKAGEBUILD-15698596 Starting target for build PACKAGEBUILD-15698596 RUN: /usr/share/launchpad-buildd/slavebin/in-target override-sources-list --backend=chroot --series=disco --arch=s390x PACKAGEBUILD-15698596 'deb http://ftpmaster.internal/ubuntu disco main universe' 'deb http://ftpmaster.internal/ubuntu disco-security main universe' 'deb http://ftpmaster.internal/ubuntu disco-updates main universe' 'deb http://ftpmaster.internal/ubuntu disco-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-15698596 RUN: /usr/share/launchpad-buildd/slavebin/in-target update-debian-chroot --backend=chroot --series=disco --arch=s390x PACKAGEBUILD-15698596 Updating target for build PACKAGEBUILD-15698596 Get:1 http://ftpmaster.internal/ubuntu disco InRelease [243 kB] Get:2 http://ftpmaster.internal/ubuntu disco-security InRelease [65.4 kB] Get:3 http://ftpmaster.internal/ubuntu disco-updates InRelease [65.4 kB] Get:4 http://ftpmaster.internal/ubuntu disco-proposed InRelease [93.2 kB] Get:5 http://ftpmaster.internal/ubuntu disco/main s390x Packages [942 kB] Get:6 http://ftpmaster.internal/ubuntu disco/main Translation-en [507 kB] Get:7 http://ftpmaster.internal/ubuntu disco/universe s390x Packages [8492 kB] Get:8 http://ftpmaster.internal/ubuntu disco/universe Translation-en [5110 kB] Get:9 http://ftpmaster.internal/ubuntu disco-proposed/main s390x Packages [63.4 kB] Get:10 http://ftpmaster.internal/ubuntu disco-proposed/main Translation-en [44.5 kB] Get:11 http://ftpmaster.internal/ubuntu disco-proposed/universe s390x Packages [378 kB] Get:12 http://ftpmaster.internal/ubuntu disco-proposed/universe Translation-en [285 kB] Fetched 16.3 MB in 6s (2699 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following packages were automatically installed and are no longer required: libgdbm5 libperl5.26 perl-modules-5.26 Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: libgdbm6 libperl5.28 perl-modules-5.28 The following packages will be upgraded: apt base-files binutils binutils-common binutils-s390x-linux-gnu cpp cpp-8 dash dmsetup fakeroot findutils g++ g++-8 gcc gcc-8 gcc-8-base hostname init init-system-helpers libapparmor1 libapt-pkg5.0 libasan5 libatomic1 libaudit-common libaudit1 libbinutils libcap-ng0 libcc1-0 libdb5.3 libdevmapper1.02.1 libfakeroot libgcc-8-dev libgcc1 libgcrypt20 libgdbm-compat4 libgnutls30 libgomp1 libgpg-error0 libitm1 libkmod2 libseccomp2 libselinux1 libsemanage-common libsemanage1 libsqlite3-0 libstdc++-8-dev libstdc++6 libsystemd0 libubsan1 libudev1 linux-libc-dev lockfile-progs perl perl-base sed systemd systemd-sysv tar tzdata 59 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 41.3 MB of archives. After this operation, 48.4 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu disco/main s390x base-files s390x 10.1ubuntu8 [60.0 kB] Get:2 http://ftpmaster.internal/ubuntu disco/main s390x dash s390x 0.5.10.2-1 [86.9 kB] Get:3 http://ftpmaster.internal/ubuntu disco/main s390x findutils s390x 4.6.0+git+20181018-1 [288 kB] Get:4 http://ftpmaster.internal/ubuntu disco/main s390x hostname s390x 3.21 [10.9 kB] Get:5 http://ftpmaster.internal/ubuntu disco-proposed/main s390x perl-modules-5.28 all 5.28.0-4 [2810 kB] Get:6 http://ftpmaster.internal/ubuntu disco/main s390x libgdbm6 s390x 1.18.1-1 [27.1 kB] Get:7 http://ftpmaster.internal/ubuntu disco/main s390x libgdbm-compat4 s390x 1.18.1-1 [6256 B] Get:8 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libperl5.28 s390x 5.28.0-4 [3657 kB] Get:9 http://ftpmaster.internal/ubuntu disco-proposed/main s390x perl s390x 5.28.0-4 [204 kB] Get:10 http://ftpmaster.internal/ubuntu disco-proposed/main s390x perl-base s390x 5.28.0-4 [1419 kB] Get:11 http://ftpmaster.internal/ubuntu disco/main s390x libdb5.3 s390x 5.3.28+dfsg1-0.2 [607 kB] Get:12 http://ftpmaster.internal/ubuntu disco/main s390x sed s390x 4.5-2 [183 kB] Get:13 http://ftpmaster.internal/ubuntu disco/main s390x tar s390x 1.30+dfsg-3 [229 kB] Get:14 http://ftpmaster.internal/ubuntu disco-proposed/main s390x init-system-helpers all 1.56 [38.8 kB] Get:15 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libcc1-0 s390x 8.2.0-10ubuntu1 [37.1 kB] Get:16 http://ftpmaster.internal/ubuntu disco-proposed/main s390x gcc-8-base s390x 8.2.0-10ubuntu1 [18.7 kB] Get:17 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libgcc1 s390x 1:8.2.0-10ubuntu1 [25.1 kB] Get:18 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libgomp1 s390x 8.2.0-10ubuntu1 [69.9 kB] Get:19 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libitm1 s390x 8.2.0-10ubuntu1 [26.9 kB] Get:20 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libatomic1 s390x 8.2.0-10ubuntu1 [8436 B] Get:21 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libasan5 s390x 8.2.0-10ubuntu1 [326 kB] Get:22 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libubsan1 s390x 8.2.0-10ubuntu1 [115 kB] Get:23 http://ftpmaster.internal/ubuntu disco-proposed/main s390x g++-8 s390x 8.2.0-10ubuntu1 [6362 kB] Get:24 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libstdc++-8-dev s390x 8.2.0-10ubuntu1 [1503 kB] Get:25 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libgcc-8-dev s390x 8.2.0-10ubuntu1 [648 kB] Get:26 http://ftpmaster.internal/ubuntu disco-proposed/main s390x gcc-8 s390x 8.2.0-10ubuntu1 [6266 kB] Get:27 http://ftpmaster.internal/ubuntu disco-proposed/main s390x cpp-8 s390x 8.2.0-10ubuntu1 [5505 kB] Get:28 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libstdc++6 s390x 8.2.0-10ubuntu1 [396 kB] Get:29 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libbinutils s390x 2.31.1-8ubuntu1 [304 kB] Get:30 http://ftpmaster.internal/ubuntu disco-proposed/main s390x binutils-common s390x 2.31.1-8ubuntu1 [194 kB] Get:31 http://ftpmaster.internal/ubuntu disco-proposed/main s390x binutils s390x 2.31.1-8ubuntu1 [3324 B] Get:32 http://ftpmaster.internal/ubuntu disco-proposed/main s390x binutils-s390x-linux-gnu s390x 2.31.1-8ubuntu1 [1677 kB] Get:33 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libudev1 s390x 239-7ubuntu12 [50.0 kB] Get:34 http://ftpmaster.internal/ubuntu disco/main s390x libapt-pkg5.0 s390x 1.8.0~alpha2ubuntu1 [745 kB] Get:35 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libgnutls30 s390x 3.6.4-2ubuntu2 [652 kB] Get:36 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libseccomp2 s390x 2.3.3-3ubuntu2 [40.3 kB] Get:37 http://ftpmaster.internal/ubuntu disco/main s390x apt s390x 1.8.0~alpha2ubuntu1 [1136 kB] Get:38 http://ftpmaster.internal/ubuntu disco-proposed/main s390x systemd-sysv s390x 239-7ubuntu12 [9396 B] Get:39 http://ftpmaster.internal/ubuntu disco/main s390x libapparmor1 s390x 2.12-4ubuntu10 [28.6 kB] Get:40 http://ftpmaster.internal/ubuntu disco/main s390x libaudit-common all 1:2.8.3-1ubuntu3 [4068 B] Get:41 http://ftpmaster.internal/ubuntu disco/main s390x libcap-ng0 s390x 0.7.9-1build1 [10.6 kB] Get:42 http://ftpmaster.internal/ubuntu disco/main s390x libaudit1 s390x 1:2.8.3-1ubuntu3 [37.0 kB] Get:43 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libgpg-error0 s390x 1.32-3 [52.3 kB] Get:44 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libkmod2 s390x 25-1ubuntu2 [37.8 kB] Get:45 http://ftpmaster.internal/ubuntu disco-proposed/main s390x systemd s390x 239-7ubuntu12 [2671 kB] Get:46 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libsystemd0 s390x 239-7ubuntu12 [191 kB] Get:47 http://ftpmaster.internal/ubuntu disco-proposed/main s390x init s390x 1.56 [6652 B] Get:48 http://ftpmaster.internal/ubuntu disco/main s390x libgcrypt20 s390x 1.8.4-3ubuntu1 [350 kB] Get:49 http://ftpmaster.internal/ubuntu disco/main s390x libselinux1 s390x 2.8-1build2 [63.8 kB] Get:50 http://ftpmaster.internal/ubuntu disco/main s390x libsemanage-common all 2.8-1build2 [6892 B] Get:51 http://ftpmaster.internal/ubuntu disco/main s390x libsemanage1 s390x 2.8-1build2 [78.6 kB] Get:52 http://ftpmaster.internal/ubuntu disco/main s390x libdevmapper1.02.1 s390x 2:1.02.145-4.1ubuntu4 [122 kB] Get:53 http://ftpmaster.internal/ubuntu disco/main s390x dmsetup s390x 2:1.02.145-4.1ubuntu4 [73.0 kB] Get:54 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libsqlite3-0 s390x 3.25.3-2 [491 kB] Get:55 http://ftpmaster.internal/ubuntu disco/main s390x tzdata all 2018g-1 [188 kB] Get:56 http://ftpmaster.internal/ubuntu disco/main s390x g++ s390x 4:8.2.0-2ubuntu2 [1604 B] Get:57 http://ftpmaster.internal/ubuntu disco/main s390x gcc s390x 4:8.2.0-2ubuntu2 [5208 B] Get:58 http://ftpmaster.internal/ubuntu disco/main s390x cpp s390x 4:8.2.0-2ubuntu2 [27.6 kB] Get:59 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libfakeroot s390x 1.23-1 [24.6 kB] Get:60 http://ftpmaster.internal/ubuntu disco-proposed/main s390x fakeroot s390x 1.23-1 [60.7 kB] Get:61 http://ftpmaster.internal/ubuntu disco-proposed/main s390x linux-libc-dev s390x 4.18.0-12.13 [1051 kB] Get:62 http://ftpmaster.internal/ubuntu disco/main s390x lockfile-progs s390x 0.1.18 [9564 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 41.3 MB in 2s (17.7 MB/s) (Reading database ... 12423 files and directories currently installed.) Preparing to unpack .../base-files_10.1ubuntu8_s390x.deb ... Unpacking base-files (10.1ubuntu8) over (10.1ubuntu7) ... Setting up base-files (10.1ubuntu8) ... Installing new version of config file /etc/issue ... Installing new version of config file /etc/issue.net ... Installing new version of config file /etc/lsb-release ... (Reading database ... 12423 files and directories currently installed.) Preparing to unpack .../dash_0.5.10.2-1_s390x.deb ... Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' Unpacking dash (0.5.10.2-1) over (0.5.8-2.10) ... Setting up dash (0.5.10.2-1) ... Removing 'diversion of /bin/sh to /bin/sh.distrib by bash' Adding 'diversion of /bin/sh to /bin/sh.distrib by dash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' (Reading database ... 12423 files and directories currently installed.) Preparing to unpack .../findutils_4.6.0+git+20181018-1_s390x.deb ... Unpacking findutils (4.6.0+git+20181018-1) over (4.6.0+git+20180808-2) ... Setting up findutils (4.6.0+git+20181018-1) ... (Reading database ... 12423 files and directories currently installed.) Preparing to unpack .../hostname_3.21_s390x.deb ... Unpacking hostname (3.21) over (3.20) ... Setting up hostname (3.21) ... (Reading database ... 12423 files and directories currently installed.) Preparing to unpack .../0-perl_5.28.0-4_s390x.deb ... Unpacking perl (5.28.0-4) over (5.26.2-7) ... Selecting previously unselected package perl-modules-5.28. Preparing to unpack .../1-perl-modules-5.28_5.28.0-4_all.deb ... Unpacking perl-modules-5.28 (5.28.0-4) ... Selecting previously unselected package libgdbm6:s390x. Preparing to unpack .../2-libgdbm6_1.18.1-1_s390x.deb ... Unpacking libgdbm6:s390x (1.18.1-1) ... Preparing to unpack .../3-libgdbm-compat4_1.18.1-1_s390x.deb ... Unpacking libgdbm-compat4:s390x (1.18.1-1) over (1.14.1-6) ... Selecting previously unselected package libperl5.28:s390x. Preparing to unpack .../4-libperl5.28_5.28.0-4_s390x.deb ... Unpacking libperl5.28:s390x (5.28.0-4) ... Preparing to unpack .../5-perl-base_5.28.0-4_s390x.deb ... Unpacking perl-base (5.28.0-4) over (5.26.2-7) ... Setting up perl-base (5.28.0-4) ... (Reading database ... 14310 files and directories currently installed.) Preparing to unpack .../libdb5.3_5.3.28+dfsg1-0.2_s390x.deb ... Unpacking libdb5.3:s390x (5.3.28+dfsg1-0.2) over (5.3.28+dfsg1-0.1) ... Setting up libdb5.3:s390x (5.3.28+dfsg1-0.2) ... (Reading database ... 14310 files and directories currently installed.) Preparing to unpack .../archives/sed_4.5-2_s390x.deb ... Unpacking sed (4.5-2) over (4.5-1) ... Setting up sed (4.5-2) ... (Reading database ... 14310 files and directories currently installed.) Preparing to unpack .../tar_1.30+dfsg-3_s390x.deb ... Unpacking tar (1.30+dfsg-3) over (1.30+dfsg-2) ... Setting up tar (1.30+dfsg-3) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.56_all.deb ... Unpacking init-system-helpers (1.56) over (1.54) ... Setting up init-system-helpers (1.56) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libcc1-0_8.2.0-10ubuntu1_s390x.deb ... Unpacking libcc1-0:s390x (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../gcc-8-base_8.2.0-10ubuntu1_s390x.deb ... Unpacking gcc-8-base:s390x (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Setting up gcc-8-base:s390x (8.2.0-10ubuntu1) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libgcc1_1%3a8.2.0-10ubuntu1_s390x.deb ... Unpacking libgcc1:s390x (1:8.2.0-10ubuntu1) over (1:8.2.0-7ubuntu1) ... Setting up libgcc1:s390x (1:8.2.0-10ubuntu1) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../00-libgomp1_8.2.0-10ubuntu1_s390x.deb ... Unpacking libgomp1:s390x (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../01-libitm1_8.2.0-10ubuntu1_s390x.deb ... Unpacking libitm1:s390x (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../02-libatomic1_8.2.0-10ubuntu1_s390x.deb ... Unpacking libatomic1:s390x (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../03-libasan5_8.2.0-10ubuntu1_s390x.deb ... Unpacking libasan5:s390x (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../04-libubsan1_8.2.0-10ubuntu1_s390x.deb ... Unpacking libubsan1:s390x (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../05-g++-8_8.2.0-10ubuntu1_s390x.deb ... Unpacking g++-8 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../06-libstdc++-8-dev_8.2.0-10ubuntu1_s390x.deb ... Unpacking libstdc++-8-dev:s390x (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../07-libgcc-8-dev_8.2.0-10ubuntu1_s390x.deb ... Unpacking libgcc-8-dev:s390x (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../08-gcc-8_8.2.0-10ubuntu1_s390x.deb ... Unpacking gcc-8 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../09-cpp-8_8.2.0-10ubuntu1_s390x.deb ... Unpacking cpp-8 (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Preparing to unpack .../10-libstdc++6_8.2.0-10ubuntu1_s390x.deb ... Unpacking libstdc++6:s390x (8.2.0-10ubuntu1) over (8.2.0-7ubuntu1) ... Setting up libstdc++6:s390x (8.2.0-10ubuntu1) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libbinutils_2.31.1-8ubuntu1_s390x.deb ... Unpacking libbinutils:s390x (2.31.1-8ubuntu1) over (2.31.1-6ubuntu1) ... Preparing to unpack .../binutils-common_2.31.1-8ubuntu1_s390x.deb ... Unpacking binutils-common:s390x (2.31.1-8ubuntu1) over (2.31.1-6ubuntu1) ... Preparing to unpack .../binutils_2.31.1-8ubuntu1_s390x.deb ... Unpacking binutils (2.31.1-8ubuntu1) over (2.31.1-6ubuntu1) ... Preparing to unpack .../binutils-s390x-linux-gnu_2.31.1-8ubuntu1_s390x.deb ... Unpacking binutils-s390x-linux-gnu (2.31.1-8ubuntu1) over (2.31.1-6ubuntu1) ... Preparing to unpack .../libudev1_239-7ubuntu12_s390x.deb ... Unpacking libudev1:s390x (239-7ubuntu12) over (239-7ubuntu10) ... Setting up libudev1:s390x (239-7ubuntu12) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libapt-pkg5.0_1.8.0~alpha2ubuntu1_s390x.deb ... Unpacking libapt-pkg5.0:s390x (1.8.0~alpha2ubuntu1) over (1.7.0) ... Setting up libapt-pkg5.0:s390x (1.8.0~alpha2ubuntu1) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.6.4-2ubuntu2_s390x.deb ... Unpacking libgnutls30:s390x (3.6.4-2ubuntu2) over (3.6.4-2ubuntu1) ... Setting up libgnutls30:s390x (3.6.4-2ubuntu2) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.3.3-3ubuntu2_s390x.deb ... Unpacking libseccomp2:s390x (2.3.3-3ubuntu2) over (2.3.3-3ubuntu1) ... Setting up libseccomp2:s390x (2.3.3-3ubuntu2) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../apt_1.8.0~alpha2ubuntu1_s390x.deb ... Unpacking apt (1.8.0~alpha2ubuntu1) over (1.7.0) ... Setting up apt (1.8.0~alpha2ubuntu1) ... Installing new version of config file /etc/apt/apt.conf.d/01autoremove ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../systemd-sysv_239-7ubuntu12_s390x.deb ... Unpacking systemd-sysv (239-7ubuntu12) over (239-7ubuntu10) ... Preparing to unpack .../libapparmor1_2.12-4ubuntu10_s390x.deb ... Unpacking libapparmor1:s390x (2.12-4ubuntu10) over (2.12-4ubuntu8) ... Preparing to unpack .../libaudit-common_1%3a2.8.3-1ubuntu3_all.deb ... Unpacking libaudit-common (1:2.8.3-1ubuntu3) over (1:2.8.3-1ubuntu2) ... Setting up libaudit-common (1:2.8.3-1ubuntu3) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.7.9-1build1_s390x.deb ... Unpacking libcap-ng0:s390x (0.7.9-1build1) over (0.7.9-1) ... Setting up libcap-ng0:s390x (0.7.9-1build1) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a2.8.3-1ubuntu3_s390x.deb ... Unpacking libaudit1:s390x (1:2.8.3-1ubuntu3) over (1:2.8.3-1ubuntu2) ... Setting up libaudit1:s390x (1:2.8.3-1ubuntu3) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libgpg-error0_1.32-3_s390x.deb ... Unpacking libgpg-error0:s390x (1.32-3) over (1.32-1) ... Setting up libgpg-error0:s390x (1.32-3) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libkmod2_25-1ubuntu2_s390x.deb ... Unpacking libkmod2:s390x (25-1ubuntu2) over (25-1ubuntu1) ... Preparing to unpack .../systemd_239-7ubuntu12_s390x.deb ... Unpacking systemd (239-7ubuntu12) over (239-7ubuntu10) ... Preparing to unpack .../libsystemd0_239-7ubuntu12_s390x.deb ... Unpacking libsystemd0:s390x (239-7ubuntu12) over (239-7ubuntu10) ... Setting up libsystemd0:s390x (239-7ubuntu12) ... Setting up libapparmor1:s390x (2.12-4ubuntu10) ... Setting up libkmod2:s390x (25-1ubuntu2) ... Setting up systemd (239-7ubuntu12) ... Setting up systemd-sysv (239-7ubuntu12) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../archives/init_1.56_s390x.deb ... Unpacking init (1.56) over (1.54) ... Preparing to unpack .../libgcrypt20_1.8.4-3ubuntu1_s390x.deb ... Unpacking libgcrypt20:s390x (1.8.4-3ubuntu1) over (1.8.3-1ubuntu1) ... Setting up libgcrypt20:s390x (1.8.4-3ubuntu1) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libselinux1_2.8-1build2_s390x.deb ... Unpacking libselinux1:s390x (2.8-1build2) over (2.8-1build1) ... Setting up libselinux1:s390x (2.8-1build2) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libsemanage-common_2.8-1build2_all.deb ... Unpacking libsemanage-common (2.8-1build2) over (2.8-1build1) ... Setting up libsemanage-common (2.8-1build2) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../libsemanage1_2.8-1build2_s390x.deb ... Unpacking libsemanage1:s390x (2.8-1build2) over (2.8-1build1) ... Setting up libsemanage1:s390x (2.8-1build2) ... (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../00-libdevmapper1.02.1_2%3a1.02.145-4.1ubuntu4_s390x.deb ... Unpacking libdevmapper1.02.1:s390x (2:1.02.145-4.1ubuntu4) over (2:1.02.145-4.1ubuntu3) ... Preparing to unpack .../01-dmsetup_2%3a1.02.145-4.1ubuntu4_s390x.deb ... Unpacking dmsetup (2:1.02.145-4.1ubuntu4) over (2:1.02.145-4.1ubuntu3) ... Preparing to unpack .../02-libsqlite3-0_3.25.3-2_s390x.deb ... Unpacking libsqlite3-0:s390x (3.25.3-2) over (3.24.0-1) ... Preparing to unpack .../03-tzdata_2018g-1_all.deb ... Unpacking tzdata (2018g-1) over (2018e-1) ... Preparing to unpack .../04-g++_4%3a8.2.0-2ubuntu2_s390x.deb ... Unpacking g++ (4:8.2.0-2ubuntu2) over (4:8.2.0-1ubuntu1) ... Preparing to unpack .../05-gcc_4%3a8.2.0-2ubuntu2_s390x.deb ... Unpacking gcc (4:8.2.0-2ubuntu2) over (4:8.2.0-1ubuntu1) ... Preparing to unpack .../06-cpp_4%3a8.2.0-2ubuntu2_s390x.deb ... Unpacking cpp (4:8.2.0-2ubuntu2) over (4:8.2.0-1ubuntu1) ... Preparing to unpack .../07-libfakeroot_1.23-1_s390x.deb ... Unpacking libfakeroot:s390x (1.23-1) over (1.22-2ubuntu1) ... Preparing to unpack .../08-fakeroot_1.23-1_s390x.deb ... Unpacking fakeroot (1.23-1) over (1.22-2ubuntu1) ... Preparing to unpack .../09-linux-libc-dev_4.18.0-12.13_s390x.deb ... Unpacking linux-libc-dev:s390x (4.18.0-12.13) over (4.18.0-10.11) ... Preparing to unpack .../10-lockfile-progs_0.1.18_s390x.deb ... Unpacking lockfile-progs (0.1.18) over (0.1.17build1) ... Setting up cpp-8 (8.2.0-10ubuntu1) ... Setting up libgomp1:s390x (8.2.0-10ubuntu1) ... Setting up libatomic1:s390x (8.2.0-10ubuntu1) ... Setting up cpp (4:8.2.0-2ubuntu2) ... Setting up libcc1-0:s390x (8.2.0-10ubuntu1) ... Setting up tzdata (2018g-1) ... Current default time zone: 'Etc/UTC' Local time is now: Sat Nov 24 03:42:02 UTC 2018. Universal Time is now: Sat Nov 24 03:42:02 UTC 2018. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up init (1.56) ... Setting up linux-libc-dev:s390x (4.18.0-12.13) ... Setting up libdevmapper1.02.1:s390x (2:1.02.145-4.1ubuntu4) ... Setting up libgdbm6:s390x (1.18.1-1) ... Setting up binutils-common:s390x (2.31.1-8ubuntu1) ... Setting up perl-modules-5.28 (5.28.0-4) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up libfakeroot:s390x (1.23-1) ... Setting up libsqlite3-0:s390x (3.25.3-2) ... Setting up dmsetup (2:1.02.145-4.1ubuntu4) ... Setting up libgdbm-compat4:s390x (1.18.1-1) ... Setting up lockfile-progs (0.1.18) ... Setting up libasan5:s390x (8.2.0-10ubuntu1) ... Setting up libitm1:s390x (8.2.0-10ubuntu1) ... Setting up libubsan1:s390x (8.2.0-10ubuntu1) ... Setting up libbinutils:s390x (2.31.1-8ubuntu1) ... Setting up libperl5.28:s390x (5.28.0-4) ... Setting up binutils-s390x-linux-gnu (2.31.1-8ubuntu1) ... Setting up fakeroot (1.23-1) ... Setting up perl (5.28.0-4) ... Setting up libgcc-8-dev:s390x (8.2.0-10ubuntu1) ... Setting up binutils (2.31.1-8ubuntu1) ... Setting up libstdc++-8-dev:s390x (8.2.0-10ubuntu1) ... Setting up gcc-8 (8.2.0-10ubuntu1) ... Setting up g++-8 (8.2.0-10ubuntu1) ... Setting up gcc (4:8.2.0-2ubuntu2) ... Setting up g++ (4:8.2.0-2ubuntu2) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package PACKAGEBUILD-15698596 s390x disco-proposed -c chroot:build-PACKAGEBUILD-15698596 --arch=s390x --dist=disco-proposed --nolog meshlab_1.3.2+dfsg1-4build1.dsc Initiating build PACKAGEBUILD-15698596 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:53:31 UTC 2018 s390x sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on bos02-s390x-020.buildd +==============================================================================+ | meshlab 1.3.2+dfsg1-4build1 (s390x) 24 Nov 2018 03:42 | +==============================================================================+ Package: meshlab Version: 1.3.2+dfsg1-4build1 Source Version: 1.3.2+dfsg1-4build1 Distribution: disco-proposed Machine Architecture: s390x Host Architecture: s390x Build Architecture: s390x I: NOTICE: Log filtering will replace 'build/meshlab-_FvLnj/meshlab-1.3.2+dfsg1' with '<>' I: NOTICE: Log filtering will replace 'build/meshlab-_FvLnj' with '<>' I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-15698596/chroot-autobuild' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- meshlab_1.3.2+dfsg1-4build1.dsc exists in .; copying to chroot Check architectures ------------------- Check dependencies ------------------ Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-8rb9f8/apt_archive/sbuild-build-depends-core-dummy.deb'. Ign:1 copy:/<>/resolver-8rb9f8/apt_archive ./ InRelease Get:2 copy:/<>/resolver-8rb9f8/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-8rb9f8/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-8rb9f8/apt_archive ./ Sources [214 B] Get:5 copy:/<>/resolver-8rb9f8/apt_archive ./ Packages [527 B] Fetched 2860 B in 0s (0 B/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install core build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libgdbm5 libperl5.26 perl-modules-5.26 Use 'apt autoremove' to remove them. The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 852 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-8rb9f8/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 852 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_s390x.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... Merged Build-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 Filtered Build-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 'sbuild-build-depends-meshlab-dummy' in '/<>/resolver-Jhfyje/apt_archive/sbuild-build-depends-meshlab-dummy.deb'. Ign:1 copy:/<>/resolver-Jhfyje/apt_archive ./ InRelease Get:2 copy:/<>/resolver-Jhfyje/apt_archive ./ Release [2119 B] Ign:3 copy:/<>/resolver-Jhfyje/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-Jhfyje/apt_archive ./ Sources [283 B] Get:5 copy:/<>/resolver-Jhfyje/apt_archive ./ Packages [603 B] Fetched 3005 B in 0s (0 B/s) Reading package lists... Reading package lists... +------------------------------------------------------------------------------+ | Install meshlab build dependencies (apt-based resolver) | +------------------------------------------------------------------------------+ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libgdbm5 libperl5.26 perl-modules-5.26 Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism docbook-xsl dwz file fontconfig fontconfig-config fonts-dejavu-core gettext gettext-base groff-base intltool-debian lib3ds-1-3 lib3ds-dev libarchive-zip-perl libaudio2 libbsd0 libbz2-dev libcroco3 libdbus-1-3 libdrm-amdgpu1 libdrm-common libdrm-dev libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl-mesa0 libegl1 libeigen3-dev libelf1 libexpat1 libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libgbm1 libgl1 libgl1-mesa-dev libgl1-mesa-dri libglapi-mesa libgles1 libgles2 libglew-dev libglew2.1 libglib2.0-0 libglu1-mesa libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libglvnd0 libglx-mesa0 libglx0 libice6 libicu63 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libmagic-mgc libmagic1 libmng2 libmuparser-dev libmuparser2v5 libopenctm-dev libopenctm1 libopengl0 libpipeline1 libpthread-stubs0-dev libqhull-dev libqhull-r7 libqhull7 libqt4-dbus libqt4-declarative libqt4-designer libqt4-dev libqt4-dev-bin libqt4-help libqt4-network libqt4-opengl libqt4-opengl-dev libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 libsensors4 libsigsegv2 libsm6 libtiff5 libtool libwayland-client0 libwayland-server0 libwebp6 libx11-6 libx11-data libx11-dev libx11-xcb-dev libx11-xcb1 libxau-dev libxau6 libxcb-dri2-0 libxcb-dri2-0-dev libxcb-dri3-0 libxcb-dri3-dev libxcb-glx0 libxcb-glx0-dev libxcb-present-dev libxcb-present0 libxcb-randr0 libxcb-randr0-dev libxcb-render0 libxcb-render0-dev libxcb-shape0 libxcb-shape0-dev libxcb-sync-dev libxcb-sync1 libxcb-xfixes0 libxcb-xfixes0-dev libxcb1 libxcb1-dev libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes-dev libxfixes3 libxi6 libxml2 libxrender1 libxshmfence-dev libxshmfence1 libxslt1.1 libxt6 libxxf86vm-dev libxxf86vm1 m4 man-db mesa-common-dev pkg-config po-debconf qdbus qt4-linguist-tools qt4-qmake qtchooser qtcore4-l10n sgml-base ucf x11-common x11proto-core-dev x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev x11proto-xf86vidmode-dev xml-core xorg-sgml-doctools xsltproc xtrans-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois vacation dh-make dbtoepub docbook-xsl-doc-html | docbook-xsl-doc-pdf | docbook-xsl-doc-text | docbook-xsl-doc docbook-xsl-saxon fop libsaxon-java libxalan2-java libxslthl-java xalan gettext-doc libasprintf-dev libgettextpo-dev groff nas libeigen3-doc libmpfrc++-dev glew-utils liblcms2-utils libqt4-declarative-folderlistmodel libqt4-declarative-gestures libqt4-declarative-particles libqt4-declarative-shaders qt4-qmlviewer firebird-dev libmysqlclient-dev libpq-dev libsqlite0-dev libsqlite3-dev qt4-dev-tools qt4-doc unixodbc-dev libicu55 libthai0 qt4-qtconfig lm-sensors libtool-doc gfortran | fortran95-compiler gcj-jdk libx11-doc libxcb-doc libxext-doc m4-doc apparmor less www-browser libmail-box-perl sgml-base-doc Recommended packages: docbook-xml curl | wget | lynx bzip2-doc dbus libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libqt4-sql-mysql | libqt4-sql-odbc | libqt4-sql-psql | libqt4-sql-sqlite libcups2 qt-at-spi libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdmainutils debhelper dh-autoreconf dh-strip-nondeterminism docbook-xsl dwz file fontconfig fontconfig-config fonts-dejavu-core gettext gettext-base groff-base intltool-debian lib3ds-1-3 lib3ds-dev libarchive-zip-perl libaudio2 libbsd0 libbz2-dev libcroco3 libdbus-1-3 libdrm-amdgpu1 libdrm-common libdrm-dev libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl-mesa0 libegl1 libeigen3-dev libelf1 libexpat1 libfile-stripnondeterminism-perl libfontconfig1 libfreetype6 libgbm1 libgl1 libgl1-mesa-dev libgl1-mesa-dri libglapi-mesa libgles1 libgles2 libglew-dev libglew2.1 libglib2.0-0 libglu1-mesa libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libglvnd0 libglx-mesa0 libglx0 libice6 libicu63 libjbig0 libjpeg-turbo8 libjpeg8 liblcms2-2 libmagic-mgc libmagic1 libmng2 libmuparser-dev libmuparser2v5 libopenctm-dev libopenctm1 libopengl0 libpipeline1 libpthread-stubs0-dev libqhull-dev libqhull-r7 libqhull7 libqt4-dbus libqt4-declarative libqt4-designer libqt4-dev libqt4-dev-bin libqt4-help libqt4-network libqt4-opengl libqt4-opengl-dev libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 libsensors4 libsigsegv2 libsm6 libtiff5 libtool libwayland-client0 libwayland-server0 libwebp6 libx11-6 libx11-data libx11-dev libx11-xcb-dev libx11-xcb1 libxau-dev libxau6 libxcb-dri2-0 libxcb-dri2-0-dev libxcb-dri3-0 libxcb-dri3-dev libxcb-glx0 libxcb-glx0-dev libxcb-present-dev libxcb-present0 libxcb-randr0 libxcb-randr0-dev libxcb-render0 libxcb-render0-dev libxcb-shape0 libxcb-shape0-dev libxcb-sync-dev libxcb-sync1 libxcb-xfixes0 libxcb-xfixes0-dev libxcb1 libxcb1-dev libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes-dev libxfixes3 libxi6 libxml2 libxrender1 libxshmfence-dev libxshmfence1 libxslt1.1 libxt6 libxxf86vm-dev libxxf86vm1 m4 man-db mesa-common-dev pkg-config po-debconf qdbus qt4-linguist-tools qt4-qmake qtchooser qtcore4-l10n sbuild-build-depends-meshlab-dummy sgml-base ucf x11-common x11proto-core-dev x11proto-damage-dev x11proto-dev x11proto-fixes-dev x11proto-xext-dev x11proto-xf86vidmode-dev xml-core xorg-sgml-doctools xsltproc xtrans-dev 0 upgraded, 172 newly installed, 0 to remove and 0 not upgraded. Need to get 49.6 MB of archives. After this operation, 242 MB of additional disk space will be used. Get:1 copy:/<>/resolver-Jhfyje/apt_archive ./ sbuild-build-depends-meshlab-dummy 0.invalid.0 [932 B] Get:2 http://ftpmaster.internal/ubuntu disco/main s390x libbsd0 s390x 0.9.1-1 [43.1 kB] Get:3 http://ftpmaster.internal/ubuntu disco/main s390x bsdmainutils s390x 11.1.2ubuntu2 [181 kB] Get:4 http://ftpmaster.internal/ubuntu disco/main s390x groff-base s390x 1.22.3-10 [1174 kB] Get:5 http://ftpmaster.internal/ubuntu disco/main s390x libpipeline1 s390x 1.5.0-2 [24.4 kB] Get:6 http://ftpmaster.internal/ubuntu disco/main s390x man-db s390x 2.8.4-3 [1016 kB] Get:7 http://ftpmaster.internal/ubuntu disco/main s390x sgml-base all 1.29 [12.3 kB] Get:8 http://ftpmaster.internal/ubuntu disco/main s390x libmagic-mgc s390x 1:5.34-2 [197 kB] Get:9 http://ftpmaster.internal/ubuntu disco/main s390x libmagic1 s390x 1:5.34-2 [69.0 kB] Get:10 http://ftpmaster.internal/ubuntu disco/main s390x file s390x 1:5.34-2 [22.6 kB] Get:11 http://ftpmaster.internal/ubuntu disco/main s390x libdbus-1-3 s390x 1.12.10-1ubuntu2 [168 kB] Get:12 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libelf1 s390x 0.175-1 [41.4 kB] Get:13 http://ftpmaster.internal/ubuntu disco/main s390x libexpat1 s390x 2.2.6-1 [82.9 kB] Get:14 http://ftpmaster.internal/ubuntu disco/main s390x libglib2.0-0 s390x 2.58.1-2 [1085 kB] Get:15 http://ftpmaster.internal/ubuntu disco/main s390x libicu63 s390x 63.1-4 [8040 kB] Get:16 http://ftpmaster.internal/ubuntu disco/main s390x libxml2 s390x 2.9.4+dfsg1-7ubuntu3 [553 kB] Get:17 http://ftpmaster.internal/ubuntu disco/main s390x ucf all 3.0038 [50.5 kB] Get:18 http://ftpmaster.internal/ubuntu disco/main s390x gettext-base s390x 0.19.8.1-9 [48.1 kB] Get:19 http://ftpmaster.internal/ubuntu disco/main s390x libdrm-common all 2.4.95-1 [5000 B] Get:20 http://ftpmaster.internal/ubuntu disco/main s390x libdrm2 s390x 2.4.95-1 [28.8 kB] Get:21 http://ftpmaster.internal/ubuntu disco/main s390x libxau6 s390x 1:1.0.8-1 [7420 B] Get:22 http://ftpmaster.internal/ubuntu disco/main s390x libxdmcp6 s390x 1:1.1.2-3 [10.7 kB] Get:23 http://ftpmaster.internal/ubuntu disco/main s390x libxcb1 s390x 1.13.1-1 [43.2 kB] Get:24 http://ftpmaster.internal/ubuntu disco/main s390x libx11-data all 2:1.6.7-1 [113 kB] Get:25 http://ftpmaster.internal/ubuntu disco/main s390x libx11-6 s390x 2:1.6.7-1 [544 kB] Get:26 http://ftpmaster.internal/ubuntu disco/main s390x libxext6 s390x 2:1.3.3-1 [27.8 kB] Get:27 http://ftpmaster.internal/ubuntu disco/main s390x libsigsegv2 s390x 2.12-2 [13.8 kB] Get:28 http://ftpmaster.internal/ubuntu disco/main s390x m4 s390x 1.4.18-1ubuntu1 [194 kB] Get:29 http://ftpmaster.internal/ubuntu disco/main s390x autoconf all 2.69-11 [322 kB] Get:30 http://ftpmaster.internal/ubuntu disco/main s390x autotools-dev all 20180224.1 [39.6 kB] Get:31 http://ftpmaster.internal/ubuntu disco-proposed/main s390x automake all 1:1.16.1-4 [522 kB] Get:32 http://ftpmaster.internal/ubuntu disco/main s390x autopoint all 0.19.8.1-9 [412 kB] Get:33 http://ftpmaster.internal/ubuntu disco/main s390x libtool all 2.4.6-6 [195 kB] Get:34 http://ftpmaster.internal/ubuntu disco/main s390x dh-autoreconf all 19 [16.1 kB] Get:35 http://ftpmaster.internal/ubuntu disco/main s390x libarchive-zip-perl all 1.64-1 [84.9 kB] Get:36 http://ftpmaster.internal/ubuntu disco/main s390x libfile-stripnondeterminism-perl all 0.45.0-1 [15.1 kB] Get:37 http://ftpmaster.internal/ubuntu disco/main s390x dh-strip-nondeterminism all 0.45.0-1 [5128 B] Get:38 http://ftpmaster.internal/ubuntu disco/main s390x dwz s390x 0.12-2 [73.2 kB] Get:39 http://ftpmaster.internal/ubuntu disco/main s390x libcroco3 s390x 0.6.12-2 [74.2 kB] Get:40 http://ftpmaster.internal/ubuntu disco/main s390x gettext s390x 0.19.8.1-9 [858 kB] Get:41 http://ftpmaster.internal/ubuntu disco/main s390x intltool-debian all 0.35.0+20060710.4 [24.9 kB] Get:42 http://ftpmaster.internal/ubuntu disco-proposed/main s390x po-debconf all 1.0.21 [233 kB] Get:43 http://ftpmaster.internal/ubuntu disco/main s390x debhelper all 11.3.2ubuntu1 [883 kB] Get:44 http://ftpmaster.internal/ubuntu disco/main s390x xml-core all 0.18 [21.3 kB] Get:45 http://ftpmaster.internal/ubuntu disco/universe s390x docbook-xsl all 1.79.1+dfsg-2 [1075 kB] Get:46 http://ftpmaster.internal/ubuntu disco/main s390x libfreetype6 s390x 2.8.1-2ubuntu2 [314 kB] Get:47 http://ftpmaster.internal/ubuntu disco/main s390x fonts-dejavu-core all 2.37-1 [1041 kB] Get:48 http://ftpmaster.internal/ubuntu disco/main s390x fontconfig-config all 2.13.0-5ubuntu3 [28.4 kB] Get:49 http://ftpmaster.internal/ubuntu disco/main s390x libfontconfig1 s390x 2.13.0-5ubuntu3 [106 kB] Get:50 http://ftpmaster.internal/ubuntu disco/main s390x fontconfig s390x 2.13.0-5ubuntu3 [170 kB] Get:51 http://ftpmaster.internal/ubuntu disco/universe s390x lib3ds-1-3 s390x 1.3.0-9 [38.4 kB] Get:52 http://ftpmaster.internal/ubuntu disco/universe s390x lib3ds-dev s390x 1.3.0-9 [27.2 kB] Get:53 http://ftpmaster.internal/ubuntu disco/main s390x x11-common all 1:7.7+19ubuntu8 [22.5 kB] Get:54 http://ftpmaster.internal/ubuntu disco/main s390x libice6 s390x 2:1.0.9-2 [36.9 kB] Get:55 http://ftpmaster.internal/ubuntu disco/main s390x libsm6 s390x 2:1.2.2-1 [15.3 kB] Get:56 http://ftpmaster.internal/ubuntu disco/main s390x libxt6 s390x 1:1.1.5-1 [147 kB] Get:57 http://ftpmaster.internal/ubuntu disco/universe s390x libaudio2 s390x 1.9.4-6 [47.7 kB] Get:58 http://ftpmaster.internal/ubuntu disco/main s390x libbz2-dev s390x 1.0.6-9 [30.6 kB] Get:59 http://ftpmaster.internal/ubuntu disco/main s390x libdrm-amdgpu1 s390x 2.4.95-1 [16.6 kB] Get:60 http://ftpmaster.internal/ubuntu disco/main s390x libdrm-radeon1 s390x 2.4.95-1 [20.6 kB] Get:61 http://ftpmaster.internal/ubuntu disco/main s390x libdrm-nouveau2 s390x 2.4.95-1 [15.4 kB] Get:62 http://ftpmaster.internal/ubuntu disco/main s390x libdrm-dev s390x 2.4.95-1 [117 kB] Get:63 http://ftpmaster.internal/ubuntu disco/main s390x libwayland-server0 s390x 1.16.0-1ubuntu1 [28.0 kB] Get:64 http://ftpmaster.internal/ubuntu disco/main s390x libgbm1 s390x 18.2.2-0ubuntu1 [23.7 kB] Get:65 http://ftpmaster.internal/ubuntu disco/main s390x libglapi-mesa s390x 18.2.2-0ubuntu1 [40.1 kB] Get:66 http://ftpmaster.internal/ubuntu disco/main s390x libwayland-client0 s390x 1.16.0-1ubuntu1 [22.4 kB] Get:67 http://ftpmaster.internal/ubuntu disco/main s390x libx11-xcb1 s390x 2:1.6.7-1 [9180 B] Get:68 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-dri2-0 s390x 1.13.1-1 [6868 B] Get:69 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-dri3-0 s390x 1.13.1-1 [6540 B] Get:70 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-present0 s390x 1.13.1-1 [5416 B] Get:71 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-sync1 s390x 1.13.1-1 [8632 B] Get:72 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-xfixes0 s390x 1.13.1-1 [9136 B] Get:73 http://ftpmaster.internal/ubuntu disco/main s390x libxshmfence1 s390x 1.3-1 [5032 B] Get:74 http://ftpmaster.internal/ubuntu disco/main s390x libegl-mesa0 s390x 18.2.2-0ubuntu1 [81.0 kB] Get:75 http://ftpmaster.internal/ubuntu disco/main s390x libsensors4 s390x 1:3.4.0-4 [27.2 kB] Get:76 http://ftpmaster.internal/ubuntu disco/main s390x libgl1-mesa-dri s390x 18.2.2-0ubuntu1 [3379 kB] Get:77 http://ftpmaster.internal/ubuntu disco/main s390x libglvnd0 s390x 1.1.0-1 [82.9 kB] Get:78 http://ftpmaster.internal/ubuntu disco/main s390x libgles1 s390x 1.1.0-1 [13.6 kB] Get:79 http://ftpmaster.internal/ubuntu disco/main s390x xorg-sgml-doctools all 1:1.11-1 [12.9 kB] Get:80 http://ftpmaster.internal/ubuntu disco/main s390x x11proto-dev all 2018.4-4 [251 kB] Get:81 http://ftpmaster.internal/ubuntu disco/main s390x x11proto-core-dev all 2018.4-4 [2620 B] Get:82 http://ftpmaster.internal/ubuntu disco/main s390x libxau-dev s390x 1:1.0.8-1 [9352 B] Get:83 http://ftpmaster.internal/ubuntu disco/main s390x libxdmcp-dev s390x 1:1.1.2-3 [25.1 kB] Get:84 http://ftpmaster.internal/ubuntu disco/main s390x xtrans-dev all 1.3.5-1 [70.5 kB] Get:85 http://ftpmaster.internal/ubuntu disco/main s390x libpthread-stubs0-dev s390x 0.3-4 [3892 B] Get:86 http://ftpmaster.internal/ubuntu disco/main s390x libxcb1-dev s390x 1.13.1-1 [78.1 kB] Get:87 http://ftpmaster.internal/ubuntu disco/main s390x libx11-dev s390x 2:1.6.7-1 [608 kB] Get:88 http://ftpmaster.internal/ubuntu disco/main s390x mesa-common-dev s390x 18.2.2-0ubuntu1 [551 kB] Get:89 http://ftpmaster.internal/ubuntu disco/main s390x libglvnd-core-dev s390x 1.1.0-1 [12.6 kB] Get:90 http://ftpmaster.internal/ubuntu disco/main s390x libegl1 s390x 1.1.0-1 [29.7 kB] Get:91 http://ftpmaster.internal/ubuntu disco/main s390x libgles2 s390x 1.1.0-1 [22.2 kB] Get:92 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-glx0 s390x 1.13.1-1 [22.1 kB] Get:93 http://ftpmaster.internal/ubuntu disco/main s390x libxdamage1 s390x 1:1.1.4-3 [6740 B] Get:94 http://ftpmaster.internal/ubuntu disco/main s390x libxfixes3 s390x 1:5.0.3-1 [10.4 kB] Get:95 http://ftpmaster.internal/ubuntu disco/main s390x libxxf86vm1 s390x 1:1.1.4-1 [9952 B] Get:96 http://ftpmaster.internal/ubuntu disco/main s390x libglx-mesa0 s390x 18.2.2-0ubuntu1 [136 kB] Get:97 http://ftpmaster.internal/ubuntu disco/main s390x libglx0 s390x 1.1.0-1 [25.2 kB] Get:98 http://ftpmaster.internal/ubuntu disco/main s390x libgl1 s390x 1.1.0-1 [128 kB] Get:99 http://ftpmaster.internal/ubuntu disco/main s390x libopengl0 s390x 1.1.0-1 [44.9 kB] Get:100 http://ftpmaster.internal/ubuntu disco/main s390x libglvnd-dev s390x 1.1.0-1 [3396 B] Get:101 http://ftpmaster.internal/ubuntu disco/main s390x libx11-xcb-dev s390x 2:1.6.7-1 [9756 B] Get:102 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-dri3-dev s390x 1.13.1-1 [7396 B] Get:103 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-randr0 s390x 1.13.1-1 [16.5 kB] Get:104 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-render0 s390x 1.13.1-1 [14.6 kB] Get:105 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-render0-dev s390x 1.13.1-1 [18.3 kB] Get:106 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-randr0-dev s390x 1.13.1-1 [20.6 kB] Get:107 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-shape0 s390x 1.13.1-1 [5808 B] Get:108 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-shape0-dev s390x 1.13.1-1 [7092 B] Get:109 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-xfixes0-dev s390x 1.13.1-1 [11.6 kB] Get:110 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-sync-dev s390x 1.13.1-1 [10.6 kB] Get:111 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-present-dev s390x 1.13.1-1 [6916 B] Get:112 http://ftpmaster.internal/ubuntu disco/main s390x libxshmfence-dev s390x 1.3-1 [3704 B] Get:113 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-dri2-0-dev s390x 1.13.1-1 [8548 B] Get:114 http://ftpmaster.internal/ubuntu disco/main s390x libxcb-glx0-dev s390x 1.13.1-1 [28.0 kB] Get:115 http://ftpmaster.internal/ubuntu disco/main s390x x11proto-fixes-dev all 1:2018.4-4 [2620 B] Get:116 http://ftpmaster.internal/ubuntu disco/main s390x libxfixes-dev s390x 1:5.0.3-1 [10.7 kB] Get:117 http://ftpmaster.internal/ubuntu disco/main s390x x11proto-damage-dev all 1:2018.4-4 [2620 B] Get:118 http://ftpmaster.internal/ubuntu disco/main s390x libxdamage-dev s390x 1:1.1.4-3 [4876 B] Get:119 http://ftpmaster.internal/ubuntu disco/main s390x x11proto-xext-dev all 2018.4-4 [2620 B] Get:120 http://ftpmaster.internal/ubuntu disco/main s390x libxext-dev s390x 2:1.3.3-1 [81.1 kB] Get:121 http://ftpmaster.internal/ubuntu disco/main s390x x11proto-xf86vidmode-dev all 2018.4-4 [2632 B] Get:122 http://ftpmaster.internal/ubuntu disco/main s390x libxxf86vm-dev s390x 1:1.1.4-1 [12.9 kB] Get:123 http://ftpmaster.internal/ubuntu disco/main s390x libgl1-mesa-dev s390x 18.2.2-0ubuntu1 [4412 B] Get:124 http://ftpmaster.internal/ubuntu disco-proposed/universe s390x libglew2.1 s390x 2.1.0-2 [147 kB] Get:125 http://ftpmaster.internal/ubuntu disco/main s390x libglu1-mesa s390x 9.0.0-2.1build1 [156 kB] Get:126 http://ftpmaster.internal/ubuntu disco/main s390x libglu1-mesa-dev s390x 9.0.0-2.1build1 [193 kB] Get:127 http://ftpmaster.internal/ubuntu disco-proposed/universe s390x libglew-dev s390x 2.1.0-2 [134 kB] Get:128 http://ftpmaster.internal/ubuntu disco/main s390x libjpeg-turbo8 s390x 2.0.0-0ubuntu2 [102 kB] Get:129 http://ftpmaster.internal/ubuntu disco/main s390x libjpeg8 s390x 8c-2ubuntu8 [2142 B] Get:130 http://ftpmaster.internal/ubuntu disco/main s390x liblcms2-2 s390x 2.9-3 [126 kB] Get:131 http://ftpmaster.internal/ubuntu disco/universe s390x libmng2 s390x 2.0.2-0ubuntu3 [153 kB] Get:132 http://ftpmaster.internal/ubuntu disco/universe s390x libmuparser2v5 s390x 2.2.3-6 [96.6 kB] Get:133 http://ftpmaster.internal/ubuntu disco/universe s390x libqhull7 s390x 2015.2-4 [134 kB] Get:134 http://ftpmaster.internal/ubuntu disco/universe s390x libqhull-r7 s390x 2015.2-4 [132 kB] Get:135 http://ftpmaster.internal/ubuntu disco/universe s390x libqhull-dev s390x 2015.2-4 [323 kB] Get:136 http://ftpmaster.internal/ubuntu disco/universe s390x qtcore4-l10n all 4:4.8.7+dfsg-7ubuntu1 [617 kB] Get:137 http://ftpmaster.internal/ubuntu disco/universe s390x libqtcore4 s390x 4:4.8.7+dfsg-7ubuntu1 [1480 kB] Get:138 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-xml s390x 4:4.8.7+dfsg-7ubuntu1 [93.6 kB] Get:139 http://ftpmaster.internal/ubuntu disco/universe s390x libqtdbus4 s390x 4:4.8.7+dfsg-7ubuntu1 [175 kB] Get:140 http://ftpmaster.internal/ubuntu disco/universe s390x qtchooser s390x 64-ga1b6736-5 [22.9 kB] Get:141 http://ftpmaster.internal/ubuntu disco/universe s390x qdbus s390x 4:4.8.7+dfsg-7ubuntu1 [29.5 kB] Get:142 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-dbus s390x 4:4.8.7+dfsg-7ubuntu1 [6438 B] Get:143 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-network s390x 4:4.8.7+dfsg-7ubuntu1 [530 kB] Get:144 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-script s390x 4:4.8.7+dfsg-7ubuntu1 [645 kB] Get:145 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-sql s390x 4:4.8.7+dfsg-7ubuntu1 [97.5 kB] Get:146 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-xmlpatterns s390x 4:4.8.7+dfsg-7ubuntu1 [1023 kB] Get:147 http://ftpmaster.internal/ubuntu disco/main s390x libjbig0 s390x 2.1-3.1build1 [26.3 kB] Get:148 http://ftpmaster.internal/ubuntu disco/main s390x libwebp6 s390x 0.6.1-2 [149 kB] Get:149 http://ftpmaster.internal/ubuntu disco-proposed/main s390x libtiff5 s390x 4.0.10-3 [147 kB] Get:150 http://ftpmaster.internal/ubuntu disco/main s390x libxi6 s390x 2:1.7.9-1 [27.5 kB] Get:151 http://ftpmaster.internal/ubuntu disco/main s390x libxrender1 s390x 1:0.9.10-1 [17.8 kB] Get:152 http://ftpmaster.internal/ubuntu disco/universe s390x libqtgui4 s390x 4:4.8.7+dfsg-7ubuntu1 [3851 kB] Get:153 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-declarative s390x 4:4.8.7+dfsg-7ubuntu1 [1017 kB] Get:154 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-designer s390x 4:4.8.7+dfsg-7ubuntu1 [3513 kB] Get:155 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-qt3support s390x 4:4.8.7+dfsg-7ubuntu1 [1000 kB] Get:156 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-dev-bin s390x 4:4.8.7+dfsg-7ubuntu1 [1595 kB] Get:157 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-help s390x 4:4.8.7+dfsg-7ubuntu1 [200 kB] Get:158 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-scripttools s390x 4:4.8.7+dfsg-7ubuntu1 [214 kB] Get:159 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-svg s390x 4:4.8.7+dfsg-7ubuntu1 [129 kB] Get:160 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-test s390x 4:4.8.7+dfsg-7ubuntu1 [58.2 kB] Get:161 http://ftpmaster.internal/ubuntu disco/universe s390x qt4-linguist-tools s390x 4:4.8.7+dfsg-7ubuntu1 [824 kB] Get:162 http://ftpmaster.internal/ubuntu disco/universe s390x qt4-qmake s390x 4:4.8.7+dfsg-7ubuntu1 [1240 kB] Get:163 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-dev s390x 4:4.8.7+dfsg-7ubuntu1 [841 kB] Get:164 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-opengl s390x 4:4.8.7+dfsg-7ubuntu1 [281 kB] Get:165 http://ftpmaster.internal/ubuntu disco/universe s390x libqt4-opengl-dev s390x 4:4.8.7+dfsg-7ubuntu1 [22.8 kB] Get:166 http://ftpmaster.internal/ubuntu disco/main s390x libxslt1.1 s390x 1.1.32-2 [139 kB] Get:167 http://ftpmaster.internal/ubuntu disco/main s390x pkg-config s390x 0.29.1-0ubuntu2 [44.0 kB] Get:168 http://ftpmaster.internal/ubuntu disco/main s390x xsltproc s390x 1.1.32-2 [13.3 kB] Get:169 http://ftpmaster.internal/ubuntu disco/universe s390x libeigen3-dev all 3.3.5-2 [813 kB] Get:170 http://ftpmaster.internal/ubuntu disco/universe s390x libmuparser-dev s390x 2.2.3-6 [19.2 kB] Get:171 http://ftpmaster.internal/ubuntu disco-proposed/universe s390x libopenctm1 s390x 1.0.3+dfsg1-2build1 [46.1 kB] Get:172 http://ftpmaster.internal/ubuntu disco-proposed/universe s390x libopenctm-dev s390x 1.0.3+dfsg1-2build1 [15.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 49.6 MB in 3s (17.8 MB/s) Selecting previously unselected package libbsd0:s390x. (Reading database ... 14309 files and directories currently installed.) Preparing to unpack .../000-libbsd0_0.9.1-1_s390x.deb ... Unpacking libbsd0:s390x (0.9.1-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../001-bsdmainutils_11.1.2ubuntu2_s390x.deb ... Unpacking bsdmainutils (11.1.2ubuntu2) ... Selecting previously unselected package groff-base. Preparing to unpack .../002-groff-base_1.22.3-10_s390x.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:s390x. Preparing to unpack .../003-libpipeline1_1.5.0-2_s390x.deb ... Unpacking libpipeline1:s390x (1.5.0-2) ... Selecting previously unselected package man-db. Preparing to unpack .../004-man-db_2.8.4-3_s390x.deb ... Unpacking man-db (2.8.4-3) ... Selecting previously unselected package sgml-base. Preparing to unpack .../005-sgml-base_1.29_all.deb ... Unpacking sgml-base (1.29) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../006-libmagic-mgc_1%3a5.34-2_s390x.deb ... Unpacking libmagic-mgc (1:5.34-2) ... Selecting previously unselected package libmagic1:s390x. Preparing to unpack .../007-libmagic1_1%3a5.34-2_s390x.deb ... Unpacking libmagic1:s390x (1:5.34-2) ... Selecting previously unselected package file. Preparing to unpack .../008-file_1%3a5.34-2_s390x.deb ... Unpacking file (1:5.34-2) ... Selecting previously unselected package libdbus-1-3:s390x. Preparing to unpack .../009-libdbus-1-3_1.12.10-1ubuntu2_s390x.deb ... Unpacking libdbus-1-3:s390x (1.12.10-1ubuntu2) ... Selecting previously unselected package libelf1:s390x. Preparing to unpack .../010-libelf1_0.175-1_s390x.deb ... Unpacking libelf1:s390x (0.175-1) ... Selecting previously unselected package libexpat1:s390x. Preparing to unpack .../011-libexpat1_2.2.6-1_s390x.deb ... Unpacking libexpat1:s390x (2.2.6-1) ... Selecting previously unselected package libglib2.0-0:s390x. Preparing to unpack .../012-libglib2.0-0_2.58.1-2_s390x.deb ... Unpacking libglib2.0-0:s390x (2.58.1-2) ... Selecting previously unselected package libicu63:s390x. Preparing to unpack .../013-libicu63_63.1-4_s390x.deb ... Unpacking libicu63:s390x (63.1-4) ... Selecting previously unselected package libxml2:s390x. Preparing to unpack .../014-libxml2_2.9.4+dfsg1-7ubuntu3_s390x.deb ... Unpacking libxml2:s390x (2.9.4+dfsg1-7ubuntu3) ... Selecting previously unselected package ucf. Preparing to unpack .../015-ucf_3.0038_all.deb ... Moving old data out of the way Unpacking ucf (3.0038) ... Selecting previously unselected package gettext-base. Preparing to unpack .../016-gettext-base_0.19.8.1-9_s390x.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../017-libdrm-common_2.4.95-1_all.deb ... Unpacking libdrm-common (2.4.95-1) ... Selecting previously unselected package libdrm2:s390x. Preparing to unpack .../018-libdrm2_2.4.95-1_s390x.deb ... Unpacking libdrm2:s390x (2.4.95-1) ... Selecting previously unselected package libxau6:s390x. Preparing to unpack .../019-libxau6_1%3a1.0.8-1_s390x.deb ... Unpacking libxau6:s390x (1:1.0.8-1) ... Selecting previously unselected package libxdmcp6:s390x. Preparing to unpack .../020-libxdmcp6_1%3a1.1.2-3_s390x.deb ... Unpacking libxdmcp6:s390x (1:1.1.2-3) ... Selecting previously unselected package libxcb1:s390x. Preparing to unpack .../021-libxcb1_1.13.1-1_s390x.deb ... Unpacking libxcb1:s390x (1.13.1-1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../022-libx11-data_2%3a1.6.7-1_all.deb ... Unpacking libx11-data (2:1.6.7-1) ... Selecting previously unselected package libx11-6:s390x. Preparing to unpack .../023-libx11-6_2%3a1.6.7-1_s390x.deb ... Unpacking libx11-6:s390x (2:1.6.7-1) ... Selecting previously unselected package libxext6:s390x. Preparing to unpack .../024-libxext6_2%3a1.3.3-1_s390x.deb ... Unpacking libxext6:s390x (2:1.3.3-1) ... Selecting previously unselected package libsigsegv2:s390x. Preparing to unpack .../025-libsigsegv2_2.12-2_s390x.deb ... Unpacking libsigsegv2:s390x (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../026-m4_1.4.18-1ubuntu1_s390x.deb ... Unpacking m4 (1.4.18-1ubuntu1) ... Selecting previously unselected package autoconf. Preparing to unpack .../027-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../028-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../029-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../030-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../031-libtool_2.4.6-6_all.deb ... Unpacking libtool (2.4.6-6) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../032-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../033-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 .../034-libfile-stripnondeterminism-perl_0.45.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.45.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../035-dh-strip-nondeterminism_0.45.0-1_all.deb ... Unpacking dh-strip-nondeterminism (0.45.0-1) ... Selecting previously unselected package dwz. Preparing to unpack .../036-dwz_0.12-2_s390x.deb ... Unpacking dwz (0.12-2) ... Selecting previously unselected package libcroco3:s390x. Preparing to unpack .../037-libcroco3_0.6.12-2_s390x.deb ... Unpacking libcroco3:s390x (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../038-gettext_0.19.8.1-9_s390x.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../039-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../040-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../041-debhelper_11.3.2ubuntu1_all.deb ... Unpacking debhelper (11.3.2ubuntu1) ... Selecting previously unselected package xml-core. Preparing to unpack .../042-xml-core_0.18_all.deb ... Unpacking xml-core (0.18) ... Selecting previously unselected package docbook-xsl. Preparing to unpack .../043-docbook-xsl_1.79.1+dfsg-2_all.deb ... Unpacking docbook-xsl (1.79.1+dfsg-2) ... Selecting previously unselected package libfreetype6:s390x. Preparing to unpack .../044-libfreetype6_2.8.1-2ubuntu2_s390x.deb ... Unpacking libfreetype6:s390x (2.8.1-2ubuntu2) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../045-fonts-dejavu-core_2.37-1_all.deb ... Unpacking fonts-dejavu-core (2.37-1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../046-fontconfig-config_2.13.0-5ubuntu3_all.deb ... Unpacking fontconfig-config (2.13.0-5ubuntu3) ... Selecting previously unselected package libfontconfig1:s390x. Preparing to unpack .../047-libfontconfig1_2.13.0-5ubuntu3_s390x.deb ... Unpacking libfontconfig1:s390x (2.13.0-5ubuntu3) ... Selecting previously unselected package fontconfig. Preparing to unpack .../048-fontconfig_2.13.0-5ubuntu3_s390x.deb ... Unpacking fontconfig (2.13.0-5ubuntu3) ... Selecting previously unselected package lib3ds-1-3:s390x. Preparing to unpack .../049-lib3ds-1-3_1.3.0-9_s390x.deb ... Unpacking lib3ds-1-3:s390x (1.3.0-9) ... Selecting previously unselected package lib3ds-dev. Preparing to unpack .../050-lib3ds-dev_1.3.0-9_s390x.deb ... Unpacking lib3ds-dev (1.3.0-9) ... Selecting previously unselected package x11-common. Preparing to unpack .../051-x11-common_1%3a7.7+19ubuntu8_all.deb ... dpkg-query: no packages found matching nux-tools Unpacking x11-common (1:7.7+19ubuntu8) ... Selecting previously unselected package libice6:s390x. Preparing to unpack .../052-libice6_2%3a1.0.9-2_s390x.deb ... Unpacking libice6:s390x (2:1.0.9-2) ... Selecting previously unselected package libsm6:s390x. Preparing to unpack .../053-libsm6_2%3a1.2.2-1_s390x.deb ... Unpacking libsm6:s390x (2:1.2.2-1) ... Selecting previously unselected package libxt6:s390x. Preparing to unpack .../054-libxt6_1%3a1.1.5-1_s390x.deb ... Unpacking libxt6:s390x (1:1.1.5-1) ... Selecting previously unselected package libaudio2:s390x. Preparing to unpack .../055-libaudio2_1.9.4-6_s390x.deb ... Unpacking libaudio2:s390x (1.9.4-6) ... Selecting previously unselected package libbz2-dev:s390x. Preparing to unpack .../056-libbz2-dev_1.0.6-9_s390x.deb ... Unpacking libbz2-dev:s390x (1.0.6-9) ... Selecting previously unselected package libdrm-amdgpu1:s390x. Preparing to unpack .../057-libdrm-amdgpu1_2.4.95-1_s390x.deb ... Unpacking libdrm-amdgpu1:s390x (2.4.95-1) ... Selecting previously unselected package libdrm-radeon1:s390x. Preparing to unpack .../058-libdrm-radeon1_2.4.95-1_s390x.deb ... Unpacking libdrm-radeon1:s390x (2.4.95-1) ... Selecting previously unselected package libdrm-nouveau2:s390x. Preparing to unpack .../059-libdrm-nouveau2_2.4.95-1_s390x.deb ... Unpacking libdrm-nouveau2:s390x (2.4.95-1) ... Selecting previously unselected package libdrm-dev:s390x. Preparing to unpack .../060-libdrm-dev_2.4.95-1_s390x.deb ... Unpacking libdrm-dev:s390x (2.4.95-1) ... Selecting previously unselected package libwayland-server0:s390x. Preparing to unpack .../061-libwayland-server0_1.16.0-1ubuntu1_s390x.deb ... Unpacking libwayland-server0:s390x (1.16.0-1ubuntu1) ... Selecting previously unselected package libgbm1:s390x. Preparing to unpack .../062-libgbm1_18.2.2-0ubuntu1_s390x.deb ... Unpacking libgbm1:s390x (18.2.2-0ubuntu1) ... Selecting previously unselected package libglapi-mesa:s390x. Preparing to unpack .../063-libglapi-mesa_18.2.2-0ubuntu1_s390x.deb ... Unpacking libglapi-mesa:s390x (18.2.2-0ubuntu1) ... Selecting previously unselected package libwayland-client0:s390x. Preparing to unpack .../064-libwayland-client0_1.16.0-1ubuntu1_s390x.deb ... Unpacking libwayland-client0:s390x (1.16.0-1ubuntu1) ... Selecting previously unselected package libx11-xcb1:s390x. Preparing to unpack .../065-libx11-xcb1_2%3a1.6.7-1_s390x.deb ... Unpacking libx11-xcb1:s390x (2:1.6.7-1) ... Selecting previously unselected package libxcb-dri2-0:s390x. Preparing to unpack .../066-libxcb-dri2-0_1.13.1-1_s390x.deb ... Unpacking libxcb-dri2-0:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-dri3-0:s390x. Preparing to unpack .../067-libxcb-dri3-0_1.13.1-1_s390x.deb ... Unpacking libxcb-dri3-0:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-present0:s390x. Preparing to unpack .../068-libxcb-present0_1.13.1-1_s390x.deb ... Unpacking libxcb-present0:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-sync1:s390x. Preparing to unpack .../069-libxcb-sync1_1.13.1-1_s390x.deb ... Unpacking libxcb-sync1:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-xfixes0:s390x. Preparing to unpack .../070-libxcb-xfixes0_1.13.1-1_s390x.deb ... Unpacking libxcb-xfixes0:s390x (1.13.1-1) ... Selecting previously unselected package libxshmfence1:s390x. Preparing to unpack .../071-libxshmfence1_1.3-1_s390x.deb ... Unpacking libxshmfence1:s390x (1.3-1) ... Selecting previously unselected package libegl-mesa0:s390x. Preparing to unpack .../072-libegl-mesa0_18.2.2-0ubuntu1_s390x.deb ... Unpacking libegl-mesa0:s390x (18.2.2-0ubuntu1) ... Selecting previously unselected package libsensors4:s390x. Preparing to unpack .../073-libsensors4_1%3a3.4.0-4_s390x.deb ... Unpacking libsensors4:s390x (1:3.4.0-4) ... Selecting previously unselected package libgl1-mesa-dri:s390x. Preparing to unpack .../074-libgl1-mesa-dri_18.2.2-0ubuntu1_s390x.deb ... Unpacking libgl1-mesa-dri:s390x (18.2.2-0ubuntu1) ... Selecting previously unselected package libglvnd0:s390x. Preparing to unpack .../075-libglvnd0_1.1.0-1_s390x.deb ... Unpacking libglvnd0:s390x (1.1.0-1) ... Selecting previously unselected package libgles1:s390x. Preparing to unpack .../076-libgles1_1.1.0-1_s390x.deb ... Unpacking libgles1:s390x (1.1.0-1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../077-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 .../078-x11proto-dev_2018.4-4_all.deb ... Unpacking x11proto-dev (2018.4-4) ... Selecting previously unselected package x11proto-core-dev. Preparing to unpack .../079-x11proto-core-dev_2018.4-4_all.deb ... Unpacking x11proto-core-dev (2018.4-4) ... Selecting previously unselected package libxau-dev:s390x. Preparing to unpack .../080-libxau-dev_1%3a1.0.8-1_s390x.deb ... Unpacking libxau-dev:s390x (1:1.0.8-1) ... Selecting previously unselected package libxdmcp-dev:s390x. Preparing to unpack .../081-libxdmcp-dev_1%3a1.1.2-3_s390x.deb ... Unpacking libxdmcp-dev:s390x (1:1.1.2-3) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../082-xtrans-dev_1.3.5-1_all.deb ... Unpacking xtrans-dev (1.3.5-1) ... Selecting previously unselected package libpthread-stubs0-dev:s390x. Preparing to unpack .../083-libpthread-stubs0-dev_0.3-4_s390x.deb ... Unpacking libpthread-stubs0-dev:s390x (0.3-4) ... Selecting previously unselected package libxcb1-dev:s390x. Preparing to unpack .../084-libxcb1-dev_1.13.1-1_s390x.deb ... Unpacking libxcb1-dev:s390x (1.13.1-1) ... Selecting previously unselected package libx11-dev:s390x. Preparing to unpack .../085-libx11-dev_2%3a1.6.7-1_s390x.deb ... Unpacking libx11-dev:s390x (2:1.6.7-1) ... Selecting previously unselected package mesa-common-dev:s390x. Preparing to unpack .../086-mesa-common-dev_18.2.2-0ubuntu1_s390x.deb ... Unpacking mesa-common-dev:s390x (18.2.2-0ubuntu1) ... Selecting previously unselected package libglvnd-core-dev:s390x. Preparing to unpack .../087-libglvnd-core-dev_1.1.0-1_s390x.deb ... Unpacking libglvnd-core-dev:s390x (1.1.0-1) ... Selecting previously unselected package libegl1:s390x. Preparing to unpack .../088-libegl1_1.1.0-1_s390x.deb ... Unpacking libegl1:s390x (1.1.0-1) ... Selecting previously unselected package libgles2:s390x. Preparing to unpack .../089-libgles2_1.1.0-1_s390x.deb ... Unpacking libgles2:s390x (1.1.0-1) ... Selecting previously unselected package libxcb-glx0:s390x. Preparing to unpack .../090-libxcb-glx0_1.13.1-1_s390x.deb ... Unpacking libxcb-glx0:s390x (1.13.1-1) ... Selecting previously unselected package libxdamage1:s390x. Preparing to unpack .../091-libxdamage1_1%3a1.1.4-3_s390x.deb ... Unpacking libxdamage1:s390x (1:1.1.4-3) ... Selecting previously unselected package libxfixes3:s390x. Preparing to unpack .../092-libxfixes3_1%3a5.0.3-1_s390x.deb ... Unpacking libxfixes3:s390x (1:5.0.3-1) ... Selecting previously unselected package libxxf86vm1:s390x. Preparing to unpack .../093-libxxf86vm1_1%3a1.1.4-1_s390x.deb ... Unpacking libxxf86vm1:s390x (1:1.1.4-1) ... Selecting previously unselected package libglx-mesa0:s390x. Preparing to unpack .../094-libglx-mesa0_18.2.2-0ubuntu1_s390x.deb ... Unpacking libglx-mesa0:s390x (18.2.2-0ubuntu1) ... Selecting previously unselected package libglx0:s390x. Preparing to unpack .../095-libglx0_1.1.0-1_s390x.deb ... Unpacking libglx0:s390x (1.1.0-1) ... Selecting previously unselected package libgl1:s390x. Preparing to unpack .../096-libgl1_1.1.0-1_s390x.deb ... Unpacking libgl1:s390x (1.1.0-1) ... Selecting previously unselected package libopengl0:s390x. Preparing to unpack .../097-libopengl0_1.1.0-1_s390x.deb ... Unpacking libopengl0:s390x (1.1.0-1) ... Selecting previously unselected package libglvnd-dev:s390x. Preparing to unpack .../098-libglvnd-dev_1.1.0-1_s390x.deb ... Unpacking libglvnd-dev:s390x (1.1.0-1) ... Selecting previously unselected package libx11-xcb-dev:s390x. Preparing to unpack .../099-libx11-xcb-dev_2%3a1.6.7-1_s390x.deb ... Unpacking libx11-xcb-dev:s390x (2:1.6.7-1) ... Selecting previously unselected package libxcb-dri3-dev:s390x. Preparing to unpack .../100-libxcb-dri3-dev_1.13.1-1_s390x.deb ... Unpacking libxcb-dri3-dev:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-randr0:s390x. Preparing to unpack .../101-libxcb-randr0_1.13.1-1_s390x.deb ... Unpacking libxcb-randr0:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-render0:s390x. Preparing to unpack .../102-libxcb-render0_1.13.1-1_s390x.deb ... Unpacking libxcb-render0:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-render0-dev:s390x. Preparing to unpack .../103-libxcb-render0-dev_1.13.1-1_s390x.deb ... Unpacking libxcb-render0-dev:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-randr0-dev:s390x. Preparing to unpack .../104-libxcb-randr0-dev_1.13.1-1_s390x.deb ... Unpacking libxcb-randr0-dev:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-shape0:s390x. Preparing to unpack .../105-libxcb-shape0_1.13.1-1_s390x.deb ... Unpacking libxcb-shape0:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-shape0-dev:s390x. Preparing to unpack .../106-libxcb-shape0-dev_1.13.1-1_s390x.deb ... Unpacking libxcb-shape0-dev:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-xfixes0-dev:s390x. Preparing to unpack .../107-libxcb-xfixes0-dev_1.13.1-1_s390x.deb ... Unpacking libxcb-xfixes0-dev:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-sync-dev:s390x. Preparing to unpack .../108-libxcb-sync-dev_1.13.1-1_s390x.deb ... Unpacking libxcb-sync-dev:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-present-dev:s390x. Preparing to unpack .../109-libxcb-present-dev_1.13.1-1_s390x.deb ... Unpacking libxcb-present-dev:s390x (1.13.1-1) ... Selecting previously unselected package libxshmfence-dev:s390x. Preparing to unpack .../110-libxshmfence-dev_1.3-1_s390x.deb ... Unpacking libxshmfence-dev:s390x (1.3-1) ... Selecting previously unselected package libxcb-dri2-0-dev:s390x. Preparing to unpack .../111-libxcb-dri2-0-dev_1.13.1-1_s390x.deb ... Unpacking libxcb-dri2-0-dev:s390x (1.13.1-1) ... Selecting previously unselected package libxcb-glx0-dev:s390x. Preparing to unpack .../112-libxcb-glx0-dev_1.13.1-1_s390x.deb ... Unpacking libxcb-glx0-dev:s390x (1.13.1-1) ... Selecting previously unselected package x11proto-fixes-dev. Preparing to unpack .../113-x11proto-fixes-dev_1%3a2018.4-4_all.deb ... Unpacking x11proto-fixes-dev (1:2018.4-4) ... Selecting previously unselected package libxfixes-dev:s390x. Preparing to unpack .../114-libxfixes-dev_1%3a5.0.3-1_s390x.deb ... Unpacking libxfixes-dev:s390x (1:5.0.3-1) ... Selecting previously unselected package x11proto-damage-dev. Preparing to unpack .../115-x11proto-damage-dev_1%3a2018.4-4_all.deb ... Unpacking x11proto-damage-dev (1:2018.4-4) ... Selecting previously unselected package libxdamage-dev:s390x. Preparing to unpack .../116-libxdamage-dev_1%3a1.1.4-3_s390x.deb ... Unpacking libxdamage-dev:s390x (1:1.1.4-3) ... Selecting previously unselected package x11proto-xext-dev. Preparing to unpack .../117-x11proto-xext-dev_2018.4-4_all.deb ... Unpacking x11proto-xext-dev (2018.4-4) ... Selecting previously unselected package libxext-dev:s390x. Preparing to unpack .../118-libxext-dev_2%3a1.3.3-1_s390x.deb ... Unpacking libxext-dev:s390x (2:1.3.3-1) ... Selecting previously unselected package x11proto-xf86vidmode-dev. Preparing to unpack .../119-x11proto-xf86vidmode-dev_2018.4-4_all.deb ... Unpacking x11proto-xf86vidmode-dev (2018.4-4) ... Selecting previously unselected package libxxf86vm-dev:s390x. Preparing to unpack .../120-libxxf86vm-dev_1%3a1.1.4-1_s390x.deb ... Unpacking libxxf86vm-dev:s390x (1:1.1.4-1) ... Selecting previously unselected package libgl1-mesa-dev:s390x. Preparing to unpack .../121-libgl1-mesa-dev_18.2.2-0ubuntu1_s390x.deb ... Unpacking libgl1-mesa-dev:s390x (18.2.2-0ubuntu1) ... Selecting previously unselected package libglew2.1:s390x. Preparing to unpack .../122-libglew2.1_2.1.0-2_s390x.deb ... Unpacking libglew2.1:s390x (2.1.0-2) ... Selecting previously unselected package libglu1-mesa:s390x. Preparing to unpack .../123-libglu1-mesa_9.0.0-2.1build1_s390x.deb ... Unpacking libglu1-mesa:s390x (9.0.0-2.1build1) ... Selecting previously unselected package libglu1-mesa-dev:s390x. Preparing to unpack .../124-libglu1-mesa-dev_9.0.0-2.1build1_s390x.deb ... Unpacking libglu1-mesa-dev:s390x (9.0.0-2.1build1) ... Selecting previously unselected package libglew-dev:s390x. Preparing to unpack .../125-libglew-dev_2.1.0-2_s390x.deb ... Unpacking libglew-dev:s390x (2.1.0-2) ... Selecting previously unselected package libjpeg-turbo8:s390x. Preparing to unpack .../126-libjpeg-turbo8_2.0.0-0ubuntu2_s390x.deb ... Unpacking libjpeg-turbo8:s390x (2.0.0-0ubuntu2) ... Selecting previously unselected package libjpeg8:s390x. Preparing to unpack .../127-libjpeg8_8c-2ubuntu8_s390x.deb ... Unpacking libjpeg8:s390x (8c-2ubuntu8) ... Selecting previously unselected package liblcms2-2:s390x. Preparing to unpack .../128-liblcms2-2_2.9-3_s390x.deb ... Unpacking liblcms2-2:s390x (2.9-3) ... Selecting previously unselected package libmng2:s390x. Preparing to unpack .../129-libmng2_2.0.2-0ubuntu3_s390x.deb ... Unpacking libmng2:s390x (2.0.2-0ubuntu3) ... Selecting previously unselected package libmuparser2v5:s390x. Preparing to unpack .../130-libmuparser2v5_2.2.3-6_s390x.deb ... Unpacking libmuparser2v5:s390x (2.2.3-6) ... Selecting previously unselected package libqhull7:s390x. Preparing to unpack .../131-libqhull7_2015.2-4_s390x.deb ... Unpacking libqhull7:s390x (2015.2-4) ... Selecting previously unselected package libqhull-r7:s390x. Preparing to unpack .../132-libqhull-r7_2015.2-4_s390x.deb ... Unpacking libqhull-r7:s390x (2015.2-4) ... Selecting previously unselected package libqhull-dev:s390x. Preparing to unpack .../133-libqhull-dev_2015.2-4_s390x.deb ... Unpacking libqhull-dev:s390x (2015.2-4) ... Selecting previously unselected package qtcore4-l10n. Preparing to unpack .../134-qtcore4-l10n_4%3a4.8.7+dfsg-7ubuntu1_all.deb ... Unpacking qtcore4-l10n (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqtcore4:s390x. Preparing to unpack .../135-libqtcore4_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqtcore4:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-xml:s390x. Preparing to unpack .../136-libqt4-xml_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-xml:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqtdbus4:s390x. Preparing to unpack .../137-libqtdbus4_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqtdbus4:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package qtchooser. Preparing to unpack .../138-qtchooser_64-ga1b6736-5_s390x.deb ... Unpacking qtchooser (64-ga1b6736-5) ... Selecting previously unselected package qdbus. Preparing to unpack .../139-qdbus_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking qdbus (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-dbus:s390x. Preparing to unpack .../140-libqt4-dbus_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-dbus:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-network:s390x. Preparing to unpack .../141-libqt4-network_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-network:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-script:s390x. Preparing to unpack .../142-libqt4-script_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-script:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-sql:s390x. Preparing to unpack .../143-libqt4-sql_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-sql:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-xmlpatterns:s390x. Preparing to unpack .../144-libqt4-xmlpatterns_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-xmlpatterns:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libjbig0:s390x. Preparing to unpack .../145-libjbig0_2.1-3.1build1_s390x.deb ... Unpacking libjbig0:s390x (2.1-3.1build1) ... Selecting previously unselected package libwebp6:s390x. Preparing to unpack .../146-libwebp6_0.6.1-2_s390x.deb ... Unpacking libwebp6:s390x (0.6.1-2) ... Selecting previously unselected package libtiff5:s390x. Preparing to unpack .../147-libtiff5_4.0.10-3_s390x.deb ... Unpacking libtiff5:s390x (4.0.10-3) ... Selecting previously unselected package libxi6:s390x. Preparing to unpack .../148-libxi6_2%3a1.7.9-1_s390x.deb ... Unpacking libxi6:s390x (2:1.7.9-1) ... Selecting previously unselected package libxrender1:s390x. Preparing to unpack .../149-libxrender1_1%3a0.9.10-1_s390x.deb ... Unpacking libxrender1:s390x (1:0.9.10-1) ... Selecting previously unselected package libqtgui4:s390x. Preparing to unpack .../150-libqtgui4_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqtgui4:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-declarative:s390x. Preparing to unpack .../151-libqt4-declarative_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-declarative:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-designer:s390x. Preparing to unpack .../152-libqt4-designer_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-designer:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-qt3support:s390x. Preparing to unpack .../153-libqt4-qt3support_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-qt3support:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-dev-bin. Preparing to unpack .../154-libqt4-dev-bin_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-dev-bin (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-help:s390x. Preparing to unpack .../155-libqt4-help_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-help:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-scripttools:s390x. Preparing to unpack .../156-libqt4-scripttools_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-scripttools:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-svg:s390x. Preparing to unpack .../157-libqt4-svg_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-svg:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-test:s390x. Preparing to unpack .../158-libqt4-test_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-test:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package qt4-linguist-tools. Preparing to unpack .../159-qt4-linguist-tools_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking qt4-linguist-tools (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package qt4-qmake. Preparing to unpack .../160-qt4-qmake_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking qt4-qmake (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-dev. Preparing to unpack .../161-libqt4-dev_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-dev (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-opengl:s390x. Preparing to unpack .../162-libqt4-opengl_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-opengl:s390x (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libqt4-opengl-dev. Preparing to unpack .../163-libqt4-opengl-dev_4%3a4.8.7+dfsg-7ubuntu1_s390x.deb ... Unpacking libqt4-opengl-dev (4:4.8.7+dfsg-7ubuntu1) ... Selecting previously unselected package libxslt1.1:s390x. Preparing to unpack .../164-libxslt1.1_1.1.32-2_s390x.deb ... Unpacking libxslt1.1:s390x (1.1.32-2) ... Selecting previously unselected package pkg-config. Preparing to unpack .../165-pkg-config_0.29.1-0ubuntu2_s390x.deb ... Unpacking pkg-config (0.29.1-0ubuntu2) ... Selecting previously unselected package xsltproc. Preparing to unpack .../166-xsltproc_1.1.32-2_s390x.deb ... Unpacking xsltproc (1.1.32-2) ... Selecting previously unselected package libeigen3-dev. Preparing to unpack .../167-libeigen3-dev_3.3.5-2_all.deb ... Unpacking libeigen3-dev (3.3.5-2) ... Selecting previously unselected package libmuparser-dev. Preparing to unpack .../168-libmuparser-dev_2.2.3-6_s390x.deb ... Unpacking libmuparser-dev (2.2.3-6) ... Selecting previously unselected package libopenctm1:s390x. Preparing to unpack .../169-libopenctm1_1.0.3+dfsg1-2build1_s390x.deb ... Unpacking libopenctm1:s390x (1.0.3+dfsg1-2build1) ... Selecting previously unselected package libopenctm-dev:s390x. Preparing to unpack .../170-libopenctm-dev_1.0.3+dfsg1-2build1_s390x.deb ... Unpacking libopenctm-dev:s390x (1.0.3+dfsg1-2build1) ... Selecting previously unselected package sbuild-build-depends-meshlab-dummy. Preparing to unpack .../171-sbuild-build-depends-meshlab-dummy_0.invalid.0_s390x.deb ... Unpacking sbuild-build-depends-meshlab-dummy (0.invalid.0) ... Setting up lib3ds-1-3:s390x (1.3.0-9) ... Setting up libglvnd0:s390x (1.1.0-1) ... Setting up libopengl0:s390x (1.1.0-1) ... Setting up libgles1:s390x (1.1.0-1) ... Setting up libexpat1:s390x (2.2.6-1) ... Setting up libbz2-dev:s390x (1.0.6-9) ... Setting up libqhull7:s390x (2015.2-4) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libicu63:s390x (63.1-4) ... Setting up liblcms2-2:s390x (2.9-3) ... Setting up libjbig0:s390x (2.1-3.1build1) ... Setting up libsigsegv2:s390x (2.12-2) ... Setting up libpthread-stubs0-dev:s390x (0.3-4) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up libelf1:s390x (0.175-1) ... Setting up qtcore4-l10n (4:4.8.7+dfsg-7ubuntu1) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:s390x (2.58.1-2) ... No schema files found: doing nothing. Setting up libxshmfence1:s390x (1.3-1) ... Setting up xorg-sgml-doctools (1:1.11-1) ... Setting up libwayland-client0:s390x (1.16.0-1ubuntu1) ... Setting up qtchooser (64-ga1b6736-5) ... Setting up gettext-base (0.19.8.1-9) ... Setting up libjpeg-turbo8:s390x (2.0.0-0ubuntu2) ... Setting up libpipeline1:s390x (1.5.0-2) ... Setting up libglapi-mesa:s390x (18.2.2-0ubuntu1) ... Setting up m4 (1.4.18-1ubuntu1) ... Setting up sgml-base (1.29) ... Setting up libbsd0:s390x (0.9.1-1) ... Setting up lib3ds-dev (1.3.0-9) ... Setting up ucf (3.0038) ... Setting up libxml2:s390x (2.9.4+dfsg1-7ubuntu3) ... Setting up x11proto-dev (2018.4-4) ... Setting up libfreetype6:s390x (2.8.1-2ubuntu2) ... Setting up libmagic-mgc (1:5.34-2) ... Setting up libmagic1:s390x (1:5.34-2) ... Setting up libdrm-common (2.4.95-1) ... Setting up libcroco3:s390x (0.6.12-2) ... Setting up libxslt1.1:s390x (1.1.32-2) ... Setting up x11proto-damage-dev (1:2018.4-4) ... Setting up pkg-config (0.29.1-0ubuntu2) ... Setting up libx11-xcb1:s390x (2:1.6.7-1) ... Setting up xtrans-dev (1.3.5-1) ... Setting up x11proto-xext-dev (2018.4-4) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Setting up libqtcore4:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up dwz (0.12-2) ... Setting up autotools-dev (20180224.1) ... Setting up libopenctm1:s390x (1.0.3+dfsg1-2build1) ... Processing triggers for systemd (239-7ubuntu12) ... Setting up libsensors4:s390x (1:3.4.0-4) ... Setting up libgles2:s390x (1.1.0-1) ... Setting up libxdmcp6:s390x (1:1.1.2-3) ... Setting up xml-core (0.18) ... Setting up bsdmainutils (11.1.2ubuntu2) ... 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 x11-common (1:7.7+19ubuntu8) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up libqt4-test:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libglvnd-core-dev:s390x (1.1.0-1) ... Setting up libqhull-r7:s390x (2015.2-4) ... Setting up libmuparser2v5:s390x (2.2.3-6) ... Setting up libx11-data (2:1.6.7-1) ... Setting up libqt4-xml:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up qt4-linguist-tools (4:4.8.7+dfsg-7ubuntu1) ... Setting up libxau6:s390x (1:1.0.8-1) ... Setting up autopoint (0.19.8.1-9) ... Setting up libdbus-1-3:s390x (1.12.10-1ubuntu2) ... Setting up libwayland-server0:s390x (1.16.0-1ubuntu1) ... Setting up libwebp6:s390x (0.6.1-2) ... Setting up libfile-stripnondeterminism-perl (0.45.0-1) ... Setting up libjpeg8:s390x (8c-2ubuntu8) ... Setting up fontconfig-config (2.13.0-5ubuntu3) ... Setting up x11proto-core-dev (2018.4-4) ... Setting up libxshmfence-dev:s390x (1.3-1) ... Setting up gettext (0.19.8.1-9) ... Setting up libeigen3-dev (3.3.5-2) ... Setting up x11proto-fixes-dev (1:2018.4-4) ... Setting up qt4-qmake (4:4.8.7+dfsg-7ubuntu1) ... Setting up libtiff5:s390x (4.0.10-3) ... Setting up x11proto-xf86vidmode-dev (2018.4-4) ... Setting up libxau-dev:s390x (1:1.0.8-1) ... Setting up xsltproc (1.1.32-2) ... Setting up autoconf (2.69-11) ... Setting up libqt4-sql:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libopenctm-dev:s390x (1.0.3+dfsg1-2build1) ... Setting up file (1:5.34-2) ... Setting up libmng2:s390x (2.0.2-0ubuntu3) ... Setting up libqhull-dev:s390x (2015.2-4) ... Setting up libdrm2:s390x (2.4.95-1) ... Setting up libmuparser-dev (2.2.3-6) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up libxdmcp-dev:s390x (1:1.1.2-3) ... 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 libice6:s390x (2:1.0.9-2) ... Setting up man-db (2.8.4-3) ... Not building database; man-db/auto-update is not 'true'. Setting up libdrm-radeon1:s390x (2.4.95-1) ... Setting up libdrm-nouveau2:s390x (2.4.95-1) ... Setting up libqtdbus4:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libxcb1:s390x (1.13.1-1) ... Setting up libtool (2.4.6-6) ... Setting up libxcb-present0:s390x (1.13.1-1) ... Setting up libfontconfig1:s390x (2.13.0-5ubuntu3) ... Setting up libxcb-dri2-0:s390x (1.13.1-1) ... Setting up libsm6:s390x (2:1.2.2-1) ... Setting up libxcb-dri3-0:s390x (1.13.1-1) ... Setting up libxcb-glx0:s390x (1.13.1-1) ... Setting up libxcb-randr0:s390x (1.13.1-1) ... Setting up libxcb-xfixes0:s390x (1.13.1-1) ... Setting up libxcb-render0:s390x (1.13.1-1) ... Setting up po-debconf (1.0.21) ... Setting up libdrm-amdgpu1:s390x (2.4.95-1) ... Setting up libqt4-script:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libdrm-dev:s390x (2.4.95-1) ... Setting up libgbm1:s390x (18.2.2-0ubuntu1) ... Setting up libx11-6:s390x (2:1.6.7-1) ... Setting up libgl1-mesa-dri:s390x (18.2.2-0ubuntu1) ... Setting up qdbus (4:4.8.7+dfsg-7ubuntu1) ... Setting up libxcb-sync1:s390x (1.13.1-1) ... Setting up libxt6:s390x (1:1.1.5-1) ... Setting up libxcb-shape0:s390x (1.13.1-1) ... Setting up libxrender1:s390x (1:0.9.10-1) ... Setting up libxcb1-dev:s390x (1.13.1-1) ... Setting up libxcb-glx0-dev:s390x (1.13.1-1) ... Setting up libegl-mesa0:s390x (18.2.2-0ubuntu1) ... Setting up libx11-dev:s390x (2:1.6.7-1) ... Setting up libqt4-dbus:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libqt4-network:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libxcb-sync-dev:s390x (1.13.1-1) ... Setting up libaudio2:s390x (1.9.4-6) ... Setting up fontconfig (2.13.0-5ubuntu3) ... Regenerating fonts cache... done. Setting up libx11-xcb-dev:s390x (2:1.6.7-1) ... Setting up libxdamage1:s390x (1:1.1.4-3) ... Setting up mesa-common-dev:s390x (18.2.2-0ubuntu1) ... Setting up libxext6:s390x (2:1.3.3-1) ... Setting up libxfixes3:s390x (1:5.0.3-1) ... Setting up libqt4-xmlpatterns:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libxcb-dri2-0-dev:s390x (1.13.1-1) ... Setting up libxcb-render0-dev:s390x (1.13.1-1) ... Setting up libegl1:s390x (1.1.0-1) ... Setting up libxcb-dri3-dev:s390x (1.13.1-1) ... Setting up libxext-dev:s390x (2:1.3.3-1) ... Setting up libxcb-shape0-dev:s390x (1.13.1-1) ... Setting up libxxf86vm1:s390x (1:1.1.4-1) ... Setting up libxxf86vm-dev:s390x (1:1.1.4-1) ... Setting up libxfixes-dev:s390x (1:5.0.3-1) ... Setting up libglx-mesa0:s390x (18.2.2-0ubuntu1) ... Setting up libxi6:s390x (2:1.7.9-1) ... Setting up libxcb-randr0-dev:s390x (1.13.1-1) ... Setting up libxcb-xfixes0-dev:s390x (1.13.1-1) ... Setting up libxdamage-dev:s390x (1:1.1.4-3) ... Setting up libxcb-present-dev:s390x (1.13.1-1) ... Setting up libglx0:s390x (1.1.0-1) ... Setting up libgl1:s390x (1.1.0-1) ... Setting up libglu1-mesa:s390x (9.0.0-2.1build1) ... Setting up libglew2.1:s390x (2.1.0-2) ... Setting up libglvnd-dev:s390x (1.1.0-1) ... Setting up libgl1-mesa-dev:s390x (18.2.2-0ubuntu1) ... Setting up libglu1-mesa-dev:s390x (9.0.0-2.1build1) ... Setting up libglew-dev:s390x (2.1.0-2) ... Processing triggers for sgml-base (1.29) ... Setting up docbook-xsl (1.79.1+dfsg-2) ... Setting up libqt4-declarative:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libqtgui4:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up dh-autoreconf (19) ... Setting up libqt4-designer:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libqt4-help:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up dh-strip-nondeterminism (0.45.0-1) ... Setting up libqt4-svg:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libqt4-scripttools:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up debhelper (11.3.2ubuntu1) ... Setting up libqt4-opengl:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libqt4-qt3support:s390x (4:4.8.7+dfsg-7ubuntu1) ... Setting up libqt4-dev-bin (4:4.8.7+dfsg-7ubuntu1) ... Setting up libqt4-dev (4:4.8.7+dfsg-7ubuntu1) ... Setting up libqt4-opengl-dev (4:4.8.7+dfsg-7ubuntu1) ... Setting up sbuild-build-depends-meshlab-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.28-0ubuntu1) ... Processing triggers for systemd (239-7ubuntu12) ... +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.4.0-139-generic s390x (s390x) Toolchain package versions: binutils_2.31.1-8ubuntu1 dpkg-dev_1.19.0.5ubuntu5 g++-8_8.2.0-10ubuntu1 gcc-8_8.2.0-10ubuntu1 libc6-dev_2.28-0ubuntu1 libstdc++-8-dev_8.2.0-10ubuntu1 libstdc++6_8.2.0-10ubuntu1 linux-libc-dev_4.18.0-12.13 Package versions: adduser_3.117ubuntu1 advancecomp_2.1-1 apt_1.8.0~alpha2ubuntu1 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_10.1ubuntu8 base-passwd_3.5.45 bash_4.4.18-2ubuntu3 binutils_2.31.1-8ubuntu1 binutils-common_2.31.1-8ubuntu1 binutils-s390x-linux-gnu_2.31.1-8ubuntu1 bsdmainutils_11.1.2ubuntu2 bsdutils_1:2.32-0.1ubuntu2 build-essential_12.5ubuntu2 bzip2_1.0.6-9 ca-certificates_20180409 coreutils_8.28-1ubuntu2 cpp_4:8.2.0-2ubuntu2 cpp-8_8.2.0-10ubuntu1 dash_0.5.10.2-1 debconf_1.5.69 debhelper_11.3.2ubuntu1 debianutils_4.8.6 dh-autoreconf_19 dh-strip-nondeterminism_0.45.0-1 diffutils_1:3.6-1 dmsetup_2:1.02.145-4.1ubuntu4 docbook-xsl_1.79.1+dfsg-2 dpkg_1.19.0.5ubuntu5 dpkg-dev_1.19.0.5ubuntu5 dwz_0.12-2 e2fslibs_1.44.4-2 e2fsprogs_1.44.4-2 fakeroot_1.23-1 fdisk_2.32-0.1ubuntu2 file_1:5.34-2 findutils_4.6.0+git+20181018-1 fontconfig_2.13.0-5ubuntu3 fontconfig-config_2.13.0-5ubuntu3 fonts-dejavu-core_2.37-1 g++_4:8.2.0-2ubuntu2 g++-8_8.2.0-10ubuntu1 gcc_4:8.2.0-2ubuntu2 gcc-8_8.2.0-10ubuntu1 gcc-8-base_8.2.0-10ubuntu1 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gpg_2.2.8-3ubuntu1 gpg-agent_2.2.8-3ubuntu1 gpgconf_2.2.8-3ubuntu1 gpgv_2.2.8-3ubuntu1 grep_3.1-2ubuntu1 groff-base_1.22.3-10 gzip_1.6-5ubuntu2 hostname_3.21 init_1.56 init-system-helpers_1.56 initscripts_2.88dsf-59.3ubuntu2 insserv_1.14.0-5ubuntu3 intltool-debian_0.35.0+20060710.4 lib3ds-1-3_1.3.0-9 lib3ds-dev_1.3.0-9 libacl1_2.2.52-3build1 libapparmor1_2.12-4ubuntu10 libapt-pkg5.0_1.8.0~alpha2ubuntu1 libarchive-zip-perl_1.64-1 libargon2-1_0~20171227-0.1 libasan5_8.2.0-10ubuntu1 libassuan0_2.5.1-2 libatomic1_8.2.0-10ubuntu1 libattr1_1:2.4.47-2build1 libaudio2_1.9.4-6 libaudit-common_1:2.8.3-1ubuntu3 libaudit1_1:2.8.3-1ubuntu3 libbinutils_2.31.1-8ubuntu1 libblkid1_2.32-0.1ubuntu2 libbsd0_0.9.1-1 libbz2-1.0_1.0.6-9 libbz2-dev_1.0.6-9 libc-bin_2.28-0ubuntu1 libc-dev-bin_2.28-0ubuntu1 libc6_2.28-0ubuntu1 libc6-dev_2.28-0ubuntu1 libcap-ng0_0.7.9-1build1 libcap2_1:2.25-1.2 libcc1-0_8.2.0-10ubuntu1 libcom-err2_1.44.4-2 libcomerr2_1.44.4-2 libcroco3_0.6.12-2 libcryptsetup12_2:2.0.4-2ubuntu2 libdb5.3_5.3.28+dfsg1-0.2 libdbus-1-3_1.12.10-1ubuntu2 libdebconfclient0_0.244ubuntu1 libdevmapper1.02.1_2:1.02.145-4.1ubuntu4 libdpkg-perl_1.19.0.5ubuntu5 libdrm-amdgpu1_2.4.95-1 libdrm-common_2.4.95-1 libdrm-dev_2.4.95-1 libdrm-nouveau2_2.4.95-1 libdrm-radeon1_2.4.95-1 libdrm2_2.4.95-1 libegl-mesa0_18.2.2-0ubuntu1 libegl1_1.1.0-1 libeigen3-dev_3.3.5-2 libelf1_0.175-1 libexpat1_2.2.6-1 libext2fs2_1.44.4-2 libfakeroot_1.23-1 libfdisk1_2.32-0.1ubuntu2 libffi6_3.2.1-8 libfile-stripnondeterminism-perl_0.45.0-1 libfontconfig1_2.13.0-5ubuntu3 libfreetype6_2.8.1-2ubuntu2 libgbm1_18.2.2-0ubuntu1 libgcc-8-dev_8.2.0-10ubuntu1 libgcc1_1:8.2.0-10ubuntu1 libgcrypt20_1.8.4-3ubuntu1 libgdbm-compat4_1.18.1-1 libgdbm5_1.14.1-6 libgdbm6_1.18.1-1 libgl1_1.1.0-1 libgl1-mesa-dev_18.2.2-0ubuntu1 libgl1-mesa-dri_18.2.2-0ubuntu1 libglapi-mesa_18.2.2-0ubuntu1 libgles1_1.1.0-1 libgles2_1.1.0-1 libglew-dev_2.1.0-2 libglew2.1_2.1.0-2 libglib2.0-0_2.58.1-2 libglu1-mesa_9.0.0-2.1build1 libglu1-mesa-dev_9.0.0-2.1build1 libglvnd-core-dev_1.1.0-1 libglvnd-dev_1.1.0-1 libglvnd0_1.1.0-1 libglx-mesa0_18.2.2-0ubuntu1 libglx0_1.1.0-1 libgmp10_2:6.1.2+dfsg-3 libgnutls30_3.6.4-2ubuntu2 libgomp1_8.2.0-10ubuntu1 libgpg-error0_1.32-3 libhogweed4_3.4-1 libice6_2:1.0.9-2 libicu63_63.1-4 libidn11_1.33-2.2ubuntu1 libidn2-0_2.0.5-1 libip4tc0_1.6.1-2ubuntu2 libisl19_0.20-2 libitm1_8.2.0-10ubuntu1 libjbig0_2.1-3.1build1 libjpeg-turbo8_2.0.0-0ubuntu2 libjpeg8_8c-2ubuntu8 libjson-c3_0.12.1-1.3 libkmod2_25-1ubuntu2 liblcms2-2_2.9-3 liblockfile-bin_1.14-1.1 liblockfile1_1.14-1.1 liblz4-1_1.8.2-1ubuntu1 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.34-2 libmagic1_1:5.34-2 libmng2_2.0.2-0ubuntu3 libmount1_2.32-0.1ubuntu2 libmpc3_1.1.0-1 libmpfr6_4.0.1-1 libmuparser-dev_2.2.3-6 libmuparser2v5_2.2.3-6 libncurses6_6.1+20180210-4ubuntu1 libncursesw6_6.1+20180210-4ubuntu1 libnettle6_3.4-1 libnpth0_1.6-1 libopenctm-dev_1.0.3+dfsg1-2build1 libopenctm1_1.0.3+dfsg1-2build1 libopengl0_1.1.0-1 libp11-kit0_0.23.14-2 libpam-modules_1.1.8-3.6ubuntu2 libpam-modules-bin_1.1.8-3.6ubuntu2 libpam-runtime_1.1.8-3.6ubuntu2 libpam0g_1.1.8-3.6ubuntu2 libpcre3_2:8.39-11 libperl5.26_5.26.2-7 libperl5.28_5.28.0-4 libpipeline1_1.5.0-2 libpng16-16_1.6.34-2 libprocps7_2:3.3.15-2ubuntu1 libpthread-stubs0-dev_0.3-4 libqhull-dev_2015.2-4 libqhull-r7_2015.2-4 libqhull7_2015.2-4 libqt4-dbus_4:4.8.7+dfsg-7ubuntu1 libqt4-declarative_4:4.8.7+dfsg-7ubuntu1 libqt4-designer_4:4.8.7+dfsg-7ubuntu1 libqt4-dev_4:4.8.7+dfsg-7ubuntu1 libqt4-dev-bin_4:4.8.7+dfsg-7ubuntu1 libqt4-help_4:4.8.7+dfsg-7ubuntu1 libqt4-network_4:4.8.7+dfsg-7ubuntu1 libqt4-opengl_4:4.8.7+dfsg-7ubuntu1 libqt4-opengl-dev_4:4.8.7+dfsg-7ubuntu1 libqt4-qt3support_4:4.8.7+dfsg-7ubuntu1 libqt4-script_4:4.8.7+dfsg-7ubuntu1 libqt4-scripttools_4:4.8.7+dfsg-7ubuntu1 libqt4-sql_4:4.8.7+dfsg-7ubuntu1 libqt4-svg_4:4.8.7+dfsg-7ubuntu1 libqt4-test_4:4.8.7+dfsg-7ubuntu1 libqt4-xml_4:4.8.7+dfsg-7ubuntu1 libqt4-xmlpatterns_4:4.8.7+dfsg-7ubuntu1 libqtcore4_4:4.8.7+dfsg-7ubuntu1 libqtdbus4_4:4.8.7+dfsg-7ubuntu1 libqtgui4_4:4.8.7+dfsg-7ubuntu1 libreadline7_7.0-5 libseccomp2_2.3.3-3ubuntu2 libselinux1_2.8-1build2 libsemanage-common_2.8-1build2 libsemanage1_2.8-1build2 libsensors4_1:3.4.0-4 libsepol1_2.8-1 libsigsegv2_2.12-2 libslang2_2.3.2-1ubuntu1 libsm6_2:1.2.2-1 libsmartcols1_2.32-0.1ubuntu2 libsqlite3-0_3.25.3-2 libss2_1.44.4-2 libssl1.1_1.1.1-1ubuntu2 libstdc++-8-dev_8.2.0-10ubuntu1 libstdc++6_8.2.0-10ubuntu1 libsystemd0_239-7ubuntu12 libtasn1-6_4.13-3 libtiff5_4.0.10-3 libtinfo6_6.1+20180210-4ubuntu1 libtool_2.4.6-6 libubsan1_8.2.0-10ubuntu1 libudev1_239-7ubuntu12 libunistring2_0.9.10-1ubuntu1 libusb-0.1-4_2:0.1.12-32 libustr-1.0-1_1.0.4-6 libuuid1_2.32-0.1ubuntu2 libwayland-client0_1.16.0-1ubuntu1 libwayland-server0_1.16.0-1ubuntu1 libwebp6_0.6.1-2 libx11-6_2:1.6.7-1 libx11-data_2:1.6.7-1 libx11-dev_2:1.6.7-1 libx11-xcb-dev_2:1.6.7-1 libx11-xcb1_2:1.6.7-1 libxau-dev_1:1.0.8-1 libxau6_1:1.0.8-1 libxcb-dri2-0_1.13.1-1 libxcb-dri2-0-dev_1.13.1-1 libxcb-dri3-0_1.13.1-1 libxcb-dri3-dev_1.13.1-1 libxcb-glx0_1.13.1-1 libxcb-glx0-dev_1.13.1-1 libxcb-present-dev_1.13.1-1 libxcb-present0_1.13.1-1 libxcb-randr0_1.13.1-1 libxcb-randr0-dev_1.13.1-1 libxcb-render0_1.13.1-1 libxcb-render0-dev_1.13.1-1 libxcb-shape0_1.13.1-1 libxcb-shape0-dev_1.13.1-1 libxcb-sync-dev_1.13.1-1 libxcb-sync1_1.13.1-1 libxcb-xfixes0_1.13.1-1 libxcb-xfixes0-dev_1.13.1-1 libxcb1_1.13.1-1 libxcb1-dev_1.13.1-1 libxdamage-dev_1:1.1.4-3 libxdamage1_1:1.1.4-3 libxdmcp-dev_1:1.1.2-3 libxdmcp6_1:1.1.2-3 libxext-dev_2:1.3.3-1 libxext6_2:1.3.3-1 libxfixes-dev_1:5.0.3-1 libxfixes3_1:5.0.3-1 libxi6_2:1.7.9-1 libxml2_2.9.4+dfsg1-7ubuntu3 libxrender1_1:0.9.10-1 libxshmfence-dev_1.3-1 libxshmfence1_1.3-1 libxslt1.1_1.1.32-2 libxt6_1:1.1.5-1 libxxf86vm-dev_1:1.1.4-1 libxxf86vm1_1:1.1.4-1 libzstd1_1.3.5+dfsg-1ubuntu1 linux-libc-dev_4.18.0-12.13 lockfile-progs_0.1.18 login_1:4.5-1ubuntu1 lsb-base_9.20170808ubuntu1 m4_1.4.18-1ubuntu1 make_4.2.1-1.2 man-db_2.8.4-3 mawk_1.3.3-17ubuntu3 mesa-common-dev_18.2.2-0ubuntu1 mount_2.32-0.1ubuntu2 multiarch-support_2.28-0ubuntu1 ncurses-base_6.1+20180210-4ubuntu1 ncurses-bin_6.1+20180210-4ubuntu1 openssl_1.1.1-1ubuntu2 optipng_0.7.6-1.1 passwd_1:4.5-1ubuntu1 patch_2.7.6-3 perl_5.28.0-4 perl-base_5.28.0-4 perl-modules-5.26_5.26.2-7 perl-modules-5.28_5.28.0-4 pinentry-curses_1.1.0-1build2 pkg-config_0.29.1-0ubuntu2 pkgbinarymangler_143 po-debconf_1.0.21 policyrcd-script-zg2_0.1-3 procps_2:3.3.15-2ubuntu1 qdbus_4:4.8.7+dfsg-7ubuntu1 qt4-linguist-tools_4:4.8.7+dfsg-7ubuntu1 qt4-qmake_4:4.8.7+dfsg-7ubuntu1 qtchooser_64-ga1b6736-5 qtcore4-l10n_4:4.8.7+dfsg-7ubuntu1 readline-common_7.0-5 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-meshlab-dummy_0.invalid.0 sed_4.5-2 sensible-utils_0.0.12 sgml-base_1.29 systemd_239-7ubuntu12 systemd-sysv_239-7ubuntu12 sysv-rc_2.88dsf-59.3ubuntu2 sysvinit-utils_2.88dsf-59.10ubuntu2 tar_1.30+dfsg-3 tzdata_2018g-1 ubuntu-keyring_2018.09.18.1 ucf_3.0038 util-linux_2.32-0.1ubuntu2 x11-common_1:7.7+19ubuntu8 x11proto-core-dev_2018.4-4 x11proto-damage-dev_1:2018.4-4 x11proto-dev_2018.4-4 x11proto-fixes-dev_1:2018.4-4 x11proto-xext-dev_2018.4-4 x11proto-xf86vidmode-dev_2018.4-4 xml-core_0.18 xorg-sgml-doctools_1:1.11-1 xsltproc_1.1.32-2 xtrans-dev_1.3.5-1 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-0ubuntu2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: Signature made Sat Nov 24 03:40:13 2018 UTC gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./meshlab_1.3.2+dfsg1-4build1.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-4build1.debian.tar.xz 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 Check disc space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=4 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-15698596 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-15698596 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-15698596 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package meshlab dpkg-buildpackage: info: source version 1.3.2+dfsg1-4build1 dpkg-buildpackage: info: source distribution disco dpkg-source --before-build meshlab-1.3.2+dfsg1 dpkg-buildpackage: info: host architecture s390x 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-arch dh_testdir cd meshlab/src/external ; qmake -spec linux-g++ -recursive external.pro QMAKE_CFLAGS_RELEASE="-g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CFLAGS_DEBUG="-g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CXXFLAGS_RELEASE="-g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CXXFLAGS_DEBUG="-g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_LFLAGS_RELEASE="-Wl,-Bsymbolic-functions -Wl,-z,relro" QMAKE_LFLAGS_DEBUG="-Wl,-Bsymbolic-functions -Wl,-z,relro" Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/external/levmar-2.3/levmar-2.3.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/external/structuresynth/structuresynth.pro Reading /<>/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CFLAGS_DEBUG="-g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CXXFLAGS_RELEASE="-g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_CXXFLAGS_DEBUG="-g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" QMAKE_LFLAGS_RELEASE="-Wl,-Bsymbolic-functions -Wl,-z,relro" QMAKE_LFLAGS_DEBUG="-Wl,-Bsymbolic-functions -Wl,-z,relro" Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/common/common.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlab/meshlab.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabserver/meshlabserver.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_base/io_base.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_3ds/io_3ds.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_bre/io_bre.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_collada/io_collada.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_ctm/io_ctm.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_json/io_json.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_u3d/io_u3d.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_tri/io_tri.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_x3d/io_x3d.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_gts/io_gts.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_expe/io_expe.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_pdb/io_pdb.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_aging/filter_aging.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ao/filter_ao.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_autoalign/filter_autoalign.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_camera/filter_camera.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_bnpts/filter_bnpts.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_clean/filter_clean.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorize/filter_colorize.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorproc/filter_colorproc.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_color_projection/filter_color_projection.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_create/filter_create.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_dirt/filter_dirt.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_fractal/filter_fractal.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_func/filter_func.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_img_patch_param/filter_img_patch_param.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_layer/filter_layer.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_measure/filter_measure.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_meshing/filter_meshing.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mutualinfoxml/filter_mutualinfoxml.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mls/filter_mls.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_photosynth/filter_photosynth.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_plymc/filter_plymc.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_poisson/filter_poisson.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_qhull/filter_qhull.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_quality/filter_quality.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sampling/filter_sampling.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sdfgpu/filter_sdfgpu.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_select/filter_select.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ssynth/filter_ssynth.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_texture/filter_texture.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_trioptimize/filter_trioptimize.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_unsharp/filter_unsharp.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_zippering/filter_zippering.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_splatting/render_splatting.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_gdp/render_gdp.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_radiance_scaling/render_radiance_scaling.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_rfx/render_rfx.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_base/decorate_base.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_background/decorate_background.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_shadow/decorate_shadow.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_raster_proj/decorate_raster_proj.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_select/edit_select.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_pickpoints/edit_pickpoints.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_align/edit_align.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_measure/edit_measure.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_hole/edit_hole.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_paint/edit_paint.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_point/edit_point.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_quality/edit_quality.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_texture/edit_texture.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_manipulators/edit_manipulators.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/sampleedit/sampleedit.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilter/samplefilter.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilterdyn/samplefilterdyn.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/io_m/io_m.pro Reading /<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/filtergeodesic/filtergeodesic.pro Reading /<>/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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/external' cd levmar-2.3/ && /usr/lib/s390x-linux-gnu/qt4/bin/qmake /<>/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\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CFLAGS_DEBUG=-g\ -O2\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_LFLAGS_RELEASE=-Wl,-Bsymbolic-functions\ -Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-Bsymbolic-functions\ -Wl,-z,relro -o Makefile cd levmar-2.3/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/external/levmar-2.3' gcc -c -pipe -g -O2 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/external/levmar-2.3' cd structuresynth/ && /usr/lib/s390x-linux-gnu/qt4/bin/qmake /<>/meshlab-1.3.2+dfsg1/meshlab/src/external/structuresynth/structuresynth.pro -spec /usr/share/qt4/mkspecs/linux-g++ QMAKE_CFLAGS_RELEASE=-g\ -O2\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CFLAGS_DEBUG=-g\ -O2\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_LFLAGS_RELEASE=-Wl,-Bsymbolic-functions\ -Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-Bsymbolic-functions\ -Wl,-z,relro -o Makefile cd structuresynth/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/external/structuresynth' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/external/structuresynth' cd jhead-2.95/ && /usr/lib/s390x-linux-gnu/qt4/bin/qmake /<>/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\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CFLAGS_DEBUG=-g\ -O2\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_RELEASE=-g\ -O2\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_CXXFLAGS_DEBUG=-g\ -O2\ -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=.\ -fstack-protector-strong\ -Wformat\ -Werror=format-security\ -Wdate-time\ -D_FORTIFY_SOURCE=2 QMAKE_LFLAGS_RELEASE=-Wl,-Bsymbolic-functions\ -Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-Bsymbolic-functions\ -Wl,-z,relro -o Makefile cd jhead-2.95/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/external/jhead-2.95' gcc -c -pipe -g -O2 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/external/jhead-2.95' make[1]: Leaving directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/external' /usr/bin/make -C meshlab/src make[1]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src' cd common/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/common' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/common' cd meshlab/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlab' /usr/lib/s390x-linux-gnu/qt4/bin/uic ui/layerDialog.ui -o ui_layerDialog.h /usr/lib/s390x-linux-gnu/qt4/bin/uic ui/filterScriptDialog.ui -o ui_filterScriptDialog.h /usr/lib/s390x-linux-gnu/qt4/bin/uic ui/customDialog.ui -o ui_customDialog.h /usr/lib/s390x-linux-gnu/qt4/bin/uic ui/savesnapshotDialog.ui -o ui_savesnapshotDialog.h /usr/lib/s390x-linux-gnu/qt4/bin/uic ui/aboutDialog.ui -o ui_aboutDialog.h /usr/lib/s390x-linux-gnu/qt4/bin/uic ui/renametexture.ui -o ui_renametexture.h /usr/lib/s390x-linux-gnu/qt4/bin/uic ui/savemaskexporter.ui -o ui_savemaskexporter.h /usr/lib/s390x-linux-gnu/qt4/bin/uic ui/congratsDialog.ui -o ui_congratsDialog.h /usr/lib/s390x-linux-gnu/qt4/bin/uic ui/filtergui.ui -o ui_filtergui.h /usr/lib/s390x-linux-gnu/qt4/bin/uic ui/filtercreatortab.ui -o ui_filtercreatortab.h g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/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; ^~~~~~~~~~ ../../../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/s390x-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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name meshlab meshlab.qrc -o qrc_meshlab.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlab' cd meshlabserver/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabserver' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -Wl,-rpath,/usr/lib/meshlab -o ../distrib/meshlabserver mainserver.o -L/usr/lib/s390x-linux-gnu -L/usr/X11R6/lib -L../distrib -lcommon -lGLEW -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread make[2]: Leaving directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabserver' cd meshlabplugins/io_base/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_base' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_base.so baseio.o plylib.o moc_baseio.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_base' cd meshlabplugins/io_3ds/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_3ds' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_3ds.so meshio.o moc_meshio.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_3ds' cd meshlabplugins/io_bre/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_bre' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_bre.so io_bre.o moc_io_bre.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_bre' cd meshlabplugins/io_collada/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_collada' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_collada.so io_collada.o xmldocumentmanaging.o moc_io_collada.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_collada' cd meshlabplugins/io_ctm/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_ctm' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_ctm.so io_ctm.o moc_io_ctm.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_ctm' cd meshlabplugins/io_json/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_json' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_json.so io_json.o moc_io_json.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_json' cd meshlabplugins/io_u3d/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_u3d' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_u3d.so io_u3d.o pluginmanager.o moc_io_u3d.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_u3d' cd meshlabplugins/io_tri/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_tri' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_tri.so io_tri.o moc_io_tri.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_tri' cd meshlabplugins/io_x3d/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_x3d' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 ^~~~~~~~~ In file included from io_x3d.cpp:32: export_x3d.h: In static member function ‘static int vcg::tri::io::ExporterX3D::Save(SaveMeshType&, const char*, int, bool (*)(int, const char*)) [with SaveMeshType = CMeshO]’: export_x3d.h:206:7: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (n != indexTexture) ^~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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; ^~~~ /usr/lib/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_x3d.so io_x3d.o Parser.o Scanner.o moc_io_x3d.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_x3d' cd meshlabplugins/io_gts/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_gts' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_gts.so io_gts.o moc_io_gts.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_gts' cd meshlabplugins/io_expe/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_expe' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_expe.so io_expe.o moc_io_expe.o -L/usr/X11R6/lib -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_expe' cd meshlabplugins/io_pdb/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_pdb' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 ^~~~~~~~~~~~~~~~ In file included from io_pdb.cpp:38: ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::TrivialWalker::GetXIntercept(const Point3i&, const Point3i&, vcg::tri::TrivialWalker::VertexPointer&) [with MeshType = CMeshO; VolumeType = vcg::SimpleVolume]’: ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:252:34: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] assert(pos >=0 && size_t(pos)< _mesh->vert.size()); ^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::TrivialWalker::GetZIntercept(const Point3i&, const Point3i&, vcg::tri::TrivialWalker::VertexPointer&) [with MeshType = CMeshO; VolumeType = vcg::SimpleVolume]’: ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:301:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes::AddTriangles(const char*, char, vcg::tri::MarchingCubes::VertexPointer) [with TRIMESH_TYPE = CMeshO; WALKER_TYPE = vcg::tri::TrivialWalker >]’: ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:301:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:276:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:301:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:276:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_pdb.so io_pdb.o plylib.o moc_io_pdb.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/io_pdb' cd meshlabplugins/filter_aging/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_aging' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_aging.so filter_aging.o moc_filter_aging.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_aging' cd meshlabplugins/filter_ao/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ao' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name filter_ao filter_ao.qrc -o qrc_filter_ao.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_ao.so filter_ao.o moc_filter_ao.o qrc_filter_ao.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ao' cd meshlabplugins/filter_autoalign/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_autoalign' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 point_matching_scale.o ../../meshlabplugins/edit_align/point_matching_scale.cpp In file included from ../../meshlabplugins/edit_align/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*)]’ ../../meshlabplugins/edit_align/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 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/s390x-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. filter_autoalign.h -o moc_filter_autoalign.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 moc_filter_autoalign.o moc_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 moc_filter_autoalign.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_autoalign.h:29, from moc_filter_autoalign.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_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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_autoalign' cd meshlabplugins/filter_camera/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_camera' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_camera.so filter_camera.o moc_filter_camera.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_camera' cd meshlabplugins/filter_bnpts/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_bnpts' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_bnpts.so filter_bnpts.o moc_filter_bnpts.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_bnpts' cd meshlabplugins/filter_clean/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_clean' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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:432:32: warning: ‘localThr’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(bestDist < localThr && !bestFace->IsV()) ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/lib/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_clean.so cleanfilter.o moc_cleanfilter.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_clean' cd meshlabplugins/filter_colorize/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorize' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_colorize.so meshcolorize.o moc_meshcolorize.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorize' cd meshlabplugins/filter_colorproc/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorproc' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_colorproc.so filter_colorproc.o moc_filter_colorproc.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_colorproc' cd meshlabplugins/filter_color_projection/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_color_projection' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_color_projection.so filter_color_projection.o moc_filter_color_projection.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_color_projection' cd meshlabplugins/filter_create/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_create' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_create.so filter_create.o moc_filter_create.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_create' cd meshlabplugins/filter_dirt/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_dirt' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_dirt.so filter_dirt.o dirt_utils.o moc_filter_dirt.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_dirt' cd meshlabplugins/filter_fractal/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_fractal' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name ff_res ff_res.qrc -o qrc_ff_res.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_fractal.so filter_fractal.o moc_filter_fractal.o qrc_ff_res.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_fractal' cd meshlabplugins/filter_func/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_func' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 ^~~~~~~~~~~~~~~~ In file included from filter_func.cpp:28: ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::TrivialWalker::GetXIntercept(const Point3i&, const Point3i&, vcg::tri::TrivialWalker::VertexPointer&) [with MeshType = CMeshO; VolumeType = vcg::SimpleVolume]’: ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:252:34: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] assert(pos >=0 && size_t(pos)< _mesh->vert.size()); ^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::TrivialWalker::GetZIntercept(const Point3i&, const Point3i&, vcg::tri::TrivialWalker::VertexPointer&) [with MeshType = CMeshO; VolumeType = vcg::SimpleVolume]’: ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:301:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes::AddTriangles(const char*, char, vcg::tri::MarchingCubes::VertexPointer) [with TRIMESH_TYPE = CMeshO; WALKER_TYPE = vcg::tri::TrivialWalker >]’: ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:301:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:276:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:301:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:276:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ /usr/lib/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_func.so filter_func.o moc_filter_func.o -L/usr/lib/s390x-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 '/<>/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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_img_patch_param' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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: ^~~~ filter_img_patch_param.cpp: In member function ‘void FilterImgPatchParamPlugin::patchPacking(RasterPatchMap&, int, bool)’: 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -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/s390x-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 '/<>/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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_isoparametrization' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/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: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/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: ‘’ 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/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]; ~~~~^ 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); ~~~~~~~~~^~~~~~ /usr/lib/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_isoparametrization.so filter_isoparametrization.o moc_filter_isoparametrization.o -L/usr/X11R6/lib -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_isoparametrization' cd meshlabplugins/filter_layer/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_layer' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_layer.so filter_layer.o moc_filter_layer.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_layer' cd meshlabplugins/filter_measure/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_measure' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_measure.so filter_measure.o moc_filter_measure.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_measure' cd meshlabplugins/filter_meshing/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_meshing' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 ../../../../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; ^~~~~~ 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) { ^~ 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_meshing.so meshfilter.o quadric_simp.o quadric_tex_simp.o moc_meshfilter.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_meshing' cd meshlabplugins/filter_mutualinfoxml/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mutualinfoxml' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mutualinfoxml' cd meshlabplugins/filter_mls/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mls' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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 -fdebug-prefix-map=/<>/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/s390x-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 -fdebug-prefix-map=/<>/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_mls' cd meshlabplugins/filter_photosynth/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_photosynth' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_photosynth' cd meshlabplugins/filter_plymc/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_plymc' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from plymc.h:50, from filter_plymc.cpp:28: trivial_walker.h: In member function ‘void vcg::tri::TrivialWalker::GetXIntercept(const Point3i&, const Point3i&, vcg::tri::TrivialWalker::VertexPointer&) [with MeshType = vcg::tri::PlyMC >::MCMesh; VolumeType = Volume]’: trivial_walker.h:166:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ trivial_walker.h: In member function ‘void vcg::tri::TrivialWalker::GetZIntercept(const Point3i&, const Point3i&, vcg::tri::TrivialWalker::VertexPointer&) [with MeshType = vcg::tri::PlyMC >::MCMesh; VolumeType = Volume]’: trivial_walker.h:214:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_plymc.so filter_plymc.o plylib.o moc_filter_plymc.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_plymc' cd meshlabplugins/filter_poisson/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_poisson' g++ -c -pipe -fpermissive -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/MultiGridOctest.cpp:29: /usr/include/s390x-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/s390x-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/MultiGridOctest.cpp:29: /usr/include/s390x-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/s390x-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/MultiGridOctest.cpp:29: /usr/include/s390x-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/s390x-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/MultiGridOctest.cpp:29: /usr/include/s390x-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/s390x-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/MultiGridOctest.cpp:29: /usr/include/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_poisson' cd meshlabplugins/filter_qhull/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_qhull' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_qhull.so filter_qhull.o qhull_tools.o moc_filter_qhull.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_qhull' cd meshlabplugins/filter_quality/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_quality' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 util.o ../edit_quality/common/util.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 meshmethods.o ../edit_quality/common/meshmethods.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 ../edit_quality/common/meshmethods.h:30, from ../edit_quality/common/meshmethods.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 ../edit_quality/common/meshmethods.h:30, from ../edit_quality/common/meshmethods.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 ../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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_quality.so transferfunction.o util.o meshmethods.o filterqualitymapper.o moc_filterqualitymapper.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_quality' cd meshlabplugins/filter_sampling/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sampling' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_sampling.so filter_sampling.o moc_filter_sampling.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sampling' cd meshlabplugins/filter_sdfgpu/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sdfgpu' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name filter_sdfgpu filter_sdfgpu.qrc -o qrc_filter_sdfgpu.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_sdfgpu' cd meshlabplugins/filter_select/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_select' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name meshlab meshlab.qrc -o qrc_meshlab.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_select.so meshselect.o moc_meshselect.o qrc_meshlab.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_select' cd meshlabplugins/filter_ssynth/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ssynth' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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; ^~~~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/s390x-linux-gnu/qt4/bin/rcc -name ssynthres ssynthres.qrc -o qrc_ssynthres.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_ssynth' cd meshlabplugins/filter_texture/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_texture' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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:235: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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qaccessible.h:51, from /usr/include/qt4/QtGui/QtGui:4, 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/qaccessible.h:51, from /usr/include/qt4/QtGui/QtGui:4, 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/complex/algorithms/parametrization/voronoi_atlas.h:6, from filter_texture.cpp:38: ../../../../vcglib/vcg/space/poly_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/poly_packer.h:84:5: warning: ‘bestAngle’ may be used uninitialized in this function [-Wmaybe-uninitialized] rot=bestAngle; ^~~ ../../../../vcglib/vcg/space/poly_packer.h:62:11: note: ‘bestAngle’ was declared here float bestAngle; ^~~~~~~~~ g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_texture.so filter_texture.o plylib.o moc_filter_texture.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_texture' cd meshlabplugins/filter_trioptimize/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_trioptimize' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_trioptimize.so filter_trioptimize.o moc_filter_trioptimize.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_trioptimize' cd meshlabplugins/filter_unsharp/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_unsharp' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_unsharp.so filter_unsharp.o moc_filter_unsharp.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_unsharp' cd meshlabplugins/filter_zippering/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_zippering' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfilter_zippering.so filter_zippering.o moc_filter_zippering.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/filter_zippering' cd meshlabplugins/render_splatting/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_splatting' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name splatrenderer ../../../../vcglib/wrap/gl/splatting_apss/splatrenderer.qrc -o qrc_splatrenderer.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -Wl,-z,relro -shared -o librender_splatting.so splatrenderer_plugin.o moc_splatrenderer_plugin.o qrc_splatrenderer.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_splatting' cd meshlabplugins/render_gdp/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_gdp' /usr/lib/s390x-linux-gnu/qt4/bin/uic shaderDialog.ui -o ui_shaderDialog.h g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -Wl,-z,relro -shared -o librender_gdp.so meshrender.o textfile.o shaderDialog.o moc_meshrender.o moc_shaderDialog.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_gdp' cd meshlabplugins/render_radiance_scaling/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_radiance_scaling' /usr/lib/s390x-linux-gnu/qt4/bin/uic shaderDialog.ui -o ui_shaderDialog.h g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-linux-gnu/qt4/bin/rcc -name radianceScalingRenderer radianceScalingRenderer.qrc -o qrc_radianceScalingRenderer.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_radiance_scaling' cd meshlabplugins/render_rfx/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_rfx' /usr/lib/s390x-linux-gnu/qt4/bin/uic rfx_dialog.ui -o ui_rfx_dialog.h g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-linux-gnu/qt4/bin/rcc -name render_rfx render_rfx.qrc -o qrc_render_rfx.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/render_rfx' cd meshlabplugins/decorate_base/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_base' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libdecorate_base.so decorate_base.o coordinateframe.o moc_decorate_base.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_base' cd meshlabplugins/decorate_background/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_background' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -Wl,-z,relro -shared -o libdecorate_background.so decorate_background.o cubemap.o moc_decorate_background.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_background' cd meshlabplugins/decorate_shadow/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_shadow' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name noise noise.qrc -o qrc_noise.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_shadow' cd meshlabplugins/decorate_raster_proj/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_raster_proj' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/decorate_raster_proj' cd meshlabplugins/edit_select/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_select' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name edit_select edit_select.qrc -o qrc_edit_select.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_select' cd meshlabplugins/edit_pickpoints/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_pickpoints' /usr/lib/s390x-linux-gnu/qt4/bin/uic pickpointsDialog.ui -o ui_pickpointsDialog.h g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name editpickpoints editpickpoints.qrc -o qrc_editpickpoints.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_pickpoints' cd meshlabplugins/edit_align/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_align' /usr/lib/s390x-linux-gnu/qt4/bin/uic alignDialog.ui -o ui_alignDialog.h g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name edit_align edit_align.qrc -o qrc_edit_align.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_align' cd meshlabplugins/edit_measure/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_measure' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name edit_measure edit_measure.qrc -o qrc_edit_measure.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_measure' cd meshlabplugins/edit_hole/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_hole' /usr/lib/s390x-linux-gnu/qt4/bin/uic edit_hole.ui -o ui_edit_hole.h g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-linux-gnu/qt4/bin/rcc -name edit_hole edit_hole.qrc -o qrc_edit_hole.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_hole' cd meshlabplugins/edit_paint/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_paint' /usr/lib/s390x-linux-gnu/qt4/bin/uic paintbox.ui -o ui_paintbox.h g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-linux-gnu/qt4/bin/rcc -name edit_paint edit_paint.qrc -o qrc_edit_paint.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_paint' cd meshlabplugins/edit_point/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_point' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name edit_point edit_point.qrc -o qrc_edit_point.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_point' cd meshlabplugins/edit_quality/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_quality' /usr/lib/s390x-linux-gnu/qt4/bin/uic qualitymapperdialog.ui -o ui_qualitymapperdialog.h g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 util.o common/util.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 meshmethods.o common/meshmethods.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/meshmethods.h:30, from common/meshmethods.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/meshmethods.h:30, from common/meshmethods.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/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-linux-gnu/qt4/bin/rcc -name qualitymapper qualitymapper.qrc -o qrc_qualitymapper.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_quality' cd meshlabplugins/edit_texture/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_texture' /usr/lib/s390x-linux-gnu/qt4/bin/uic textureeditor.ui -o ui_textureeditor.h g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-linux-gnu/qt4/bin/rcc -name meshlab meshlab.qrc -o qrc_meshlab.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_texture' cd meshlabplugins/edit_manipulators/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_manipulators' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name edit_manipulators edit_manipulators.qrc -o qrc_edit_manipulators.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_manipulators' cd meshlabplugins/edit_arc3D/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_arc3D' /usr/lib/s390x-linux-gnu/qt4/bin/uic ui/v3dImportDialog.ui -o ui_v3dImportDialog.h g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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 maskRenderWidget.o maskRenderWidget.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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 maskImageWidget.o maskImageWidget.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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 fillImage.o fillImage.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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 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/s390x-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.h -o moc_edit_arc3D.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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.o moc_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 ../../common/meshmodel.h:44, from ../../common/interfaces.h:37, from edit_arc3D.h:28, from moc_edit_arc3D.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.h:28, from moc_edit_arc3D.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.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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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_maskRenderWidget.o moc_maskRenderWidget.cpp /usr/lib/s390x-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. maskImageWidget.h -o moc_maskImageWidget.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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_maskImageWidget.o moc_maskImageWidget.cpp /usr/lib/s390x-linux-gnu/qt4/bin/rcc -name edit_arc3D edit_arc3D.qrc -o qrc_edit_arc3D.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/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 qrc_edit_arc3D.o qrc_edit_arc3D.cpp rm -f libedit_arc3D.so g++ -Wl,-Bsymbolic-functions -Wl,-z,relro -shared -o libedit_arc3D.so edit_arc3D.o edit_arc3D_factory.o arc3D_camera.o radial_distortion.o scalar_image.o v3dImportDialog.o maskRenderWidget.o maskImageWidget.o fillImage.o plylib.o moc_edit_arc3D.o moc_edit_arc3D_factory.o moc_v3dImportDialog.o moc_maskRenderWidget.o moc_maskImageWidget.o qrc_edit_arc3D.o -L/usr/lib/s390x-linux-gnu -L/usr/X11R6/lib -L../../distrib -lcommon -lGLEW -lbz2 -lQtScript -lQtXmlPatterns -lQtXml -lQtOpenGL -lQtGui -lQtCore -lGL -lpthread mv -f libedit_arc3D.so ../../distrib/plugins/ make[2]: Leaving directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/meshlabplugins/edit_arc3D' cd sampleplugins/sampleedit/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/sampleedit' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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_sample_factory.o 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 edit_sample_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_sample_factory.h:29, from edit_sample_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_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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-linux-gnu/qt4/bin/rcc -name sampleedit sampleedit.qrc -o qrc_sampleedit.cpp g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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,-Bsymbolic-functions -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/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/sampleedit' cd sampleplugins/samplefilter/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilter' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libsamplefilter.so samplefilter.o moc_samplefilter.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilter' cd sampleplugins/samplefilterdyn/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilterdyn' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libsamplefilterdyn.so samplefilterdyn.o moc_samplefilterdyn.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/samplefilterdyn' cd sampleplugins/io_m/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/io_m' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libio_m.so io_m.o moc_io_m.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/io_m' cd sampleplugins/filtergeodesic/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/filtergeodesic' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfiltergeodesic.so filtergeodesic.o moc_filtergeodesic.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/filtergeodesic' cd sampleplugins/filtercreateiso/ && /usr/bin/make -f Makefile make[2]: Entering directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/filtercreateiso' g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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 ^~~~~~~~~~~~~~~~ In file included from filtercreateiso.cpp:38: ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes::AddTriangles(const char*, char, vcg::tri::MarchingCubes::VertexPointer) [with TRIMESH_TYPE = CMeshO; WALKER_TYPE = vcg::tri::TrivialWalker >]’: ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:301:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:276:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:301:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:276:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:301:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:276:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:301:19: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] v = &_mesh->vert[pos]; ~~~~~~~~~~~^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:276:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:252:34: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] assert(pos >=0 && size_t(pos)< _mesh->vert.size()); ^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:227:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:252:34: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] assert(pos >=0 && size_t(pos)< _mesh->vert.size()); ^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:227:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:252:34: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] assert(pos >=0 && size_t(pos)< _mesh->vert.size()); ^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:227:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:252:34: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized] assert(pos >=0 && size_t(pos)< _mesh->vert.size()); ^ ../../../../vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:227:15: note: ‘pos’ was declared here VertexIndex pos; ^~~ /usr/lib/s390x-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 -fdebug-prefix-map=/<>/meshlab-1.3.2+dfsg1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SCRIPT_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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/qtconcurrentresultstore.h:50, from /usr/include/qt4/QtCore/qfutureinterface.h:52, from /usr/include/qt4/QtCore/qfuture.h:49, from /usr/include/qt4/QtCore/QtCore:3, 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,-Bsymbolic-functions -Wl,-z,relro -shared -o libfiltercreateiso.so filtercreateiso.o moc_filtercreateiso.o -L/usr/lib/s390x-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 '/<>/meshlab-1.3.2+dfsg1/meshlab/src/sampleplugins/filtercreateiso' make[1]: Leaving directory '/<>/meshlab-1.3.2+dfsg1/meshlab/src' touch build-stamp fakeroot debian/rules binary-arch 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 '/<>/meshlab-1.3.2+dfsg1' make[1]: Nothing to be done for 'build'. make[1]: Leaving directory '/<>/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-arch debian/rules build-arch make[1]: Entering directory '/<>/meshlab-1.3.2+dfsg1' make[1]: Nothing to be done for 'build-arch'. make[1]: Leaving directory '/<>/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 '/<>/meshlab-1.3.2+dfsg1' dh_shlibdeps -lusr/lib/meshlab make[1]: Leaving directory '/<>/meshlab-1.3.2+dfsg1' dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a INFO: pkgstriptranslations version 143 INFO: pkgstriptranslations version 143 pkgstriptranslations: processing meshlab (in debian/meshlab); do_strip: , oemstrip: pkgstriptranslations: processing meshlab-dbgsym (in debian/.debhelper/meshlab/dbgsym-root); do_strip: , oemstrip: debian/meshlab/usr/share/applications/meshlab.desktop: does not have gettext domain, not stripping pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/meshlab/DEBIAN/control, package meshlab, directory debian/meshlab pkgstripfiles: Truncating usr/share/doc/meshlab/changelog.Debian.gz to topmost ten records pkgstripfiles: Running PNG optimization (using 4 cpus) for package meshlab ... o pkgstripfiles: PNG optimization (1/0) for package meshlab took 1 s dpkg-deb: building package 'meshlab' in '../meshlab_1.3.2+dfsg1-4build1_s390x.deb'. pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/.debhelper/meshlab/dbgsym-root/DEBIAN/control, package meshlab-dbgsym, directory debian/.debhelper/meshlab/dbgsym-root dpkg-deb: building package 'meshlab-dbgsym' in 'debian/.debhelper/scratch-space/build-meshlab/meshlab-dbgsym_1.3.2+dfsg1-4build1_s390x.deb'. Renaming meshlab-dbgsym_1.3.2+dfsg1-4build1_s390x.deb to meshlab-dbgsym_1.3.2+dfsg1-4build1_s390x.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../meshlab_1.3.2+dfsg1-4build1_s390x.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build meshlab-1.3.2+dfsg1 dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 20181124-0402 Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Post Build Chroot | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ meshlab_1.3.2+dfsg1-4build1_s390x.changes: ------------------------------------------ Format: 1.8 Date: Fri, 23 Nov 2018 22:40:06 -0500 Source: meshlab Binary: meshlab Architecture: s390x Version: 1.3.2+dfsg1-4build1 Distribution: disco-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Jeremy Bicha Description: meshlab - System for processing and editing triangular meshes Changes: meshlab (1.3.2+dfsg1-4build1) disco; urgency=medium . * No-change rebuild against latest glew Checksums-Sha1: 6be01a036a03d8dc57843d6ad432b0817e0d599b 137442200 meshlab-dbgsym_1.3.2+dfsg1-4build1_s390x.ddeb 7d102cf5376bcdece3d9895c8dfa583bf76ed812 9343 meshlab_1.3.2+dfsg1-4build1_s390x.buildinfo a35c10f466b1e4f8059314c3c2fd9ea8e9ac5d0e 3918312 meshlab_1.3.2+dfsg1-4build1_s390x.deb Checksums-Sha256: 10b6f13997078094d9ba55108b32503f493aeaf8e84381f5dec151e09098c01c 137442200 meshlab-dbgsym_1.3.2+dfsg1-4build1_s390x.ddeb f3c7c74b507ad3b7aa5d1dd9f61f0f86034c5851053688a793e9839df57bfc0c 9343 meshlab_1.3.2+dfsg1-4build1_s390x.buildinfo 7c6cca483f77e4c0c6daecfd4333d3dc130ab26fac1dac8d5607e085940c4815 3918312 meshlab_1.3.2+dfsg1-4build1_s390x.deb Files: e0c74df94ac835ddec3530afa397f8f4 137442200 debug optional meshlab-dbgsym_1.3.2+dfsg1-4build1_s390x.ddeb e86ecd9d2f10fcce3f4139ff7a9a6a04 9343 graphics extra meshlab_1.3.2+dfsg1-4build1_s390x.buildinfo 680c743156e5aa7fa27ec2da5e1eeb0e 3918312 graphics extra meshlab_1.3.2+dfsg1-4build1_s390x.deb +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ meshlab_1.3.2+dfsg1-4build1_s390x.deb ------------------------------------- new debian package, version 2.0. size 3918312 bytes: control archive=5968 bytes. 1342 bytes, 21 lines control 15645 bytes, 195 lines md5sums 20 bytes, 1 lines shlibs 74 bytes, 2 lines triggers Package: meshlab Version: 1.3.2+dfsg1-4build1 Architecture: s390x Maintainer: Ubuntu Developers Original-Maintainer: Debian Science Maintainers Installed-Size: 19549 Depends: lib3ds-1-3, libbz2-1.0, libc6 (>= 2.27), libgcc1 (>= 1:3.0), libgl1, libglew2.1 (>= 1.12.0), libglu1-mesa | libglu1, libmuparser2v5 (>= 2.2.3), libopenctm1 (>= 1.0.3), libqhull7, libqt4-network (>= 4:4.6.1), libqt4-opengl (>= 4:4.6.1), libqt4-script (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqt4-xmlpatterns (>= 4:4.6.1), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.8.0), libstdc++6 (>= 5.2) Recommends: chemical-mime-data Section: graphics Priority: extra Homepage: http://www.meshlab.net Description: System for processing and editing triangular meshes MeshLab is an open source, portable, and extendible system for the processing and editing of unstructured 3D triangular meshes. The system is aimed to help the processing of the typical not-so-small unstructured models arising in 3D scanning, providing a set of tools for editing, cleaning, healing, inspecting, rendering and converting this kind of meshes. . Meshlab can read files in these formats: PLY, STL, OFF, OBJ, 3DS, COLLADA and PTX. It can write PLY, STL, OFF, OBJ, 3DS, COLLADA, VRML, and DXF. drwxr-xr-x root/root 0 2018-11-24 03:40 ./ drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/ drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/bin/ -rwxr-xr-x root/root 1599704 2018-11-24 03:40 ./usr/bin/meshlab -rwxr-xr-x root/root 59424 2018-11-24 03:40 ./usr/bin/meshlabserver drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/lib/ drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/lib/meshlab/ lrwxrwxrwx root/root 0 2018-11-24 03:40 ./usr/lib/meshlab/libcommon.so.1 -> libcommon.so.1.0.0 lrwxrwxrwx root/root 0 2018-11-24 03:40 ./usr/lib/meshlab/libcommon.so.1.0 -> libcommon.so.1.0.0 -rw-r--r-- root/root 908096 2018-11-24 03:40 ./usr/lib/meshlab/libcommon.so.1.0.0 drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/lib/meshlab/plugins/ -rw-r--r-- root/root 4853 2012-08-02 11:35 ./usr/lib/meshlab/plugins/filter_measure.xml -rw-r--r-- root/root 2932 2012-06-27 09:34 ./usr/lib/meshlab/plugins/filter_mutualinfo.xml -rw-r--r-- root/root 72576 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libdecorate_background.so -rw-r--r-- root/root 212440 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libdecorate_base.so -rw-r--r-- root/root 262024 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libdecorate_raster_proj.so -rw-r--r-- root/root 204392 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libdecorate_shadow.so -rw-r--r-- root/root 1115320 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libedit_align.so -rw-r--r-- root/root 414992 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libedit_arc3D.so -rw-r--r-- root/root 294928 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libedit_hole.so -rw-r--r-- root/root 175144 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libedit_manipulators.so -rw-r--r-- root/root 64448 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libedit_measure.so -rw-r--r-- root/root 264600 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libedit_paint.so -rw-r--r-- root/root 423816 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libedit_pickpoints.so -rw-r--r-- root/root 129864 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libedit_point.so -rw-r--r-- root/root 217336 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libedit_quality.so -rw-r--r-- root/root 76552 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libedit_select.so -rw-r--r-- root/root 336240 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libedit_texture.so -rw-r--r-- root/root 164528 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_aging.so -rw-r--r-- root/root 138712 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_ao.so -rw-r--r-- root/root 616536 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_autoalign.so -rw-r--r-- root/root 51688 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_bnpts.so -rw-r--r-- root/root 92776 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_camera.so -rw-r--r-- root/root 256776 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_clean.so -rw-r--r-- root/root 134536 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_color_projection.so -rw-r--r-- root/root 150224 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_colorize.so -rw-r--r-- root/root 94816 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_colorproc.so -rw-r--r-- root/root 109152 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_create.so -rw-r--r-- root/root 207736 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_dirt.so -rw-r--r-- root/root 160704 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_fractal.so -rw-r--r-- root/root 220328 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_func.so -rw-r--r-- root/root 331760 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_img_patch_param.so -rw-r--r-- root/root 691528 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_isoparametrization.so -rw-r--r-- root/root 117440 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_layer.so -rw-r--r-- root/root 109152 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_measure.so -rw-r--r-- root/root 749744 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_meshing.so -rw-r--r-- root/root 240800 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_mls.so -rw-r--r-- root/root 134576 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_mutualinfo.so -rw-r--r-- root/root 258160 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_photosynth.so -rw-r--r-- root/root 725384 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_plymc.so -rw-r--r-- root/root 269248 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_poisson.so -rw-r--r-- root/root 117544 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_qhull.so -rw-r--r-- root/root 88752 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_quality.so -rw-r--r-- root/root 351624 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_sampling.so -rw-r--r-- root/root 196208 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_sdfgpu.so -rw-r--r-- root/root 125664 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_select.so -rw-r--r-- root/root 696816 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_ssynth.so -rw-r--r-- root/root 503352 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_texture.so -rw-r--r-- root/root 207728 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_trioptimize.so -rw-r--r-- root/root 183064 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_unsharp.so -rw-r--r-- root/root 260960 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfilter_zippering.so -rw-r--r-- root/root 115592 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfiltercreateiso.so -rw-r--r-- root/root 72224 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libfiltergeodesic.so -rw-r--r-- root/root 76696 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_3ds.so -rw-r--r-- root/root 518280 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_base.so -rw-r--r-- root/root 96912 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_bre.so -rw-r--r-- root/root 331736 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_collada.so -rw-r--r-- root/root 72264 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_ctm.so -rw-r--r-- root/root 80768 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_expe.so -rw-r--r-- root/root 72432 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_gts.so -rw-r--r-- root/root 72320 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_json.so -rw-r--r-- root/root 39384 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_m.so -rw-r--r-- root/root 273712 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_pdb.so -rw-r--r-- root/root 68272 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_tri.so -rw-r--r-- root/root 200624 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_u3d.so -rw-r--r-- root/root 376512 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libio_x3d.so -rw-r--r-- root/root 155520 2018-11-24 03:40 ./usr/lib/meshlab/plugins/librender_gdp.so -rw-r--r-- root/root 159376 2018-11-24 03:40 ./usr/lib/meshlab/plugins/librender_radiance_scaling.so -rw-r--r-- root/root 327160 2018-11-24 03:40 ./usr/lib/meshlab/plugins/librender_rfx.so -rw-r--r-- root/root 93664 2018-11-24 03:40 ./usr/lib/meshlab/plugins/librender_splatting.so -rw-r--r-- root/root 72656 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libsampleedit.so -rw-r--r-- root/root 47584 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libsamplefilter.so -rw-r--r-- root/root 49616 2018-11-24 03:40 ./usr/lib/meshlab/plugins/libsamplefilterdyn.so drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/lib/mime/ drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/lib/mime/packages/ -rw-r--r-- root/root 2119 2016-11-18 12:48 ./usr/lib/mime/packages/meshlab drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/share/ drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/share/applications/ -rw-r--r-- root/root 696 2016-11-21 13:58 ./usr/share/applications/meshlab.desktop drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/share/doc/ drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/share/doc/meshlab/ -rw-r--r-- root/root 2788 2018-11-24 03:40 ./usr/share/doc/meshlab/changelog.Debian.gz -rw-r--r-- root/root 13445 2016-11-21 14:15 ./usr/share/doc/meshlab/copyright drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/share/lintian/ drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 69 2016-11-18 12:48 ./usr/share/lintian/overrides/meshlab drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/share/meshlab/ drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/share/meshlab/shaders/ -rw-r--r-- root/root 3122 2012-03-21 18:04 ./usr/share/meshlab/shaders/Cook-Torrance.frag -rw-r--r-- root/root 6463 2011-10-14 16:34 ./usr/share/meshlab/shaders/Cook-Torrance.gdp -rw-r--r-- root/root 2130 2012-03-21 18:04 ./usr/share/meshlab/shaders/Cook-Torrance.vert -rw-r--r-- root/root 2725 2011-10-14 16:34 ./usr/share/meshlab/shaders/Hatch.frag -rw-r--r-- root/root 6772 2011-10-14 16:34 ./usr/share/meshlab/shaders/Hatch.gdp -rw-r--r-- root/root 2485 2011-10-14 16:34 ./usr/share/meshlab/shaders/Hatch.vert -rw-r--r-- root/root 3136 2011-10-14 16:34 ./usr/share/meshlab/shaders/Oren-Nayar.frag -rw-r--r-- root/root 6201 2011-10-14 16:34 ./usr/share/meshlab/shaders/Oren-Nayar.gdp -rw-r--r-- root/root 2094 2011-10-14 16:34 ./usr/share/meshlab/shaders/Oren-Nayar.vert -rw-r--r-- root/root 2154 2011-10-14 16:34 ./usr/share/meshlab/shaders/SEM.frag -rw-r--r-- root/root 2161 2011-10-14 16:34 ./usr/share/meshlab/shaders/SEM.vert -rw-r--r-- root/root 1764 2011-10-14 16:34 ./usr/share/meshlab/shaders/ambient_occlusion.vert -rw-r--r-- root/root 3481 2011-10-14 16:34 ./usr/share/meshlab/shaders/ambient_occlusion4.frag -rw-r--r-- root/root 3523 2011-10-14 16:34 ./usr/share/meshlab/shaders/ambient_occlusion8.frag drwxr-xr-x root/root 0 2013-10-16 14:38 ./usr/share/meshlab/shaders/decorate_shadow/ drwxr-xr-x root/root 0 2013-10-16 14:38 ./usr/share/meshlab/shaders/decorate_shadow/sm/ -rw-r--r-- root/root 59 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/sm/depth.frag -rw-r--r-- root/root 1955 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/sm/depth.vert -rw-r--r-- root/root 483 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/sm/object.frag -rw-r--r-- root/root 181 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/sm/object.vert drwxr-xr-x root/root 0 2013-10-16 14:38 ./usr/share/meshlab/shaders/decorate_shadow/ssao/ -rw-r--r-- root/root 1057 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/ssao/blur.frag -rw-r--r-- root/root 83 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/ssao/blur.vert -rw-r--r-- root/root 164 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/ssao/normalMap.frag -rw-r--r-- root/root 149 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/ssao/normalMap.vert -rw-r--r-- root/root 4159 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/ssao/ssao.frag -rw-r--r-- root/root 88 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/ssao/ssao.vert drwxr-xr-x root/root 0 2013-10-16 14:38 ./usr/share/meshlab/shaders/decorate_shadow/vsm/ -rw-r--r-- root/root 315 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/vsm/depthVSM.frag -rw-r--r-- root/root 93 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/vsm/depthVSM.vert -rw-r--r-- root/root 1089 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/vsm/objectVSM.frag -rw-r--r-- root/root 128 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/vsm/objectVSM.vert drwxr-xr-x root/root 0 2013-10-16 14:38 ./usr/share/meshlab/shaders/decorate_shadow/vsmb/ -rw-r--r-- root/root 998 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/vsmb/blurVSM.frag -rw-r--r-- root/root 83 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/vsmb/blurVSM.vert -rw-r--r-- root/root 315 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/vsmb/depthVSM.frag -rw-r--r-- root/root 93 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/vsmb/depthVSM.vert -rw-r--r-- root/root 1354 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/vsmb/objectVSM.frag -rw-r--r-- root/root 133 2011-10-14 16:34 ./usr/share/meshlab/shaders/decorate_shadow/vsmb/objectVSM.vert -rw-r--r-- root/root 1982 2011-10-14 16:34 ./usr/share/meshlab/shaders/depthmap.frag -rw-r--r-- root/root 6462 2011-10-14 16:34 ./usr/share/meshlab/shaders/depthmap.gdp -rw-r--r-- root/root 1913 2011-10-14 16:34 ./usr/share/meshlab/shaders/depthmap.vert -rw-r--r-- root/root 1195 2011-10-14 16:34 ./usr/share/meshlab/shaders/dimple.frag -rw-r--r-- root/root 4822 2011-10-14 16:34 ./usr/share/meshlab/shaders/dimple.gdp -rw-r--r-- root/root 805 2011-10-14 16:34 ./usr/share/meshlab/shaders/dimple.vert -rw-r--r-- root/root 6393 2011-10-14 16:34 ./usr/share/meshlab/shaders/electronic microscope.gdp -rw-r--r-- root/root 1772 2011-10-14 16:34 ./usr/share/meshlab/shaders/envmap.frag -rw-r--r-- root/root 5765 2012-03-21 18:04 ./usr/share/meshlab/shaders/envmap.gdp -rw-r--r-- root/root 2745 2011-10-14 16:34 ./usr/share/meshlab/shaders/envmap.vert -rw-r--r-- root/root 1035 2011-10-14 16:34 ./usr/share/meshlab/shaders/glass.frag -rw-r--r-- root/root 5497 2011-10-14 16:34 ./usr/share/meshlab/shaders/glass.gdp -rw-r--r-- root/root 535 2011-10-14 16:34 ./usr/share/meshlab/shaders/glass.vert -rw-r--r-- root/root 896 2011-10-14 16:34 ./usr/share/meshlab/shaders/gooch.frag -rw-r--r-- root/root 5193 2011-10-14 16:34 ./usr/share/meshlab/shaders/gooch.gdp -rw-r--r-- root/root 701 2011-10-14 16:34 ./usr/share/meshlab/shaders/gooch.vert -rw-r--r-- root/root 608 2011-10-14 16:34 ./usr/share/meshlab/shaders/lattice.frag -rw-r--r-- root/root 5596 2011-10-14 16:34 ./usr/share/meshlab/shaders/lattice.gdp -rw-r--r-- root/root 1133 2011-10-14 16:34 ./usr/share/meshlab/shaders/lattice.vert -rw-r--r-- root/root 2247 2011-10-14 16:34 ./usr/share/meshlab/shaders/minnaert.frag -rw-r--r-- root/root 6296 2011-10-14 16:34 ./usr/share/meshlab/shaders/minnaert.gdp -rw-r--r-- root/root 2064 2011-10-14 16:34 ./usr/share/meshlab/shaders/minnaert.vert -rw-r--r-- root/root 1934 2011-10-14 16:34 ./usr/share/meshlab/shaders/normalmap.frag -rw-r--r-- root/root 6181 2011-10-14 16:34 ./usr/share/meshlab/shaders/normalmap.gdp -rw-r--r-- root/root 1902 2011-10-14 16:34 ./usr/share/meshlab/shaders/normalmap.vert -rw-r--r-- root/root 1152 2011-10-14 16:34 ./usr/share/meshlab/shaders/phong.frag -rw-r--r-- root/root 4582 2011-10-14 16:34 ./usr/share/meshlab/shaders/phong.gdp -rw-r--r-- root/root 365 2011-10-14 16:34 ./usr/share/meshlab/shaders/phong.vert -rw-r--r-- root/root 1445 2011-10-14 16:34 ./usr/share/meshlab/shaders/polkadot3d.frag -rw-r--r-- root/root 5431 2011-10-14 16:34 ./usr/share/meshlab/shaders/polkadot3d.gdp -rw-r--r-- root/root 1916 2011-10-14 16:34 ./usr/share/meshlab/shaders/polkadot3d.vert -rw-r--r-- root/root 3142 2011-10-14 16:34 ./usr/share/meshlab/shaders/reflexion_lines.frag -rw-r--r-- root/root 4164 2011-10-14 16:34 ./usr/share/meshlab/shaders/reflexion_lines.gdp -rw-r--r-- root/root 2113 2011-10-14 16:34 ./usr/share/meshlab/shaders/reflexion_lines.vert drwxr-xr-x root/root 0 2013-10-16 14:38 ./usr/share/meshlab/shaders/shadersrm/ -rw-r--r-- root/root 49427 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/NormalMapping.rfx -rw-r--r-- root/root 51589 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/PhongUntextured.rfx -rw-r--r-- root/root 65708 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/QualityContour.rfx -rw-r--r-- root/root 65467 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/ZBrush.rfx -rw-r--r-- root/root 44021 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/cartoon.rfx drwxr-xr-x root/root 0 2013-10-16 14:38 ./usr/share/meshlab/shaders/shadersrm/old/ -rw-r--r-- root/root 46026 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/old/Depth of Field.rfx -rw-r--r-- root/root 60035 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/old/GlyphBomb.rfx -rw-r--r-- root/root 50650 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/old/ImageBasedLighting.rfx -rw-r--r-- root/root 29480 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/old/Plastic.rfx -rw-r--r-- root/root 34106 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/old/RenderToTexture.rfx -rw-r--r-- root/root 43000 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/old/cubeenvmap.rfx -rw-r--r-- root/root 56748 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/old/fur.rfx -rw-r--r-- root/root 45611 2011-10-14 16:34 ./usr/share/meshlab/shaders/shadersrm/old/hatching.rfx -rw-r--r-- root/root 2868 2011-10-14 16:34 ./usr/share/meshlab/shaders/slicingplane.frag -rw-r--r-- root/root 7616 2011-10-14 16:34 ./usr/share/meshlab/shaders/slicingplane.gdp -rw-r--r-- root/root 2148 2011-10-14 16:34 ./usr/share/meshlab/shaders/slicingplane.vert drwxr-xr-x root/root 0 2013-10-16 14:38 ./usr/share/meshlab/shaders/splatpyramid/ -rw-r--r-- root/root 4031 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_analysis.frag -rw-r--r-- root/root 160 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_analysis.vert -rw-r--r-- root/root 4271 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_analysis_color.frag -rw-r--r-- root/root 207 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_analysis_color.vert -rw-r--r-- root/root 406 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_copy.frag -rw-r--r-- root/root 142 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_copy.vert -rw-r--r-- root/root 424 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_copy_color.frag -rw-r--r-- root/root 142 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_copy_color.vert -rw-r--r-- root/root 1139 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_phong.frag -rw-r--r-- root/root 164 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_phong.vert -rw-r--r-- root/root 1824 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_phong_color.frag -rw-r--r-- root/root 177 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_phong_color.vert -rw-r--r-- root/root 950 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_point_projection.frag -rw-r--r-- root/root 1144 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_point_projection.vert -rw-r--r-- root/root 994 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_point_projection_color.frag -rw-r--r-- root/root 1117 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_point_projection_color.vert -rw-r--r-- root/root 5150 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_synthesis.frag -rw-r--r-- root/root 108 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_synthesis.vert -rw-r--r-- root/root 5571 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_synthesis_color.frag -rw-r--r-- root/root 259 2011-10-14 16:34 ./usr/share/meshlab/shaders/splatpyramid/shader_synthesis_color.vert -rw-r--r-- root/root 2306 2011-10-14 16:34 ./usr/share/meshlab/shaders/stripes2.frag -rw-r--r-- root/root 6650 2011-10-14 16:34 ./usr/share/meshlab/shaders/stripes2.gdp -rw-r--r-- root/root 3923 2011-10-14 16:34 ./usr/share/meshlab/shaders/stripes2.vert -rw-r--r-- root/root 2220 2011-10-14 16:34 ./usr/share/meshlab/shaders/toon.frag -rw-r--r-- root/root 6927 2011-10-14 16:34 ./usr/share/meshlab/shaders/toon.gdp -rw-r--r-- root/root 1933 2011-10-14 16:34 ./usr/share/meshlab/shaders/toon.vert -rw-r--r-- root/root 2140 2011-10-14 16:34 ./usr/share/meshlab/shaders/xray.frag -rw-r--r-- root/root 6350 2011-10-14 16:34 ./usr/share/meshlab/shaders/xray.gdp -rw-r--r-- root/root 1992 2011-10-14 16:34 ./usr/share/meshlab/shaders/xray.vert drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/share/mime/ drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/share/mime/packages/ -rw-r--r-- root/root 2907 2016-11-18 12:48 ./usr/share/mime/packages/meshlab.xml drwxr-xr-x root/root 0 2018-11-24 03:40 ./usr/share/pixmaps/ -rw-r--r-- root/root 5028 2018-11-24 03:40 ./usr/share/pixmaps/meshlab.png +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: s390x Build-Space: 1785172 Build-Time: 1228 Distribution: disco-proposed Host Architecture: s390x Install-Time: 18 Job: meshlab_1.3.2+dfsg1-4build1.dsc Machine Architecture: s390x Package: meshlab Package-Time: 1246 Source-Version: 1.3.2+dfsg1-4build1 Space: 1785172 Status: successful Version: 1.3.2+dfsg1-4build1 -------------------------------------------------------------------------------- Finished at 20181124-0402 Build needed 00:20:46, 1785172k disc space RUN: /usr/share/launchpad-buildd/slavebin/in-target scan-for-processes --backend=chroot --series=disco --arch=s390x PACKAGEBUILD-15698596 Scanning for processes to kill in build PACKAGEBUILD-15698596