Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/GREYCstoration.spec'], chrootPath='/var/lib/mock/f31-build-107957-33714/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/GREYCstoration.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/GREYCstoration-2.8-30.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/GREYCstoration.spec'], chrootPath='/var/lib/mock/f31-build-107957-33714/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/GREYCstoration.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TMZWsL + 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 . + echo 'Patch #0 (GREYCstoration-2.8-fixmakefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixmakefile --fuzz=0 + echo 'Patch #1 (GREYCstoration-2.8-libpng15.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libpng15 --fuzz=0 + echo 'Patch #2 (GREYCstoration-2.8-gcc6.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc6 --fuzz=0 + 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 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (GREYCstoration-2.8-fixmakefile.patch): patching file src/Makefile Patch #1 (GREYCstoration-2.8-libpng15.patch): patching file src/CImg.h Patch #2 (GREYCstoration-2.8-gcc6.patch): patching file src/plugins/greycstoration.h Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Tsyf9G + 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 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-tree-pre' all BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h: In static member function 'static char cimg_library::cimg::type::max()': BUILDSTDERR: CImg.h:1941:34: warning: unsigned conversion from 'int' to 'char' changes value from '-129' to ''\177'' [-Woverflow] BUILDSTDERR: 1941 | static char max() { return ~((char)(-1L<<(8*sizeof(char)-1))); } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In static member function 'static char cimg_library::cimg::type::max()': BUILDSTDERR: CImg.h:1941:34: warning: unsigned conversion from 'int' to 'char' changes value from '-129' to ''\177'' [-Woverflow] BUILDSTDERR: 1941 | static char max() { return ~((char)(-1L<<(8*sizeof(char)-1))); } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In function 'const char* cimg_library::cimg::option(const char*, int, char**, const char*, const char*)': BUILDSTDERR: CImg.h:4827:21: warning: variable 'i' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4827 | int k = 0,i; BUILDSTDERR: | ^ BUILDSTDERR: CImg.h: In function 'const char* cimg_library::cimg::option(const char*, int, char**, const char*, const char*)': BUILDSTDERR: CImg.h:4827:21: warning: variable 'i' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4827 | int k = 0,i; BUILDSTDERR: | ^ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg cimg_library::CImg::get_resize(int, int, int, int, int, int, bool) const': BUILDSTDERR: CImg.h:12420:56: warning: typedef 'ftype' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: 12420 | typedef typename cimg::superset::type ftype; BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg cimg_library::CImg::get_resize(int, int, int, int, int, int, bool) const': BUILDSTDERR: CImg.h:12420:56: warning: typedef 'ftype' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: 12420 | typedef typename cimg::superset::type ftype; BUILDSTDERR: | ^~~~~ BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::get_norm_pointwise(int) const': BUILDSTDERR: CImg.h:13349:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 13349 | if (tmp>n) n=tmp; res(x,y,z) = n; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:13349:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 13349 | if (tmp>n) n=tmp; res(x,y,z) = n; BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::get_norm_pointwise(int) const': BUILDSTDERR: CImg.h:13349:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 13349 | if (tmp>n) n=tmp; res(x,y,z) = n; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:13349:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 13349 | if (tmp>n) n=tmp; res(x,y,z) = n; BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, BUILDSTDERR: from greycstoration4gimp.cpp:104: BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] BUILDSTDERR: 59 | void (*__gtk_reserved1); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] BUILDSTDERR: 60 | void (*__gtk_reserved2); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] BUILDSTDERR: 61 | void (*__gtk_reserved3); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] BUILDSTDERR: 62 | void (*__gtk_reserved4); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] BUILDSTDERR: 63 | void (*__gtk_reserved5); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] BUILDSTDERR: 64 | void (*__gtk_reserved6); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] BUILDSTDERR: 65 | void (*__gtk_reserved7); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, BUILDSTDERR: from greycstoration4gimp.cpp:104: BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] BUILDSTDERR: 76 | void (*__gtk_reserved1); BUILDSTDERR: | ^ BUILDSTDERR: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] BUILDSTDERR: 77 | void (*__gtk_reserved2); BUILDSTDERR: | ^ BUILDSTDERR: In file included from greycstoration4gimp.cpp:107: BUILDSTDERR: plugins/../CImg.h: In static member function 'static char cimg_library::cimg::type::max()': BUILDSTDERR: plugins/../CImg.h:1941:34: warning: unsigned conversion from 'int' to 'char' changes value from '-129' to ''\177'' [-Woverflow] BUILDSTDERR: 1941 | static char max() { return ~((char)(-1L<<(8*sizeof(char)-1))); } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::get_coordinates(int, cimg_library::CImgDisplay&, unsigned int*, const unsigned char*) const': BUILDSTDERR: CImg.h:22434:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22434 | if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22434:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22434 | if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22435:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22435 | if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22435:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22435 | if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22436:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22436 | if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22436:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22436 | if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22437:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22437 | if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22437:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22437 | if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::get_coordinates(int, cimg_library::CImgDisplay&, unsigned int*, const unsigned char*) const': BUILDSTDERR: CImg.h:22434:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22434 | if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22434:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22434 | if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22435:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22435 | if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22435:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22435 | if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22436:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22436 | if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22436:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22436 | if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22437:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22437 | if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h:22437:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22437 | if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pandore(FILE*, const char*)': BUILDSTDERR: CImg.h:24269:30: warning: typedef 'ushort' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: 24269 | typedef unsigned short ushort; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: CImg.h:24270:28: warning: typedef 'uint' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: 24270 | typedef unsigned int uint; BUILDSTDERR: | ^~~~ BUILDSTDERR: plugins/../CImg.h: In function 'const char* cimg_library::cimg::option(const char*, int, char**, const char*, const char*)': BUILDSTDERR: plugins/../CImg.h:4827:21: warning: variable 'i' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4827 | int k = 0,i; BUILDSTDERR: | ^ BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pandore(FILE*, const char*)': BUILDSTDERR: CImg.h:24269:30: warning: typedef 'ushort' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: 24269 | typedef unsigned short ushort; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: CImg.h:24270:28: warning: typedef 'uint' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: 24270 | typedef unsigned int uint; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4gimp.cpp:107: BUILDSTDERR: plugins/../CImg.h: In member function 'cimg_library::CImg cimg_library::CImg::get_resize(int, int, int, int, int, int, bool) const': BUILDSTDERR: plugins/../CImg.h:12420:56: warning: typedef 'ftype' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: 12420 | typedef typename cimg::superset::type ftype; BUILDSTDERR: | ^~~~~ BUILDSTDERR: plugins/../CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::get_norm_pointwise(int) const': BUILDSTDERR: plugins/../CImg.h:13349:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 13349 | if (tmp>n) n=tmp; res(x,y,z) = n; BUILDSTDERR: | ^~ BUILDSTDERR: plugins/../CImg.h:13349:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 13349 | if (tmp>n) n=tmp; res(x,y,z) = n; BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImgList& cimg_library::CImgList::insert(const cimg_library::CImg&, unsigned int, bool) [with T = unsigned char]': BUILDSTDERR: CImg.h:27094:34: required from 'cimg_library::CImgList& cimg_library::CImgList::insert(const cimg_library::CImg&) [with t = unsigned char; T = unsigned char]' BUILDSTDERR: CImg.h:28846:40: required from 'int cimg_library::cimg::dialog(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const cimg_library::CImg&, bool) [with t = unsigned char]' BUILDSTDERR: CImg.h:28975:65: required from here BUILDSTDERR: CImg.h:27060:32: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27060 | if (npos) std::memcpy(new_data,data,sizeof(CImg)*npos); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27061:40: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27061 | if (npos!=size-1) std::memcpy(new_data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27069:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27069 | std::memset(data,0,sizeof(CImg)*(size-1)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27073:41: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27073 | if (npos!=size-1) std::memmove(data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg&, bool) [with T = unsigned char]': BUILDSTDERR: 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]' BUILDSTDERR: 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]' BUILDSTDERR: greycstoration4integration.cpp:96:40: required from here BUILDSTDERR: CImg.h:7426:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7426 | *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7431:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7431 | *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7491:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7491 | *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7496:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7496 | *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = float]': BUILDSTDERR: greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = float]' BUILDSTDERR: greycstoration.cpp:541:40: required from here BUILDSTDERR: CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:20750:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 20750 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:20782:28: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 20782 | cimg_forV(*this,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImgList& cimg_library::CImgList::insert(const cimg_library::CImg&, unsigned int, bool) [with T = float]': BUILDSTDERR: greycstoration.cpp:455:35: required from 'void greycstoration(int, char**, T) [with T = float]' BUILDSTDERR: greycstoration.cpp:541:40: required from here BUILDSTDERR: CImg.h:27060:32: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27060 | if (npos) std::memcpy(new_data,data,sizeof(CImg)*npos); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27061:40: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27061 | if (npos!=size-1) std::memcpy(new_data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27069:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27069 | std::memset(data,0,sizeof(CImg)*(size-1)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27073:41: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27073 | if (npos!=size-1) std::memmove(data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = short unsigned int]': BUILDSTDERR: greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = short unsigned int]' BUILDSTDERR: greycstoration.cpp:545:40: required from here BUILDSTDERR: CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:20750:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 20750 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:20782:28: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 20782 | cimg_forV(*this,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImgList& cimg_library::CImgList::insert(const cimg_library::CImg&, unsigned int, bool) [with T = short unsigned int]': BUILDSTDERR: greycstoration.cpp:455:35: required from 'void greycstoration(int, char**, T) [with T = short unsigned int]' BUILDSTDERR: greycstoration.cpp:545:40: required from here BUILDSTDERR: CImg.h:27060:32: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27060 | if (npos) std::memcpy(new_data,data,sizeof(CImg)*npos); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27061:40: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27061 | if (npos!=size-1) std::memcpy(new_data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27069:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27069 | std::memset(data,0,sizeof(CImg)*(size-1)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27073:41: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27073 | if (npos!=size-1) std::memmove(data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = unsigned char]': BUILDSTDERR: greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = unsigned char]' BUILDSTDERR: greycstoration.cpp:549:40: required from here BUILDSTDERR: CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:20750:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 20750 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:20782:28: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 20782 | cimg_forV(*this,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImgList& cimg_library::CImgList::insert(const cimg_library::CImg&, unsigned int, bool) [with T = unsigned char]': BUILDSTDERR: greycstoration.cpp:455:35: required from 'void greycstoration(int, char**, T) [with T = unsigned char]' BUILDSTDERR: greycstoration.cpp:549:40: required from here BUILDSTDERR: CImg.h:27060:32: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27060 | if (npos) std::memcpy(new_data,data,sizeof(CImg)*npos); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27061:40: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27061 | if (npos!=size-1) std::memcpy(new_data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27069:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27069 | std::memset(data,0,sizeof(CImg)*(size-1)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27073:41: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27073 | if (npos!=size-1) std::memmove(data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: 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': BUILDSTDERR: plugins/../CImg.h:22434:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22434 | if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: plugins/../CImg.h:22434:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22434 | if (X0<0) X0 = 0; if (X0>=dimx()) X0 = dimx()-1; if (Y0<0) Y0 = 0; if (Y0>=dimy()) Y0 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: plugins/../CImg.h:22435:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22435 | if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: plugins/../CImg.h:22435:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22435 | if (Z0<0) Z0 = 0; if (Z0>=dimz()) Z0 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: plugins/../CImg.h:22436:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22436 | if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: plugins/../CImg.h:22436:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22436 | if (X1<1) X1 = 0; if (X1>=dimx()) X1 = dimx()-1; if (Y1<0) Y1 = 0; if (Y1>=dimy()) Y1 = dimy()-1; BUILDSTDERR: | ^~ BUILDSTDERR: plugins/../CImg.h:22437:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 22437 | if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: plugins/../CImg.h:22437:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 22437 | if (Z1<0) Z1 = 0; if (Z1>=dimz()) Z1 = dimz()-1; BUILDSTDERR: | ^~ BUILDSTDERR: 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]': BUILDSTDERR: CImg.h:20740:33: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = float]' BUILDSTDERR: greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = float]' BUILDSTDERR: greycstoration.cpp:541:40: required from here BUILDSTDERR: CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13609:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 13609 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13623:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 13623 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: 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]': BUILDSTDERR: CImg.h:20773:33: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = float]' BUILDSTDERR: greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = float]' BUILDSTDERR: greycstoration.cpp:541:40: required from here BUILDSTDERR: CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13573:31: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 13573 | cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13583:31: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 13583 | cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg&, bool) [with T = float]': BUILDSTDERR: CImg.h:7221:26: required from 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::display(const cimg_library::CImg&) [with T = float]' BUILDSTDERR: greycstoration.cpp:485:32: required from 'void greycstoration(int, char**, T) [with T = float]' BUILDSTDERR: greycstoration.cpp:541:40: required from here BUILDSTDERR: CImg.h:7426:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7426 | *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7431:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7431 | *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7491:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7491 | *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7496:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7496 | *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: plugins/../CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pandore(FILE*, const char*)': BUILDSTDERR: plugins/../CImg.h:24269:30: warning: typedef 'ushort' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: 24269 | typedef unsigned short ushort; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: plugins/../CImg.h:24270:28: warning: typedef 'uint' locally defined but not used [-Wunused-local-typedefs] BUILDSTDERR: 24270 | typedef unsigned int uint; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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]': BUILDSTDERR: CImg.h:20740:76: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = short unsigned int]' BUILDSTDERR: greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = short unsigned int]' BUILDSTDERR: greycstoration.cpp:545:40: required from here BUILDSTDERR: CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13609:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 13609 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13623:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 13623 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: 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]': BUILDSTDERR: CImg.h:20773:75: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = short unsigned int]' BUILDSTDERR: greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = short unsigned int]' BUILDSTDERR: greycstoration.cpp:545:40: required from here BUILDSTDERR: CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13573:31: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 13573 | cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13583:31: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 13583 | cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg&, bool) [with T = short unsigned int]': BUILDSTDERR: CImg.h:7221:26: required from 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::display(const cimg_library::CImg&) [with T = short unsigned int]' BUILDSTDERR: greycstoration.cpp:485:32: required from 'void greycstoration(int, char**, T) [with T = short unsigned int]' BUILDSTDERR: greycstoration.cpp:545:40: required from here BUILDSTDERR: CImg.h:7426:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7426 | *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7431:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7431 | *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7491:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7491 | *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7496:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7496 | *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 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]': BUILDSTDERR: CImg.h:20740:76: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = unsigned char]' BUILDSTDERR: greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = unsigned char]' BUILDSTDERR: greycstoration.cpp:549:40: required from here BUILDSTDERR: CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13609:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 13609 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13623:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 13623 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: 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]': BUILDSTDERR: CImg.h:20773:75: required from 'cimg_library::CImg& cimg_library::CImg::sharpen(float, float, float, float) [with T = unsigned char]' BUILDSTDERR: greycstoration.cpp:426:35: required from 'void greycstoration(int, char**, T) [with T = unsigned char]' BUILDSTDERR: greycstoration.cpp:549:40: required from here BUILDSTDERR: CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13573:31: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 13573 | cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13583:31: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 13583 | cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: 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]': BUILDSTDERR: 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]' BUILDSTDERR: plugins/greycstoration.h:381:12: required from 'static void* cimg_library::CImg::greycstoration_thread(void*) [with T = unsigned char]' BUILDSTDERR: 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]' BUILDSTDERR: plugins/greycstoration.h:244:82: 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]' BUILDSTDERR: greycstoration4integration.cpp:104:130: required from here BUILDSTDERR: CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13609:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 13609 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13623:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 13623 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::render(const cimg_library::CImg&, bool) [with T = unsigned char]': BUILDSTDERR: CImg.h:7221:26: required from 'cimg_library::CImgDisplay& cimg_library::CImgDisplay::display(const cimg_library::CImg&) [with T = unsigned char]' BUILDSTDERR: greycstoration.cpp:485:32: required from 'void greycstoration(int, char**, T) [with T = unsigned char]' BUILDSTDERR: greycstoration.cpp:549:40: required from here BUILDSTDERR: CImg.h:7426:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7426 | *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7431:50: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7431 | *(ptrd++) = (unsigned char)*(data1++)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7491:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7491 | *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: CImg.h:7496:65: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] BUILDSTDERR: 7496 | *(ptrd++) = (unsigned char)(255*(*(data1++)-min)/mm)&M | (G>>3); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 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]': BUILDSTDERR: 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]' BUILDSTDERR: plugins/greycstoration.h:381:12: required from 'static void* cimg_library::CImg::greycstoration_thread(void*) [with T = unsigned char]' BUILDSTDERR: 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]' BUILDSTDERR: plugins/greycstoration.h:244:82: 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]' BUILDSTDERR: greycstoration4integration.cpp:104:130: required from here BUILDSTDERR: CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13573:31: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 13573 | cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: CImg.h:13583:31: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 13583 | cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp: In function 'void query()': BUILDSTDERR: greycstoration4gimp.cpp:201:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 201 | {GIMP_PDB_INT32, "run_mode", "Interactive, non-interactive"}, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:201:37: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 201 | {GIMP_PDB_INT32, "run_mode", "Interactive, non-interactive"}, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:202:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 202 | {GIMP_PDB_IMAGE, "image", "(unused)"}, BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:202:34: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 202 | {GIMP_PDB_IMAGE, "image", "(unused)"}, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:203:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 203 | {GIMP_PDB_DRAWABLE, "drawable", "Drawable to draw on"}, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:203:37: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 203 | {GIMP_PDB_DRAWABLE, "drawable", "Drawable to draw on"}, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:204:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 204 | {GIMP_PDB_FLOAT, "amplitude", "Regularization strength for one iteration"}, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:204:38: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 204 | {GIMP_PDB_FLOAT, "amplitude", "Regularization strength for one iteration"}, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:205:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 205 | {GIMP_PDB_FLOAT, "sharpness", "Contour preservation for regularization"}, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:205:38: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 205 | {GIMP_PDB_FLOAT, "sharpness", "Contour preservation for regularization"}, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:206:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 206 | {GIMP_PDB_FLOAT, "anisotropy", "Regularization anisotropy"}, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:206:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 206 | {GIMP_PDB_FLOAT, "anisotropy", "Regularization anisotropy"}, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:207:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 207 | {GIMP_PDB_FLOAT, "alpha", "Noise scale"}, BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:207:34: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 207 | {GIMP_PDB_FLOAT, "alpha", "Noise scale"}, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:208:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 208 | {GIMP_PDB_FLOAT, "sigma", "Geometry regularity"} , BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:208:34: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 208 | {GIMP_PDB_FLOAT, "sigma", "Geometry regularity"} , BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:209:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 209 | {GIMP_PDB_FLOAT, "dl", "Spatial integration step for regularization"} , BUILDSTDERR: | ^~~~ BUILDSTDERR: greycstoration4gimp.cpp:209:31: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 209 | {GIMP_PDB_FLOAT, "dl", "Spatial integration step for regularization"} , BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:210:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 210 | {GIMP_PDB_FLOAT, "da", "Angular integration step for regulatization"}, BUILDSTDERR: | ^~~~ BUILDSTDERR: greycstoration4gimp.cpp:210:31: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 210 | {GIMP_PDB_FLOAT, "da", "Angular integration step for regulatization"}, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:211:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 211 | {GIMP_PDB_FLOAT, "gauss_prec", "Precision of the gaussian function for regularization"}, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:211:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 211 | {GIMP_PDB_FLOAT, "gauss_prec", "Precision of the gaussian function for regularization"}, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:212:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 212 | {GIMP_PDB_INT8, "interp", "Interpolation type"}, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:212:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 212 | {GIMP_PDB_INT8, "interp", "Interpolation type"}, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:213:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 213 | {GIMP_PDB_INT32, "fast_approx", "Use fast approximation for regularization"}, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:213:40: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 213 | {GIMP_PDB_INT32, "fast_approx", "Use fast approximation for regularization"}, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:214:25: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 214 | {GIMP_PDB_INT32, "iterations", "Iterations accuracy"} BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:214:39: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] BUILDSTDERR: 214 | {GIMP_PDB_INT32, "iterations", "Iterations accuracy"} BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp: In function 'void run(const gchar*, gint, const GimpParam*, gint*, GimpParam**)': BUILDSTDERR: greycstoration4gimp.cpp:248:56: warning: 'GimpDrawable* gimp_drawable_get(gint32)' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] BUILDSTDERR: 248 | drawable = gimp_drawable_get(param[2].data.d_drawable); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:51:16: note: declared here BUILDSTDERR: 51 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:248:56: warning: 'GimpDrawable* gimp_drawable_get(gint32)' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] BUILDSTDERR: 248 | drawable = gimp_drawable_get(param[2].data.d_drawable); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:51:16: note: declared here BUILDSTDERR: 51 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:251:73: warning: 'void gimp_tile_cache_ntiles(gulong)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 251 | gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:63, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimptile.h:60:9: note: declared here BUILDSTDERR: 60 | void gimp_tile_cache_ntiles (gulong ntiles); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:251:73: warning: 'void gimp_tile_cache_ntiles(gulong)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 251 | gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1)); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:63, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimptile.h:60:9: note: declared here BUILDSTDERR: 60 | void gimp_tile_cache_ntiles (gulong ntiles); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:283:58: warning: 'GimpDrawable* gimp_drawable_get(gint32)' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] BUILDSTDERR: 283 | drawable = gimp_drawable_get(param[2].data.d_drawable); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:51:16: note: declared here BUILDSTDERR: 51 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:283:58: warning: 'GimpDrawable* gimp_drawable_get(gint32)' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] BUILDSTDERR: 283 | drawable = gimp_drawable_get(param[2].data.d_drawable); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:51:16: note: declared here BUILDSTDERR: 51 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:290:89: warning: 'void gimp_pixel_rgn_init(GimpPixelRgn*, GimpDrawable*, gint, gint, gint, gint, gint, gint)' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] BUILDSTDERR: 290 | gimp_pixel_rgn_init(&srcPR,drawable,0,0,drawable->width,drawable->height,false,false); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here BUILDSTDERR: 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:290:89: warning: 'void gimp_pixel_rgn_init(GimpPixelRgn*, GimpDrawable*, gint, gint, gint, gint, gint, gint)' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] BUILDSTDERR: 290 | gimp_pixel_rgn_init(&srcPR,drawable,0,0,drawable->width,drawable->height,false,false); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here BUILDSTDERR: 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:291:88: warning: 'void gimp_pixel_rgn_init(GimpPixelRgn*, GimpDrawable*, gint, gint, gint, gint, gint, gint)' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] BUILDSTDERR: 291 | gimp_pixel_rgn_init(&destPR,drawable,0,0,drawable->width,drawable->height,true,true); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here BUILDSTDERR: 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:291:88: warning: 'void gimp_pixel_rgn_init(GimpPixelRgn*, GimpDrawable*, gint, gint, gint, gint, gint, gint)' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] BUILDSTDERR: 291 | gimp_pixel_rgn_init(&destPR,drawable,0,0,drawable->width,drawable->height,true,true); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here BUILDSTDERR: 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:300:33: warning: 'void gimp_drawable_flush(GimpDrawable*)' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations] BUILDSTDERR: 300 | gimp_drawable_flush(drawable); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:55:16: note: declared here BUILDSTDERR: 55 | void gimp_drawable_flush (GimpDrawable *drawable); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:300:33: warning: 'void gimp_drawable_flush(GimpDrawable*)' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations] BUILDSTDERR: 300 | gimp_drawable_flush(drawable); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:55:16: note: declared here BUILDSTDERR: 55 | void gimp_drawable_flush (GimpDrawable *drawable); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:307:34: warning: 'void gimp_drawable_detach(GimpDrawable*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 307 | gimp_drawable_detach(drawable); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:53:16: note: declared here BUILDSTDERR: 53 | void gimp_drawable_detach (GimpDrawable *drawable); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:307:34: warning: 'void gimp_drawable_detach(GimpDrawable*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 307 | gimp_drawable_detach(drawable); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:53:16: note: declared here BUILDSTDERR: 53 | void gimp_drawable_detach (GimpDrawable *drawable); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp: In function 'void process(GimpPixelRgn*, GimpPixelRgn*, gint, gint, gint, gint, gint, gboolean)': BUILDSTDERR: greycstoration4gimp.cpp:331:51: warning: 'void gimp_pixel_rgn_get_row(GimpPixelRgn*, guchar*, gint, gint, gint)' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations] BUILDSTDERR: 331 | gimp_pixel_rgn_get_row(srcPR,row,x1,y1+y,width); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:68:11: note: declared here BUILDSTDERR: 68 | void gimp_pixel_rgn_get_row (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:331:51: warning: 'void gimp_pixel_rgn_get_row(GimpPixelRgn*, guchar*, gint, gint, gint)' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations] BUILDSTDERR: 331 | gimp_pixel_rgn_get_row(srcPR,row,x1,y1+y,width); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:68:11: note: declared here BUILDSTDERR: 68 | void gimp_pixel_rgn_get_row (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:341:51: warning: 'void gimp_pixel_rgn_get_row(GimpPixelRgn*, guchar*, gint, gint, gint)' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations] BUILDSTDERR: 341 | gimp_pixel_rgn_get_row(srcPR,row,x1,y1+y,width); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:68:11: note: declared here BUILDSTDERR: 68 | void gimp_pixel_rgn_get_row (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:341:51: warning: 'void gimp_pixel_rgn_get_row(GimpPixelRgn*, guchar*, gint, gint, gint)' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations] BUILDSTDERR: 341 | gimp_pixel_rgn_get_row(srcPR,row,x1,y1+y,width); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:68:11: note: declared here BUILDSTDERR: 68 | void gimp_pixel_rgn_get_row (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:344:52: warning: 'void gimp_pixel_rgn_set_row(GimpPixelRgn*, const guchar*, gint, gint, gint)' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] BUILDSTDERR: 344 | gimp_pixel_rgn_set_row(destPR,row,x1,y1+y,width); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:92:11: note: declared here BUILDSTDERR: 92 | void gimp_pixel_rgn_set_row (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:344:52: warning: 'void gimp_pixel_rgn_set_row(GimpPixelRgn*, const guchar*, gint, gint, gint)' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] BUILDSTDERR: 344 | gimp_pixel_rgn_set_row(destPR,row,x1,y1+y,width); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57, BUILDSTDERR: from greycstoration4gimp.cpp:105: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:92:11: note: declared here BUILDSTDERR: 92 | void gimp_pixel_rgn_set_row (GimpPixelRgn *pr, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp: In function 'gboolean dialog(GimpDrawable*)': BUILDSTDERR: greycstoration4gimp.cpp:461:43: warning: 'GtkWidget* gimp_zoom_preview_new(GimpDrawable*)' is deprecated: Use 'gimp_zoom_preview_new_from_drawable_id' instead [-Wdeprecated-declarations] BUILDSTDERR: 461 | preview = gimp_zoom_preview_new(drawable); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimpui.h:51, BUILDSTDERR: from greycstoration4gimp.cpp:106: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpzoompreview.h:84:17: note: declared here BUILDSTDERR: 84 | GtkWidget * gimp_zoom_preview_new (GimpDrawable *drawable); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: greycstoration4gimp.cpp:461:43: warning: 'GtkWidget* gimp_zoom_preview_new(GimpDrawable*)' is deprecated: Use 'gimp_zoom_preview_new_from_drawable_id' instead [-Wdeprecated-declarations] BUILDSTDERR: 461 | preview = gimp_zoom_preview_new(drawable); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gimp-2.0/libgimp/gimpui.h:51, BUILDSTDERR: from greycstoration4gimp.cpp:106: BUILDSTDERR: /usr/include/gimp-2.0/libgimp/gimpzoompreview.h:84:17: note: declared here BUILDSTDERR: 84 | GtkWidget * gimp_zoom_preview_new (GimpDrawable *drawable); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImgList& cimg_library::CImgList::insert(const cimg_library::CImg&, unsigned int, bool) [with T = float]': BUILDSTDERR: CImg.h:27094:34: required from 'cimg_library::CImgList& cimg_library::CImgList::insert(const cimg_library::CImg&) [with t = float; T = float]' BUILDSTDERR: CImg.h:27968:27: required from 'cimg_library::CImgList& cimg_library::CImgList::load_parrec(const char*) [with T = unsigned char]' BUILDSTDERR: CImg.h:24858:7: required from 'cimg_library::CImg& cimg_library::CImg::load_parrec(const char*, char, char) [with T = unsigned char]' BUILDSTDERR: CImg.h:23040:53: required from 'cimg_library::CImg& cimg_library::CImg::load(const char*) [with T = unsigned char]' BUILDSTDERR: CImg.h:9368:14: required from 'cimg_library::CImg& cimg_library::CImg::assign(const char*) [with T = unsigned char]' BUILDSTDERR: CImg.h:9354:7: required from 'cimg_library::CImg::CImg(const char*) [with T = unsigned char]' BUILDSTDERR: greycstoration4integration.cpp:93:33: required from here BUILDSTDERR: CImg.h:27060:32: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27060 | if (npos) std::memcpy(new_data,data,sizeof(CImg)*npos); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27061:40: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27061 | if (npos!=size-1) std::memcpy(new_data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27069:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27069 | std::memset(data,0,sizeof(CImg)*(size-1)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27073:41: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27073 | if (npos!=size-1) std::memmove(data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImgList& cimg_library::CImgList::insert(const cimg_library::CImg&, unsigned int, bool) [with T = unsigned int]': BUILDSTDERR: CImg.h:27094:34: required from 'cimg_library::CImgList& cimg_library::CImgList::insert(const cimg_library::CImg&) [with t = unsigned int; T = unsigned int]' BUILDSTDERR: CImg.h:27970:50: required from 'cimg_library::CImgList& cimg_library::CImgList::load_parrec(const char*) [with T = unsigned char]' BUILDSTDERR: CImg.h:24858:7: required from 'cimg_library::CImg& cimg_library::CImg::load_parrec(const char*, char, char) [with T = unsigned char]' BUILDSTDERR: CImg.h:23040:53: required from 'cimg_library::CImg& cimg_library::CImg::load(const char*) [with T = unsigned char]' BUILDSTDERR: CImg.h:9368:14: required from 'cimg_library::CImg& cimg_library::CImg::assign(const char*) [with T = unsigned char]' BUILDSTDERR: CImg.h:9354:7: required from 'cimg_library::CImg::CImg(const char*) [with T = unsigned char]' BUILDSTDERR: greycstoration4integration.cpp:93:33: required from here BUILDSTDERR: CImg.h:27060:32: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27060 | if (npos) std::memcpy(new_data,data,sizeof(CImg)*npos); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27061:40: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27061 | if (npos!=size-1) std::memcpy(new_data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27069:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27069 | std::memset(data,0,sizeof(CImg)*(size-1)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27073:41: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27073 | if (npos!=size-1) std::memmove(data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_ascii(FILE*, const char*) [with T = unsigned char]': BUILDSTDERR: CImg.h:23065:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23065 | std::fscanf(nfile,"%255[^\n]",line); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In static member function 'static void cimg_library::CImg::_load_inr(FILE*, int*, float*) [with T = unsigned char]': BUILDSTDERR: CImg.h:24200:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 24200 | std::fscanf(file,"%63s",item); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pnm(FILE*, const char*) [with T = unsigned char]': BUILDSTDERR: CImg.h:23178:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23178 | cimg_foroff(*this,off) { std::fscanf(nfile,"%d",&rval); *(rdata++) = (T)rval; } BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h:23184:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23184 | std::fscanf(nfile,"%d %d %d",&rval,&gval,&bval); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h: In function 'void cimg_library::cimg::system(const char*, const char*)': BUILDSTDERR: CImg.h:4293:18: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 4293 | std::system(command); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: In file included from greycstoration4gimp.cpp:107: BUILDSTDERR: 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]': BUILDSTDERR: 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]' BUILDSTDERR: plugins/../plugins/greycstoration.h:381:12: required from 'static void* cimg_library::CImg::greycstoration_thread(void*) [with T = unsigned char]' BUILDSTDERR: 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]' BUILDSTDERR: greycstoration4gimp.cpp:361:82: required from here BUILDSTDERR: plugins/../CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: plugins/../CImg.h:13609:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 13609 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: plugins/../CImg.h:1618:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1618 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: plugins/../CImg.h:13623:28: note: in expansion of macro 'cimg_for3x3x3' BUILDSTDERR: 13623 | cimg_forV(*this,k) cimg_for3x3x3(*this,x,y,z,k,I) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: 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]': BUILDSTDERR: 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]' BUILDSTDERR: plugins/../plugins/greycstoration.h:381:12: required from 'static void* cimg_library::CImg::greycstoration_thread(void*) [with T = unsigned char]' BUILDSTDERR: 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]' BUILDSTDERR: greycstoration4gimp.cpp:361:82: required from here BUILDSTDERR: plugins/../CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: plugins/../CImg.h:13573:31: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 13573 | cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: plugins/../CImg.h:891:4: warning: variable '_p1x' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 891 | _p1##x = 0, \ BUILDSTDERR: | ^~~ BUILDSTDERR: plugins/../CImg.h:13583:31: note: in expansion of macro 'cimg_for3x3' BUILDSTDERR: 13583 | cimg_forZV(*this,z,k) cimg_for3x3(*this,x,y,0,k,I) { BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In instantiation of 'cimg_library::CImgList& cimg_library::CImgList::insert(const cimg_library::CImg&, unsigned int, bool) [with T = unsigned int]': BUILDSTDERR: CImg.h:27094:34: required from 'cimg_library::CImgList& cimg_library::CImgList::insert(const cimg_library::CImg&) [with t = unsigned int; T = unsigned int]' BUILDSTDERR: CImg.h:27970:50: required from 'cimg_library::CImgList& cimg_library::CImgList::load_parrec(const char*) [with T = float]' BUILDSTDERR: CImg.h:24858:7: required from 'cimg_library::CImg& cimg_library::CImg::load_parrec(const char*, char, char) [with T = float]' BUILDSTDERR: CImg.h:23040:53: required from 'cimg_library::CImg& cimg_library::CImg::load(const char*) [with T = float]' BUILDSTDERR: greycstoration.cpp:193:5: required from 'void greycstoration(int, char**, T) [with T = float]' BUILDSTDERR: greycstoration.cpp:541:40: required from here BUILDSTDERR: CImg.h:27060:32: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27060 | if (npos) std::memcpy(new_data,data,sizeof(CImg)*npos); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27061:40: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27061 | if (npos!=size-1) std::memcpy(new_data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27069:22: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27069 | std::memset(data,0,sizeof(CImg)*(size-1)); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27073:41: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct cimg_library::CImg' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] BUILDSTDERR: 27073 | if (npos!=size-1) std::memmove(data+npos+1,data+npos,sizeof(CImg)*(size-1-npos)); BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:8790:31: note: 'struct cimg_library::CImg' declared here BUILDSTDERR: 8790 | template struct CImg { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_ascii(FILE*, const char*) [with T = unsigned char]': BUILDSTDERR: CImg.h:23065:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23065 | std::fscanf(nfile,"%255[^\n]",line); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In static member function 'static void cimg_library::CImg::_load_inr(FILE*, int*, float*) [with T = unsigned char]': BUILDSTDERR: CImg.h:24200:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 24200 | std::fscanf(file,"%63s",item); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pnm(FILE*, const char*) [with T = unsigned char]': BUILDSTDERR: CImg.h:23178:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23178 | cimg_foroff(*this,off) { std::fscanf(nfile,"%d",&rval); *(rdata++) = (T)rval; } BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h:23184:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23184 | std::fscanf(nfile,"%d %d %d",&rval,&gval,&bval); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In function 'void cimg_library::cimg::system(const char*, const char*)': BUILDSTDERR: CImg.h:4293:18: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 4293 | std::system(command); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_ascii(FILE*, const char*) [with T = float]': BUILDSTDERR: CImg.h:23065:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23065 | std::fscanf(nfile,"%255[^\n]",line); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In static member function 'static void cimg_library::CImg::_load_inr(FILE*, int*, float*) [with T = float]': BUILDSTDERR: CImg.h:24200:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 24200 | std::fscanf(file,"%63s",item); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pnm(FILE*, const char*) [with T = float]': BUILDSTDERR: CImg.h:23178:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23178 | cimg_foroff(*this,off) { std::fscanf(nfile,"%d",&rval); *(rdata++) = (T)rval; } BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h:23184:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23184 | std::fscanf(nfile,"%d %d %d",&rval,&gval,&bval); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_ascii(FILE*, const char*) [with T = short unsigned int]': BUILDSTDERR: CImg.h:23065:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23065 | std::fscanf(nfile,"%255[^\n]",line); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In static member function 'static void cimg_library::CImg::_load_inr(FILE*, int*, float*) [with T = short unsigned int]': BUILDSTDERR: CImg.h:24200:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 24200 | std::fscanf(file,"%63s",item); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In member function 'cimg_library::CImg& cimg_library::CImg::load_pnm(FILE*, const char*) [with T = short unsigned int]': BUILDSTDERR: CImg.h:23178:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23178 | cimg_foroff(*this,off) { std::fscanf(nfile,"%d",&rval); *(rdata++) = (T)rval; } BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h:23184:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 23184 | std::fscanf(nfile,"%d %d %d",&rval,&gval,&bval); BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h: In member function 'const cimg_library::CImg& cimg_library::CImg::save_dicom(const char*) const [with T = unsigned char]': BUILDSTDERR: CImg.h:25160:31: warning: '.img' directive writing 4 bytes into a region of size between 1 and 512 [-Wformat-overflow=] BUILDSTDERR: 25160 | std::sprintf(filetmp,"%s.img",body); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration4integration.cpp:56: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 516 bytes into a destination of size 512 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h: In member function 'const cimg_library::CImg& cimg_library::CImg::save_cimg(FILE*, const char*) const [with T = float]': BUILDSTDERR: CImg.h:28242:59: warning: array subscript 9 is outside array bounds of 'const char [6]' [-Warray-bounds] BUILDSTDERR: 28242 | if (!cimg::strncmp(ptype,"unsigned",8)) std::fprintf(nfile,"%u unsigned_%s %s_endian\n",size,ptype+9,etype); BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CImg.h:28242:59: warning: offset '9' outside bounds of constant string [-Warray-bounds] BUILDSTDERR: CImg.h: In member function 'const cimg_library::CImg& cimg_library::CImg::save_dicom(const char*) const [with T = unsigned char]': BUILDSTDERR: CImg.h:25160:31: warning: '.img' directive writing 4 bytes into a region of size between 1 and 512 [-Wformat-overflow=] BUILDSTDERR: 25160 | std::sprintf(filetmp,"%s.img",body); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 516 bytes into a destination of size 512 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h: In member function 'const cimg_library::CImg& cimg_library::CImg::save(const char*, int) const [with T = unsigned char]': BUILDSTDERR: CImg.h:4681:40: warning: '%%' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] BUILDSTDERR: 4681 | if (n>0) std::sprintf(format,"%s_%%.%ud.%s",body,n,ext); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration4integration.cpp:56: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 1030) into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In member function 'const cimg_library::CImg& cimg_library::CImg::save_dicom(const char*) const [with T = float]': BUILDSTDERR: CImg.h:25160:31: warning: '.img' directive writing 4 bytes into a region of size between 1 and 512 [-Wformat-overflow=] BUILDSTDERR: 25160 | std::sprintf(filetmp,"%s.img",body); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 516 bytes into a destination of size 512 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In member function 'const cimg_library::CImg& cimg_library::CImg::save_dicom(const char*) const [with T = short unsigned int]': BUILDSTDERR: CImg.h:25160:31: warning: '.img' directive writing 4 bytes into a region of size between 1 and 512 [-Wformat-overflow=] BUILDSTDERR: 25160 | std::sprintf(filetmp,"%s.img",body); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 516 bytes into a destination of size 512 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h: In member function 'cimg_library::CImgList& cimg_library::CImgList::load_parrec(const char*) [with T = unsigned char]': BUILDSTDERR: CImg.h:27951:105: warning: '.rec' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27951 | if (!cimg::strncmp(ext,"par",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.rec",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration4integration.cpp:56: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27952:105: warning: '.REC' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27952 | if (!cimg::strncmp(ext,"PAR",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.REC",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration4integration.cpp:56: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27953:105: warning: '.par' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27953 | if (!cimg::strncmp(ext,"rec",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.par",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration4integration.cpp:56: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27951:105: warning: '.rec' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27951 | if (!cimg::strncmp(ext,"par",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.rec",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration4integration.cpp:56: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27952:105: warning: '.REC' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27952 | if (!cimg::strncmp(ext,"PAR",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.REC",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration4integration.cpp:56: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27953:105: warning: '.par' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27953 | if (!cimg::strncmp(ext,"rec",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.par",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration4integration.cpp:56: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration4integration.cpp:56: BUILDSTDERR: CImg.h:27954:105: warning: '.PAR' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27954 | if (!cimg::strncmp(ext,"REC",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.PAR",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration4integration.cpp:56: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In member function 'const cimg_library::CImg& cimg_library::CImg::save(const char*, int) const [with T = unsigned char]': BUILDSTDERR: CImg.h:4681:40: warning: '%%' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] BUILDSTDERR: 4681 | if (n>0) std::sprintf(format,"%s_%%.%ud.%s",body,n,ext); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 1030) into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In member function 'const cimg_library::CImg& cimg_library::CImg::save(const char*, int) const [with T = float]': BUILDSTDERR: CImg.h:4681:40: warning: '%%' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] BUILDSTDERR: 4681 | if (n>0) std::sprintf(format,"%s_%%.%ud.%s",body,n,ext); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 1030) into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In member function 'const cimg_library::CImg& cimg_library::CImg::save(const char*, int) const [with T = short unsigned int]': BUILDSTDERR: CImg.h:4681:40: warning: '%%' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=] BUILDSTDERR: 4681 | if (n>0) std::sprintf(format,"%s_%%.%ud.%s",body,n,ext); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 7 or more bytes (assuming 1030) into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In member function 'cimg_library::CImgList& cimg_library::CImgList::load_parrec(const char*) [with T = unsigned char]': BUILDSTDERR: CImg.h:27951:105: warning: '.rec' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27951 | if (!cimg::strncmp(ext,"par",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.rec",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27952:105: warning: '.REC' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27952 | if (!cimg::strncmp(ext,"PAR",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.REC",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27953:105: warning: '.par' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27953 | if (!cimg::strncmp(ext,"rec",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.par",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27951:105: warning: '.rec' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27951 | if (!cimg::strncmp(ext,"par",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.rec",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27952:105: warning: '.REC' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27952 | if (!cimg::strncmp(ext,"PAR",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.REC",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27953:105: warning: '.par' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27953 | if (!cimg::strncmp(ext,"rec",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.par",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27954:105: warning: '.PAR' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27954 | if (!cimg::strncmp(ext,"REC",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.PAR",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In member function 'cimg_library::CImgList& cimg_library::CImgList::load_parrec(const char*) [with T = float]': BUILDSTDERR: CImg.h:27951:105: warning: '.rec' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27951 | if (!cimg::strncmp(ext,"par",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.rec",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27952:105: warning: '.REC' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27952 | if (!cimg::strncmp(ext,"PAR",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.REC",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27953:105: warning: '.par' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27953 | if (!cimg::strncmp(ext,"rec",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.par",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27951:105: warning: '.rec' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27951 | if (!cimg::strncmp(ext,"par",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.rec",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27952:105: warning: '.REC' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27952 | if (!cimg::strncmp(ext,"PAR",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.REC",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27953:105: warning: '.par' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27953 | if (!cimg::strncmp(ext,"rec",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.par",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27954:105: warning: '.PAR' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27954 | if (!cimg::strncmp(ext,"REC",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.PAR",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h: In member function 'cimg_library::CImgList& cimg_library::CImgList::load_parrec(const char*) [with T = short unsigned int]': BUILDSTDERR: CImg.h:27951:105: warning: '.rec' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27951 | if (!cimg::strncmp(ext,"par",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.rec",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27952:105: warning: '.REC' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27952 | if (!cimg::strncmp(ext,"PAR",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.REC",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27953:105: warning: '.par' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27953 | if (!cimg::strncmp(ext,"rec",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.par",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27951:105: warning: '.rec' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27951 | if (!cimg::strncmp(ext,"par",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.rec",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27952:105: warning: '.REC' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27952 | if (!cimg::strncmp(ext,"PAR",3)) { std::strcpy(filenamepar,filename); std::sprintf(filenamerec,"%s.REC",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27953:105: warning: '.par' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27953 | if (!cimg::strncmp(ext,"rec",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.par",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from greycstoration.cpp:70: BUILDSTDERR: CImg.h:27954:105: warning: '.PAR' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 27954 | if (!cimg::strncmp(ext,"REC",3)) { std::strcpy(filenamerec,filename); std::sprintf(filenamepar,"%s.PAR",body); } BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/cstdio:42, BUILDSTDERR: from CImg.h:67, BUILDSTDERR: from greycstoration.cpp:70: BUILDSTDERR: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + cat + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 make: Entering directory '/builddir/build/BUILD/GREYCstoration-2.8/src' ** Compiling 'greycstoration (1.28)' with 'Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,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-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 --with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d --build=riscv64-redhat-linux gcc version 9.2.1 20190827 (Red Hat 9.2.1-1) (GCC) ' ** Compiling 'greycstoration4integration (1.28)' with 'Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,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-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 --with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d --build=riscv64-redhat-linux gcc version 9.2.1 20190827 (Red Hat 9.2.1-1) (GCC) ' ** Compiling 'greycstoration4gimp (1.28)' with 'Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,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-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 --with-arch=rv64gc --with-abi=lp64d --with-multilib-list=lp64d --build=riscv64-redhat-linux gcc version 9.2.1 20190827 (Red Hat 9.2.1-1) (GCC) ' g++ -o greycstoration greycstoration.cpp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 greycstoration4integration greycstoration4integration.cpp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-tree-pre make: Leaving directory '/builddir/build/BUILD/GREYCstoration-2.8/src' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UiggEK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64 + cd GREYCstoration-2.8 + rm -rf /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/lib64/gimp/2.0/plug-ins/ + mkdir -p /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/share/GREYCstoration + mkdir -p /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/share/icons/hicolor/96x96/apps + install -m0755 src/greycstoration /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/bin/ + install -m0755 src/greycstoration4integration /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/bin/ + install -m0755 src/greycstoration4gimp /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/lib64/gimp/2.0/plug-ins/ + install -m0755 GREYCstoration_gui.tcl /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/bin + install -m0644 /builddir/build/SOURCES/GREYCstoration.png /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/share/icons/hicolor/96x96/apps + desktop-file-install --dir /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/share/applications GREYCstoration.desktop + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.8-30.fc31 --unique-debug-suffix -2.8-30.fc31.riscv64 --unique-debug-src-base GREYCstoration-2.8-30.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/GREYCstoration-2.8 BUILDSTDERR: 3130 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/bin/greycstoration4integration explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/bin/greycstoration explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/lib64/gimp/2.0/plug-ins/greycstoration4gimp extracting debug info from /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/bin/greycstoration4integration extracting debug info from /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/bin/greycstoration extracting debug info from /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/lib64/gimp/2.0/plug-ins/greycstoration4gimp original debug info size: 13996kB, size after compression: 13172kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/GREYCstoration_gui.tcl from /bin/sh to #!/usr/bin/sh Processing files: GREYCstoration-2.8-30.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.a9yqEI + umask 022 + cd /builddir/build/BUILD + cd GREYCstoration-2.8 + DOCDIR=/builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/share/doc/GREYCstoration + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/share/doc/GREYCstoration + cp -pr README.txt /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/share/doc/GREYCstoration + cp -pr Licence_CeCILL_V2-en.txt /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64/usr/share/doc/GREYCstoration + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: GREYCstoration = 2.8-30.fc31 GREYCstoration(riscv-64) = 2.8-30.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXrandr.so.2()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(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.27)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(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-30.fc31.riscv64 Provides: GREYCstoration-gimp = 2.8-30.fc31 GREYCstoration-gimp(riscv-64) = 2.8-30.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libatk-1.0.so.0()(64bit) libbabl-0.1.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(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) libgegl-0.4.so.0()(64bit) libgegl-npd-0.4.so()(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) libgmodule-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libharfbuzz.so.0()(64bit) libjson-glib-1.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(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.27)(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-30.fc31.riscv64 Provides: GREYCstoration-gui = 2.8-30.fc31 GREYCstoration-gui(riscv-64) = 2.8-30.fc31 application() application(GREYCstoration.desktop) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh Processing files: GREYCstoration-debugsource-2.8-30.fc31.riscv64 Provides: GREYCstoration-debugsource = 2.8-30.fc31 GREYCstoration-debugsource(riscv-64) = 2.8-30.fc31 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-30.fc31.riscv64 Provides: GREYCstoration-debuginfo = 2.8-30.fc31 GREYCstoration-debuginfo(riscv-64) = 2.8-30.fc31 debuginfo(build-id) = 0b1db86916b02616ac07add5f70b6d9410b7df4b debuginfo(build-id) = 5a48419567b410032cdce9175aa8afbbc44ded44 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: GREYCstoration-debugsource(riscv-64) = 2.8-30.fc31 Processing files: GREYCstoration-gimp-debuginfo-2.8-30.fc31.riscv64 Provides: GREYCstoration-gimp-debuginfo = 2.8-30.fc31 GREYCstoration-gimp-debuginfo(riscv-64) = 2.8-30.fc31 debuginfo(build-id) = 55a7ced016b72261551e374e24b220158aa01763 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: GREYCstoration-debugsource(riscv-64) = 2.8-30.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64 Wrote: /builddir/build/RPMS/GREYCstoration-gui-2.8-30.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/GREYCstoration-gimp-2.8-30.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/GREYCstoration-2.8-30.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/GREYCstoration-debugsource-2.8-30.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/GREYCstoration-gimp-debuginfo-2.8-30.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/GREYCstoration-debuginfo-2.8-30.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GfygrJ + umask 022 + cd /builddir/build/BUILD + cd GREYCstoration-2.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/GREYCstoration-2.8-30.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0