Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/GREYCstoration.spec'], gid=425uid=1000printOutput=Falseshell=Falsenspawn_args=[]user='mockbuild'env={'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'}timeout=172800chrootPath='/var/lib/mock/f27-build-9226717-771690/root'logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/GREYCstoration.spec'] with env {'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'} and shell False warning: bogus date in %changelog: Tue Oct 11 2007 Marc Bradshaw 2.5.2-6 warning: bogus date in %changelog: Mon Oct 10 2007 Marc Bradshaw 2.5.2-5 Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/GREYCstoration-2.8-24.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/GREYCstoration.spec'], gid=425uid=1000printOutput=Falseshell=Falsenspawn_args=[]user='mockbuild'env={'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'}timeout=172800chrootPath='/var/lib/mock/f27-build-9226717-771690/root'logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/GREYCstoration.spec'] with env {'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'} and shell False warning: bogus date in %changelog: Tue Oct 11 2007 Marc Bradshaw 2.5.2-6 warning: bogus date in %changelog: Mon Oct 10 2007 Marc Bradshaw 2.5.2-5 Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WLiOo6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf GREYCstoration-2.8 + /usr/bin/unzip -qq /builddir/build/SOURCES/GREYCstoration-2.8.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd GREYCstoration-2.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (GREYCstoration-2.8-fixmakefile.patch): + echo 'Patch #0 (GREYCstoration-2.8-fixmakefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixmakefile --fuzz=0 patching file src/Makefile Patch #1 (GREYCstoration-2.8-libpng15.patch): + echo 'Patch #1 (GREYCstoration-2.8-libpng15.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libpng15 --fuzz=0 patching file src/CImg.h Patch #2 (GREYCstoration-2.8-gcc6.patch): + echo 'Patch #2 (GREYCstoration-2.8-gcc6.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc6 --fuzz=0 patching file src/plugins/greycstoration.h + sed -i -r 's|#include "../CImg.h"|#include "CImg.h"|' src/greycstoration.cpp src/greycstoration4gimp.cpp src/greycstoration4integration.cpp + iconv -f iso-8859-1 -t utf-8 Licence_CeCILL_V2-en.txt + mv Licence_CeCILL_V2-en.txt.conv Licence_CeCILL_V2-en.txt + sed -ir 's|/lib|/lib64|' src/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8u1e4O + umask 022 + cd /builddir/build/BUILD + cd GREYCstoration-2.8 + make -C src -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fno-tree-pre' all make: Entering directory '/builddir/build/BUILD/GREYCstoration-2.8/src' ** Compiling 'greycstoration4integration (1.28)' with 'Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-targets=powerpcle-linux --disable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-secureplt --with-long-double-128 --with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 --build=ppc64le-redhat-linux gcc version 7.1.1 20170718 (Red Hat 7.1.1-6) (GCC) ' ** Compiling 'greycstoration (1.28)' with 'Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-targets=powerpcle-linux --disable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-secureplt --with-long-double-128 --with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 --build=ppc64le-redhat-linux gcc version 7.1.1 20170718 (Red Hat 7.1.1-6) (GCC) ' ** Compiling 'greycstoration4gimp (1.28)' with 'Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-targets=powerpcle-linux --disable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --disable-libmpx --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-secureplt --with-long-double-128 --with-cpu-32=power8 --with-tune-32=power8 --with-cpu-64=power8 --with-tune-64=power8 --build=ppc64le-redhat-linux gcc version 7.1.1 20170718 (Red Hat 7.1.1-6) (GCC) ' g++ -o greycstoration4integration greycstoration4integration.cpp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fno-tree-pre -lm -lpthread -I/usr/X11R6/include -L/usr/X11R6/lib64 -lX11 -Dcimg_strict -Dcimg_use_xshm -lXext -Dcimg_use_xrandr -lXrandr -Dcimg_use_png -lpng -lz -Dcimg_use_jpeg -ljpeg -Dcimg_use_tiff -ltiff -Dcimg_use_fftw3 -lfftw3 g++ -o greycstoration4gimp greycstoration4gimp.cpp `gimptool-2.0 --cflags` `gimptool-2.0 --libs` -lpthread -O3 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fno-tree-pre g++ -o greycstoration greycstoration.cpp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mcpu=power8 -mtune=power8 -fno-tree-pre -lm -lpthread -I/usr/X11R6/include -L/usr/X11R6/lib64 -lX11 -Dcimg_strict -Dcimg_use_xshm -lXext -Dcimg_use_xrandr -lXrandr -Dcimg_use_png -lpng -lz -Dcimg_use_jpeg -ljpeg -Dcimg_use_tiff -ltiff -Dcimg_use_fftw3 -lfftw3 In file included from greycstoration4integration.cpp:56:0: CImg.h: In static member function 'static char cimg_library::cimg::type::max()': CImg.h:1941:34: warning: large integer implicitly truncated to unsigned type [-Woverflow] static char max() { return ~((char)(-1L<<(8*sizeof(char)-1))); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In function 'const char* cimg_library::cimg::option(const char*, int, char**, const char*, const char*)': CImg.h:4827:21: warning: variable 'i' set but not used [-Wunused-but-set-variable] int k = 0,i; ^ In file included from greycstoration.cpp:70:0: CImg.h: In static member function 'static char cimg_library::cimg::type::max()': CImg.h:1941:34: warning: large integer implicitly truncated to unsigned type [-Woverflow] static char max() { return ~((char)(-1L<<(8*sizeof(char)-1))); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In function 'const char* cimg_library::cimg::option(const char*, int, char**, const char*, const char*)': CImg.h:4827:21: warning: variable 'i' set but not used [-Wunused-but-set-variable] int k = 0,i; ^ In file included from greycstoration4integration.cpp:56:0: CImg.h: In member function 'cimg_library::CImg cimg_library::CImg::get_resize(int, int, int, int, int, int, bool) const': CImg.h:12420:56: warning: typedef 'ftype' locally defined but not used [-Wunused-local-typedefs] typedef typename cimg::superset::type ftype; ^~~~~ CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::get_norm_pointwise(int) const': CImg.h:13349:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (tmp>n) n=tmp; res(x,y,z) = n; ^~ CImg.h:13349:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (tmp>n) n=tmp; res(x,y,z) = n; ^~~ In file included from greycstoration.cpp:70:0: CImg.h: In member function 'cimg_library::CImg cimg_library::CImg::get_resize(int, int, int, int, int, int, bool) const': CImg.h:12420:56: warning: typedef 'ftype' locally defined but not used [-Wunused-local-typedefs] typedef typename cimg::superset::type ftype; ^~~~~ CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::get_norm_pointwise(int) const': CImg.h:13349:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (tmp>n) n=tmp; res(x,y,z) = n; ^~ CImg.h:13349:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (tmp>n) n=tmp; res(x,y,z) = n; ^~~ In file included from greycstoration4gimp.cpp:107:0: plugins/../CImg.h: In static member function 'static char cimg_library::cimg::type::max()': plugins/../CImg.h:1941:34: warning: large integer implicitly truncated to unsigned type [-Woverflow] static char max() { return ~((char)(-1L<<(8*sizeof(char)-1))); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::get_coordinates(int, cimg_library::CImgDisplay&, unsigned int*, const unsigned char*) const': CImg.h:22434:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; ^~ CImg.h:22434:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; ^~ CImg.h:22435:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; ^~ CImg.h:22435:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; ^~ CImg.h:22436:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; ^~ CImg.h:22436:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; ^~ CImg.h:22437:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; ^~ CImg.h:22437:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; ^~ plugins/../CImg.h: In function 'const char* cimg_library::cimg::option(const char*, int, char**, const char*, const char*)': plugins/../CImg.h:4827:21: warning: variable 'i' set but not used [-Wunused-but-set-variable] int k = 0,i; ^ CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pandore(FILE*, const char*)': CImg.h:24269:30: warning: typedef 'ushort' locally defined but not used [-Wunused-local-typedefs] typedef unsigned short ushort; ^~~~~~ CImg.h:24270:28: warning: typedef 'uint' locally defined but not used [-Wunused-local-typedefs] typedef unsigned int uint; ^~~~ CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::get_coordinates(int, cimg_library::CImgDisplay&, unsigned int*, const unsigned char*) const': CImg.h:22434:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; ^~ CImg.h:22434:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; ^~ CImg.h:22435:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; ^~ CImg.h:22435:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; ^~ CImg.h:22436:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; ^~ CImg.h:22436:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; ^~ CImg.h:22437:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; ^~ CImg.h:22437:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; ^~ CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pandore(FILE*, const char*)': CImg.h:24269:30: warning: typedef 'ushort' locally defined but not used [-Wunused-local-typedefs] typedef unsigned short ushort; ^~~~~~ CImg.h:24270:28: warning: typedef 'uint' locally defined but not used [-Wunused-local-typedefs] typedef unsigned int uint; ^~~~ In file included from greycstoration4gimp.cpp:107:0: plugins/../CImg.h: In member function 'cimg_library::CImg cimg_library::CImg::get_resize(int, int, int, int, int, int, bool) const': plugins/../CImg.h:12420:56: warning: typedef 'ftype' locally defined but not used [-Wunused-local-typedefs] typedef typename cimg::superset::type ftype; ^~~~~ plugins/../CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::get_norm_pointwise(int) const': plugins/../CImg.h:13349:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (tmp>n) n=tmp; res(x,y,z) = n; ^~ plugins/../CImg.h:13349:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (tmp>n) n=tmp; res(x,y,z) = n; ^~~ In file included from greycstoration4integration.cpp:56:0: CImg.h: In instantiation of 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg&, bool) [with T = unsigned char]': CImg.h:7195:27: required from 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::assign(const cimg_library::CImg&, const char*, unsigned int, unsigned int, bool, bool) [with T = unsigned char]' CImg.h:6605:7: required from 'cimg_library::CImgDisplay::CImgDisplay(const cimg_library::CImg&, const char*, unsigned int, unsigned int, bool, bool) [with T = unsigned char]' greycstoration4integration.cpp:96:40: required from here CImg.h:7426:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7431:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7491:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7496:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from greycstoration.cpp:70:0: CImg.h: In instantiation of 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = float]': greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = float]' greycstoration.cpp:541:40: required from here CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:20750:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:20782:28: note: in expansion of macro 'cimg_for3x3' cimg_forV(*this,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ plugins/../CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::get_coordinates(int, cimg_library::CImgDisplay&, unsigned int*, const unsigned char*) const': plugins/../CImg.h:22434:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; ^~ plugins/../CImg.h:22434:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; ^~ plugins/../CImg.h:22435:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; ^~ plugins/../CImg.h:22435:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; ^~ plugins/../CImg.h:22436:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; ^~ plugins/../CImg.h:22436:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; ^~ plugins/../CImg.h:22437:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; ^~ plugins/../CImg.h:22437:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; ^~ CImg.h: In instantiation of 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = short unsigned int]': greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = short unsigned int]' greycstoration.cpp:545:40: required from here CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:20750:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:20782:28: note: in expansion of macro 'cimg_for3x3' cimg_forV(*this,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ plugins/../CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pandore(FILE*, const char*)': plugins/../CImg.h:24269:30: warning: typedef 'ushort' locally defined but not used [-Wunused-local-typedefs] typedef unsigned short ushort; ^~~~~~ plugins/../CImg.h:24270:28: warning: typedef 'uint' locally defined but not used [-Wunused-local-typedefs] typedef unsigned int uint; ^~~~ CImg.h: In instantiation of 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = unsigned char]': greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = unsigned char]' greycstoration.cpp:549:40: required from here CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:20750:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:20782:28: note: in expansion of macro 'cimg_for3x3' cimg_forV(*this,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ CImg.h: In instantiation of 'cimg_library::CImg::type> cimg_library::CImg::get_structure_tensorXYZ(int) const [with T = float; typename cimg_library::cimg::superset::type = float]': CImg.h:20740:33: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = float]' greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = float]' greycstoration.cpp:541:40: required from here CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13609:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13623:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ CImg.h: In instantiation of 'cimg_library::CImg::type> cimg_library::CImg::get_structure_tensorXY(int) const [with T = float; typename cimg_library::cimg::superset::type = float]': CImg.h:20773:33: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = float]' greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = float]' greycstoration.cpp:541:40: required from here CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13573:31: note: in expansion of macro 'cimg_for3x3' cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13583:31: note: in expansion of macro 'cimg_for3x3' cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ CImg.h: In instantiation of 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg&, bool) [with T = float]': CImg.h:7221:26: required from 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::display(const cimg_library::CImg&) [with T = float]' greycstoration.cpp:485:32: required from 'void greycstoration(int, char**, T) [with T = float]' greycstoration.cpp:541:40: required from here CImg.h:7426:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7431:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7491:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7496:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h: In instantiation of 'cimg_library::CImg::type> cimg_library::CImg::get_structure_tensorXYZ(int) const [with T = short unsigned int; typename cimg_library::cimg::superset::type = float]': CImg.h:20740:99: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = short unsigned int]' greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = short unsigned int]' greycstoration.cpp:545:40: required from here CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13609:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13623:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ CImg.h: In instantiation of 'cimg_library::CImg::type> cimg_library::CImg::get_structure_tensorXY(int) const [with T = short unsigned int; typename cimg_library::cimg::superset::type = float]': CImg.h:20773:97: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = short unsigned int]' greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = short unsigned int]' greycstoration.cpp:545:40: required from here CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13573:31: note: in expansion of macro 'cimg_for3x3' cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13583:31: note: in expansion of macro 'cimg_for3x3' cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ CImg.h: In instantiation of 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg&, bool) [with T = short unsigned int]': CImg.h:7221:26: required from 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::display(const cimg_library::CImg&) [with T = short unsigned int]' greycstoration.cpp:485:32: required from 'void greycstoration(int, char**, T) [with T = short unsigned int]' greycstoration.cpp:545:40: required from here CImg.h:7426:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7431:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7491:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7496:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h: In instantiation of 'cimg_library::CImg::type> cimg_library::CImg::get_structure_tensorXYZ(int) const [with T = unsigned char; typename cimg_library::cimg::superset::type = float]': CImg.h:20740:99: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = unsigned char]' greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = unsigned char]' greycstoration.cpp:549:40: required from here CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13609:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13623:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ CImg.h: In instantiation of 'cimg_library::CImg::type> cimg_library::CImg::get_structure_tensorXY(int) const [with T = unsigned char; typename cimg_library::cimg::superset::type = float]': CImg.h:20773:97: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = unsigned char]' greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = unsigned char]' greycstoration.cpp:549:40: required from here CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13573:31: note: in expansion of macro 'cimg_for3x3' cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13583:31: note: in expansion of macro 'cimg_for3x3' cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ CImg.h: In instantiation of 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg&, bool) [with T = unsigned char]': CImg.h:7221:26: required from 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::display(const cimg_library::CImg&) [with T = unsigned char]' greycstoration.cpp:485:32: required from 'void greycstoration(int, char**, T) [with T = unsigned char]' greycstoration.cpp:549:40: required from here CImg.h:7426:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7431:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7491:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ CImg.h:7496:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ greycstoration4gimp.cpp: In function 'void query()': greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] }; ^ greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] greycstoration4gimp.cpp:215:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings] CImg.h: In instantiation of 'cimg_library::CImg::type> cimg_library::CImg::get_structure_tensorXYZ(int) const [with T = float; typename cimg_library::cimg::superset::type = float]': CImg.h:20291:74: required from 'cimg_library::CImg& cimg_library::CImg::blur_anisotropic(const cimg_library::CImg&, float, float, float, float, float, float, float, float, unsigned int, bool, float) [with tm = unsigned char; T = unsigned char]' plugins/greycstoration.h:381:12: required from 'static void* cimg_library::CImg::greycstoration_thread(void*) [with T = unsigned char]' plugins/greycstoration.h:218:39: required from 'cimg_library::CImg& cimg_library::CImg::greycstoration_run(const cimg_library::CImg&, float, float, float, float, float, float, float, float, float, unsigned int, bool, unsigned int, unsigned int, unsigned int) [with T = unsigned char]' plugins/greycstoration.h:243:28: required from 'cimg_library::CImg& cimg_library::CImg::greycstoration_run(float, float, float, float, float, float, float, float, float, unsigned int, bool, unsigned int, unsigned int, unsigned int) [with T = unsigned char]' greycstoration4integration.cpp:104:130: required from here CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13609:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13623:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ CImg.h: In instantiation of 'cimg_library::CImg::type> cimg_library::CImg::get_structure_tensorXY(int) const [with T = float; typename cimg_library::cimg::superset::type = float]': CImg.h:20315:73: required from 'cimg_library::CImg& cimg_library::CImg::blur_anisotropic(const cimg_library::CImg&, float, float, float, float, float, float, float, float, unsigned int, bool, float) [with tm = unsigned char; T = unsigned char]' plugins/greycstoration.h:381:12: required from 'static void* cimg_library::CImg::greycstoration_thread(void*) [with T = unsigned char]' plugins/greycstoration.h:218:39: required from 'cimg_library::CImg& cimg_library::CImg::greycstoration_run(const cimg_library::CImg&, float, float, float, float, float, float, float, float, float, unsigned int, bool, unsigned int, unsigned int, unsigned int) [with T = unsigned char]' plugins/greycstoration.h:243:28: required from 'cimg_library::CImg& cimg_library::CImg::greycstoration_run(float, float, float, float, float, float, float, float, float, unsigned int, bool, unsigned int, unsigned int, unsigned int) [with T = unsigned char]' greycstoration4integration.cpp:104:130: required from here CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13573:31: note: in expansion of macro 'cimg_for3x3' cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ CImg.h:13583:31: note: in expansion of macro 'cimg_for3x3' cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ In file included from greycstoration4integration.cpp:56:0: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_ascii(FILE*, const char*) [with T = unsigned char]': CImg.h:23065:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(nfile,"%255[^\n]",line); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In static member function 'static void cimg_library::CImg::_load_inr(FILE*, int*, float*) [with T = unsigned char]': CImg.h:24200:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(file,"%63s",item); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pnm(FILE*, const char*) [with T = unsigned char]': CImg.h:23178:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] cimg_foroff(*this,off) { std::fscanf(nfile,"%d",&rval); *(rdata++) = (T)rval; } ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CImg.h:23184:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(nfile,"%d %d %d",&rval,&gval,&bval); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from greycstoration4integration.cpp:56:0: CImg.h: In function 'void cimg_library::cimg::system(const char*, const char*)': CImg.h:4293:18: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] std::system(command); ~~~~~~~~~~~^~~~~~~~~ In file included from greycstoration4gimp.cpp:107:0: plugins/../CImg.h: In instantiation of 'cimg_library::CImg::type> cimg_library::CImg::get_structure_tensorXYZ(int) const [with T = float; typename cimg_library::cimg::superset::type = float]': plugins/../CImg.h:20291:74: required from 'cimg_library::CImg& cimg_library::CImg::blur_anisotropic(const cimg_library::CImg&, float, float, float, float, float, float, float, float, unsigned int, bool, float) [with tm = unsigned char; T = unsigned char]' plugins/../plugins/greycstoration.h:381:12: required from 'static void* cimg_library::CImg::greycstoration_thread(void*) [with T = unsigned char]' plugins/../plugins/greycstoration.h:300:39: required from 'cimg_library::CImg& cimg_library::CImg::greycstoration_patch_run(unsigned int, float, float, unsigned int, bool, unsigned int, unsigned int, unsigned int) [with T = unsigned char]' greycstoration4gimp.cpp:361:82: required from here plugins/../CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ plugins/../CImg.h:13609:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ plugins/../CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ plugins/../CImg.h:13623:28: note: in expansion of macro 'cimg_for3x3x3' cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { ^~~~~~~~~~~~~ plugins/../CImg.h: In instantiation of 'cimg_library::CImg::type> cimg_library::CImg::get_structure_tensorXY(int) const [with T = float; typename cimg_library::cimg::superset::type = float]': plugins/../CImg.h:20315:73: required from 'cimg_library::CImg& cimg_library::CImg::blur_anisotropic(const cimg_library::CImg&, float, float, float, float, float, float, float, float, unsigned int, bool, float) [with tm = unsigned char; T = unsigned char]' plugins/../plugins/greycstoration.h:381:12: required from 'static void* cimg_library::CImg::greycstoration_thread(void*) [with T = unsigned char]' plugins/../plugins/greycstoration.h:300:39: required from 'cimg_library::CImg& cimg_library::CImg::greycstoration_patch_run(unsigned int, float, float, unsigned int, bool, unsigned int, unsigned int, unsigned int) [with T = unsigned char]' greycstoration4gimp.cpp:361:82: required from here plugins/../CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ plugins/../CImg.h:13573:31: note: in expansion of macro 'cimg_for3x3' cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ plugins/../CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] _p1##x = 0, \ ^ plugins/../CImg.h:13583:31: note: in expansion of macro 'cimg_for3x3' cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { ^~~~~~~~~~~ In file included from greycstoration.cpp:70:0: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_ascii(FILE*, const char*) [with T = unsigned char]': CImg.h:23065:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(nfile,"%255[^\n]",line); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In static member function 'static void cimg_library::CImg::_load_inr(FILE*, int*, float*) [with T = unsigned char]': CImg.h:24200:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(file,"%63s",item); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pnm(FILE*, const char*) [with T = unsigned char]': CImg.h:23178:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] cimg_foroff(*this,off) { std::fscanf(nfile,"%d",&rval); *(rdata++) = (T)rval; } ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CImg.h:23184:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(nfile,"%d %d %d",&rval,&gval,&bval); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from greycstoration.cpp:70:0: CImg.h: In function 'void cimg_library::cimg::system(const char*, const char*)': CImg.h:4293:18: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] std::system(command); ~~~~~~~~~~~^~~~~~~~~ In file included from greycstoration.cpp:70:0: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_ascii(FILE*, const char*) [with T = float]': CImg.h:23065:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(nfile,"%255[^\n]",line); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In static member function 'static void cimg_library::CImg::_load_inr(FILE*, int*, float*) [with T = float]': CImg.h:24200:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(file,"%63s",item); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pnm(FILE*, const char*) [with T = float]': CImg.h:23178:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] cimg_foroff(*this,off) { std::fscanf(nfile,"%d",&rval); *(rdata++) = (T)rval; } ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CImg.h:23184:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(nfile,"%d %d %d",&rval,&gval,&bval); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_ascii(FILE*, const char*) [with T = short unsigned int]': CImg.h:23065:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(nfile,"%255[^\n]",line); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In static member function 'static void cimg_library::CImg::_load_inr(FILE*, int*, float*) [with T = short unsigned int]': CImg.h:24200:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(file,"%63s",item); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pnm(FILE*, const char*) [with T = short unsigned int]': CImg.h:23178:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] cimg_foroff(*this,off) { std::fscanf(nfile,"%d",&rval); *(rdata++) = (T)rval; } ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ CImg.h:23184:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] std::fscanf(nfile,"%d %d %d",&rval,&gval,&bval); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CImg.h: In member function 'const cimg_library::CImg& cimg_library::CImg::save_cimg(FILE*, const char*) const [with T = float]': CImg.h:28242:59: warning: array subscript is above array bounds [-Warray-bounds] if (!cimg::strncmp(ptype,"unsigned",8)) std::fprintf(nfile,"%u unsigned_%s %s_endian\n",size,ptype+9,etype); ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/GREYCstoration-2.8/src' + cat + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.O3OGab + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le ++ dirname /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le + cd GREYCstoration-2.8 + rm -rf /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le + mkdir -p /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/bin + mkdir -p /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/lib64/gimp/2.0/plug-ins/ + mkdir -p /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/share/GREYCstoration + mkdir -p /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/share/icons/hicolor/96x96/apps + install -m0755 src/greycstoration /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/bin/ + install -m0755 src/greycstoration4integration /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/bin/ + install -m0755 src/greycstoration4gimp /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/lib64/gimp/2.0/plug-ins/ + install -m0755 GREYCstoration_gui.tcl /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/bin + install -m0644 /builddir/build/SOURCES/GREYCstoration.png /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/share/icons/hicolor/96x96/apps + desktop-file-install --dir /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/share/applications GREYCstoration.desktop /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/share/applications/GREYCstoration.desktop: error: (will be fatal in the future): value "GREYCstoration.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m --build-id-seed 2.8-24.fc27 --unique-debug-suffix -2.8-24.fc27.ppc64le --unique-debug-src-base GREYCstoration-2.8-24.fc27.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/GREYCstoration-2.8 extracting debug info from /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/lib64/gimp/2.0/plug-ins/greycstoration4gimp extracting debug info from /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/bin/greycstoration4integration extracting debug info from /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/bin/greycstoration /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 3130 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: GREYCstoration-2.8-24.fc27.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NE4Y3x + umask 022 + cd /builddir/build/BUILD + cd GREYCstoration-2.8 + DOCDIR=/builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/share/doc/GREYCstoration + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/share/doc/GREYCstoration + cp -pr README.txt /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/share/doc/GREYCstoration + cp -pr Licence_CeCILL_V2-en.txt /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le/usr/share/doc/GREYCstoration + exit 0 Provides: GREYCstoration = 2.8-24.fc27 GREYCstoration(ppc-64) = 2.8-24.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libXext.so.6()(64bit) libXrandr.so.2()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libfftw3.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: GREYCstoration-gimp-2.8-24.fc27.ppc64le Provides: GREYCstoration-gimp = 2.8-24.fc27 GREYCstoration-gimp(ppc-64) = 2.8-24.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgimp-2.0.so.0()(64bit) libgimpbase-2.0.so.0()(64bit) libgimpcolor-2.0.so.0()(64bit) libgimpconfig-2.0.so.0()(64bit) libgimpmath-2.0.so.0()(64bit) libgimpmodule-2.0.so.0()(64bit) libgimpui-2.0.so.0()(64bit) libgimpwidgets-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: GREYCstoration-gui-2.8-24.fc27.ppc64le Provides: GREYCstoration-gui = 2.8-24.fc27 GREYCstoration-gui(ppc-64) = 2.8-24.fc27 application() application(GREYCstoration.desktop) Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: /bin/sh Processing files: GREYCstoration-debugsource-2.8-24.fc27.ppc64le Provides: GREYCstoration-debugsource = 2.8-24.fc27 GREYCstoration-debugsource(ppc-64) = 2.8-24.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: GREYCstoration-debuginfo-2.8-24.fc27.ppc64le Provides: GREYCstoration-debuginfo = 2.8-24.fc27 GREYCstoration-debuginfo(ppc-64) = 2.8-24.fc27 debuginfo(build-id) = 6b93c69377f72a1158a9a4ca7c7fc192b74df955 debuginfo(build-id) = b569fedb06c982d784737f784327f016c9d9b7b6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: GREYCstoration-gimp-debuginfo-2.8-24.fc27.ppc64le Provides: GREYCstoration-gimp-debuginfo = 2.8-24.fc27 GREYCstoration-gimp-debuginfo(ppc-64) = 2.8-24.fc27 debuginfo(build-id) = bc53dd46ff4f6b069c0c804c4112808879df2507 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le Wrote: /builddir/build/RPMS/GREYCstoration-2.8-24.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/GREYCstoration-gimp-2.8-24.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/GREYCstoration-gui-2.8-24.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/GREYCstoration-debugsource-2.8-24.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/GREYCstoration-debuginfo-2.8-24.fc27.ppc64le.rpm Wrote: /builddir/build/RPMS/GREYCstoration-gimp-debuginfo-2.8-24.fc27.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ov5bLV + umask 022 + cd /builddir/build/BUILD + cd GREYCstoration-2.8 + rm -rf /builddir/build/BUILDROOT/GREYCstoration-2.8-24.fc27.ppc64le + exit 0 Child return code was: 0