<86>Dec 14 09:34:58 userdel[4101352]: delete user 'rooter' <86>Dec 14 09:34:58 userdel[4101352]: removed group 'rooter' owned by 'rooter' <86>Dec 14 09:34:58 userdel[4101352]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 14 09:34:58 groupadd[4101367]: group added to /etc/group: name=rooter, GID=1805 <86>Dec 14 09:34:58 groupadd[4101367]: group added to /etc/gshadow: name=rooter <86>Dec 14 09:34:58 groupadd[4101367]: new group: name=rooter, GID=1805 <86>Dec 14 09:34:58 useradd[4101378]: new user: name=rooter, UID=1805, GID=1805, home=/root, shell=/bin/bash, from=none <86>Dec 14 09:34:58 userdel[4101396]: delete user 'builder' <86>Dec 14 09:34:58 userdel[4101396]: removed group 'builder' owned by 'builder' <86>Dec 14 09:34:58 userdel[4101396]: removed shadow group 'builder' owned by 'builder' <86>Dec 14 09:34:58 groupadd[4101409]: group added to /etc/group: name=builder, GID=1806 <86>Dec 14 09:34:58 groupadd[4101409]: group added to /etc/gshadow: name=builder <86>Dec 14 09:34:58 groupadd[4101409]: new group: name=builder, GID=1806 <86>Dec 14 09:34:58 useradd[4101419]: new user: name=builder, UID=1806, GID=1806, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/CImg-3.3.6-alt1.src.rpm: license not found in '/usr/share/license' directory: CECILL <13>Dec 14 09:35:02 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 14 09:35:02 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Dec 14 09:35:03 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Dec 14 09:35:03 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139881 installed <13>Dec 14 09:35:03 rpmi: libstdc++-devel-14-alt1 sisyphus+360995.300.1.1 1730139222 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/CImg-3.3.6-alt1.nosrc.rpm (w1.gzdio) Installing CImg-3.3.6-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.2283 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf CImg-3.3.6 + echo 'Source #0 (CImg-3.3.6.tar):' Source #0 (CImg-3.3.6.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/CImg-3.3.6.tar + cd CImg-3.3.6 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.2283 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/CImg-buildroot + : + /bin/rm -rf -- /usr/src/tmp/CImg-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd CImg-3.3.6 + install -Dpm644 CImg.h -t /usr/src/tmp/CImg-buildroot/usr/include + install -Dpm644 plugins/add_fileformat.h plugins/bayer.h plugins/chlpca.h plugins/cvMat.h plugins/draw_gradient.h plugins/inpaint.h plugins/ipl.h plugins/ipl_alt.h plugins/jpeg_buffer.h plugins/loop_macros.h plugins/matlab.h plugins/nlmeans.h plugins/skeleton.h plugins/tiff_stream.h plugins/tinymatwriter.h plugins/vrml.h plugins/vtk.h -t /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins + install -Dpm644 resources/CImg.pc -t /usr/src/tmp/CImg-buildroot/usr/share/pkgconfig + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/CImg-buildroot (auto) Verifying and fixing files in /usr/src/tmp/CImg-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/CImg-buildroot/ (default) Compressing files in /usr/src/tmp/CImg-buildroot (auto) Verifying ELF objects in /usr/src/tmp/CImg-buildroot (arch=strict,fhs=strict,lfs=strict,lint=strict,rpath=strict,stack=strict,textrel=strict,unresolved=strict) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/CImg-buildroot Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.83363 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd CImg-3.3.6 + make -j16 -Cexamples mlinux grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'generate_loop_macros (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o generate_loop_macros generate_loop_macros.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm strip generate_loop_macros make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'gaussian_fit1d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o gaussian_fit1d gaussian_fit1d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm gaussian_fit1d.cpp: In function 'int main(int, char**)': gaussian_fit1d.cpp:85:18: warning: possibly dangling reference to a temporary [-Wdangling-reference] 85 | const float& vmax = samples.get_shared_row(1).max(); | ^~~~ gaussian_fit1d.cpp:85:54: note: the temporary was destroyed at the end of the full expression 'cimg_library::CImg::get_shared_row(unsigned int, unsigned int, unsigned int) [with T = float](1, 0, 0).cimg_library::CImg<>::max()' 85 | const float& vmax = samples.get_shared_row(1).max(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ strip gaussian_fit1d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'edge_explorer2d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o edge_explorer2d edge_explorer2d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm strip edge_explorer2d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'mcf_levelsets2d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o mcf_levelsets2d mcf_levelsets2d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from mcf_levelsets2d.cpp:45: ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ strip mcf_levelsets2d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'odykill (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o odykill odykill.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm strip odykill make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'hough_transform2d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o hough_transform2d hough_transform2d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from hough_transform2d.cpp:44: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ strip hough_transform2d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'jawbreaker (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o jawbreaker jawbreaker.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm strip jawbreaker make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'fade_images (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o fade_images fade_images.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from fade_images.cpp:44: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::_save_inr(FILE*, const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61356:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61163:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]': ../CImg.h:61165:48: warning: argument 1 null where non-null expected [-Wnonnull] 61165 | cimg_snprintf(iname._data + std::strlen(iname) - 3,4,"img"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61168:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]': ../CImg.h:61170:48: warning: argument 1 null where non-null expected [-Wnonnull] 61170 | cimg_snprintf(hname._data + std::strlen(iname) - 3,4,"hdr"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::_save_pandore(FILE*, const char*, unsigned int) const [with T = unsigned char]': ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = unsigned char]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ ../CImg.h: In function 'const cimg_library::CImgList& cimg_library::CImgList::save_ffmpeg_external(const char*, unsigned int, const char*, unsigned int) const [with T = unsigned char]': ../CImg.h:66935:59: warning: '%s' directive argument is null [-Wformat-truncation=] 66935 | cimg_snprintf(filename_tmp2,filename_tmp2._width,"%s_000001.ppm",filename_tmp._data); | ^~ ../CImg.h:66942:61: warning: '%s' directive argument is null [-Wformat-truncation=] 66942 | cimg_snprintf(filename_tmp2,filename_tmp2._width,"%s_%.6u.ppm",filename_tmp._data,frame); | ^~ strip fade_images make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'captcha (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o captcha captcha.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from captcha.cpp:47: ../CImg.h: In function 'int cimg_library::cimg::system(const char*, const char*, bool)': ../CImg.h:5798:55: warning: argument 1 null where non-null expected [-Wnonnull] 5798 | const unsigned int l = (unsigned int)std::strlen(command); | ~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/c++/14/cstring:43, from ../CImg.h:76: /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In file included from /usr/include/string.h:548: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'int cimg_library::cimg::system(const char*, const char*, bool)' at ../CImg.h:5801:20: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin___memcpy_chk(void*, const void*, unsigned int, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::_save_pandore(FILE*, const char*, unsigned int) const [with T = unsigned char]': ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::_save_inr(FILE*, const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61356:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61163:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]': ../CImg.h:61165:48: warning: argument 1 null where non-null expected [-Wnonnull] 61165 | cimg_snprintf(iname._data + std::strlen(iname) - 3,4,"img"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61168:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]': ../CImg.h:61170:48: warning: argument 1 null where non-null expected [-Wnonnull] 61170 | cimg_snprintf(hname._data + std::strlen(iname) - 3,4,"hdr"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ strip captcha make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'curve_editor2d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o curve_editor2d curve_editor2d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from curve_editor2d.cpp:46: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = float]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ strip curve_editor2d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'mcf_levelsets3d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o mcf_levelsets3d mcf_levelsets3d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from mcf_levelsets3d.cpp:45: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = float]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ strip mcf_levelsets3d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'dtmri_view3d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o dtmri_view3d dtmri_view3d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from dtmri_view3d.cpp:44: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::SVD(cimg_library::CImg&, cimg_library::CImg&, cimg_library::CImg&, bool, unsigned int, float) const [with t = float; T = float]' at ../CImg.h:32321:24: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::SVD(cimg_library::CImg&, cimg_library::CImg&, cimg_library::CImg&, bool, unsigned int, float) const [with t = float; T = float]' at ../CImg.h:32325:24: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = float]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::symmetric_eigen(cimg_library::CImg&, cimg_library::CImg&) const [with t = float; T = float]' at ../CImg.h:31959:20: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' strip dtmri_view3d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'image2ascii (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o image2ascii image2ascii.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from image2ascii.cpp:47: ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ strip image2ascii make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'image_surface3d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o image_surface3d image_surface3d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from image_surface3d.cpp:44: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = float]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ strip image_surface3d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'pde_heatflow2d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o pde_heatflow2d pde_heatflow2d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from pde_heatflow2d.cpp:45: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = float]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ strip pde_heatflow2d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'tetris (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o tetris tetris.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm strip tetris make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'radon_transform2d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o radon_transform2d radon_transform2d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from radon_transform2d.cpp:44: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = unsigned char]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'int cimg_library::cimg::strcasecmp(const char*, const char*)', inlined from 'cimg_library::CImgList& cimg_library::CImgList::_load_cimg(FILE*, const char*) [with T = unsigned char]' at ../CImg.h:65061:7: ../CImg.h:7015:30: warning: argument 1 null where non-null expected [-Wnonnull] 7015 | l2 = (int)std::strlen(str2); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h: In function 'cimg_library::CImgList& cimg_library::CImgList::_load_cimg(FILE*, const char*) [with T = unsigned char]': /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ strip radon_transform2d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'image_registration2d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o image_registration2d image_registration2d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from image_registration2d.cpp:45: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::_save_inr(FILE*, const char*, const float*) const [with T = float]' at ../CImg.h:61356:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::_save_inr(FILE*, const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61356:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61163:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]': ../CImg.h:61165:48: warning: argument 1 null where non-null expected [-Wnonnull] 61165 | cimg_snprintf(iname._data + std::strlen(iname) - 3,4,"img"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61168:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]': ../CImg.h:61170:48: warning: argument 1 null where non-null expected [-Wnonnull] 61170 | cimg_snprintf(hname._data + std::strlen(iname) - 3,4,"hdr"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61163:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]': ../CImg.h:61165:48: warning: argument 1 null where non-null expected [-Wnonnull] 61165 | cimg_snprintf(iname._data + std::strlen(iname) - 3,4,"img"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61168:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]': ../CImg.h:61170:48: warning: argument 1 null where non-null expected [-Wnonnull] 61170 | cimg_snprintf(hname._data + std::strlen(iname) - 3,4,"hdr"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned char]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::_save_pandore(FILE*, const char*, unsigned int) const [with T = unsigned char]': ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61547:7: note: in expansion of macro '_cimg_save_pandore_case' 61547 | _cimg_save_pandore_case(1,1,1,"uint8",2); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61558:7: note: in expansion of macro '_cimg_save_pandore_case' 61558 | _cimg_save_pandore_case(0,1,1,"uint8",5); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61580:7: note: in expansion of macro '_cimg_save_pandore_case' 61580 | _cimg_save_pandore_case(0,1,3,"uint8",16); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61602:7: note: in expansion of macro '_cimg_save_pandore_case' 61602 | _cimg_save_pandore_case(1,1,0,"uint8",22); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61624:7: note: in expansion of macro '_cimg_save_pandore_case' 61624 | _cimg_save_pandore_case(0,0,0,"uint8",30); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61613:7: note: in expansion of macro '_cimg_save_pandore_case' 61613 | _cimg_save_pandore_case(0,1,0,"uint8",26); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61591:7: note: in expansion of macro '_cimg_save_pandore_case' 61591 | _cimg_save_pandore_case(0,0,3,"uint8",19); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61569:7: note: in expansion of macro '_cimg_save_pandore_case' 61569 | _cimg_save_pandore_case(0,0,1,"uint8",8); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::_save_pandore(FILE*, const char*, unsigned int) const [with T = float]': ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = float]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ ../CImg.h: In function 'const cimg_library::CImgList& cimg_library::CImgList::save_ffmpeg_external(const char*, unsigned int, const char*, unsigned int) const [with T = float]': ../CImg.h:66935:59: warning: '%s' directive argument is null [-Wformat-truncation=] 66935 | cimg_snprintf(filename_tmp2,filename_tmp2._width,"%s_000001.ppm",filename_tmp._data); | ^~ ../CImg.h:66942:61: warning: '%s' directive argument is null [-Wformat-truncation=] 66942 | cimg_snprintf(filename_tmp2,filename_tmp2._width,"%s_%.6u.ppm",filename_tmp._data,frame); | ^~ ../CImg.h: In function 'const cimg_library::CImgList& cimg_library::CImgList::save_ffmpeg_external(const char*, unsigned int, const char*, unsigned int) const [with T = unsigned char]': ../CImg.h:66935:59: warning: '%s' directive argument is null [-Wformat-truncation=] 66935 | cimg_snprintf(filename_tmp2,filename_tmp2._width,"%s_000001.ppm",filename_tmp._data); | ^~ ../CImg.h:66942:61: warning: '%s' directive argument is null [-Wformat-truncation=] 66942 | cimg_snprintf(filename_tmp2,filename_tmp2._width,"%s_%.6u.ppm",filename_tmp._data,frame); | ^~ strip image_registration2d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'CImg_demo (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o CImg_demo CImg_demo.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from CImg_demo.cpp:48: ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ strip CImg_demo make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'spherical_function3d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o spherical_function3d spherical_function3d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm strip spherical_function3d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'pde_TschumperleDeriche2d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o pde_TschumperleDeriche2d pde_TschumperleDeriche2d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from pde_TschumperleDeriche2d.cpp:55: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::_save_inr(FILE*, const char*, const float*) const [with T = float]' at ../CImg.h:61356:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61163:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]': ../CImg.h:61165:48: warning: argument 1 null where non-null expected [-Wnonnull] 61165 | cimg_snprintf(iname._data + std::strlen(iname) - 3,4,"img"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61168:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]': ../CImg.h:61170:48: warning: argument 1 null where non-null expected [-Wnonnull] 61170 | cimg_snprintf(hname._data + std::strlen(iname) - 3,4,"hdr"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::_save_pandore(FILE*, const char*, unsigned int) const [with T = float]': ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = unsigned char]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = float]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::SVD(cimg_library::CImg&, cimg_library::CImg&, cimg_library::CImg&, bool, unsigned int, float) const [with t = float; T = float]' at ../CImg.h:32321:24: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::SVD(cimg_library::CImg&, cimg_library::CImg&, cimg_library::CImg&, bool, unsigned int, float) const [with t = float; T = float]' at ../CImg.h:32325:24: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::symmetric_eigen(cimg_library::CImg&, cimg_library::CImg&) const [with t = float; T = float]' at ../CImg.h:31959:20: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImgList& cimg_library::CImgList::save_ffmpeg_external(const char*, unsigned int, const char*, unsigned int) const [with T = float]': ../CImg.h:66935:59: warning: '%s' directive argument is null [-Wformat-truncation=] 66935 | cimg_snprintf(filename_tmp2,filename_tmp2._width,"%s_000001.ppm",filename_tmp._data); | ^~ ../CImg.h:66942:61: warning: '%s' directive argument is null [-Wformat-truncation=] 66942 | cimg_snprintf(filename_tmp2,filename_tmp2._width,"%s_%.6u.ppm",filename_tmp._data,frame); | ^~ strip pde_TschumperleDeriche2d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'scene3d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o scene3d scene3d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from scene3d.cpp:50: ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ strip scene3d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'tron (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o tron tron.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm strip tron make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'use_draw_gradient (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o use_draw_gradient use_draw_gradient.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from use_draw_gradient.cpp:45: ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ strip use_draw_gradient make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'tutorial (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o tutorial tutorial.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from tutorial.cpp:45: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = float]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'int cimg_library::cimg::strcasecmp(const char*, const char*)', inlined from 'cimg_library::CImgList& cimg_library::CImgList::_load_cimg(FILE*, const char*) [with T = float]' at ../CImg.h:65061:7: ../CImg.h:7015:30: warning: argument 1 null where non-null expected [-Wnonnull] 7015 | l2 = (int)std::strlen(str2); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h: In function 'cimg_library::CImgList& cimg_library::CImgList::_load_cimg(FILE*, const char*) [with T = float]': /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ strip tutorial make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'wavelet_atrous (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o wavelet_atrous wavelet_atrous.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from wavelet_atrous.cpp:56: ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::_save_inr(FILE*, const char*, const float*) const [with T = float]' at ../CImg.h:61356:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61163:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]': ../CImg.h:61165:48: warning: argument 1 null where non-null expected [-Wnonnull] 61165 | cimg_snprintf(iname._data + std::strlen(iname) - 3,4,"img"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61168:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]': ../CImg.h:61170:48: warning: argument 1 null where non-null expected [-Wnonnull] 61170 | cimg_snprintf(hname._data + std::strlen(iname) - 3,4,"hdr"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::_save_pandore(FILE*, const char*, unsigned int) const [with T = float]': ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero strip wavelet_atrous make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space ** Compiling 'use_RGBclass (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o use_RGBclass use_RGBclass.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from use_RGBclass.cpp:49: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = float]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = short int]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ strip use_RGBclass make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'use_nlmeans (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o use_nlmeans use_nlmeans.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from use_nlmeans.cpp:51: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61163:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]': ../CImg.h:61165:48: warning: argument 1 null where non-null expected [-Wnonnull] 61165 | cimg_snprintf(iname._data + std::strlen(iname) - 3,4,"img"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61168:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]': ../CImg.h:61170:48: warning: argument 1 null where non-null expected [-Wnonnull] 61170 | cimg_snprintf(hname._data + std::strlen(iname) - 3,4,"hdr"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::_save_pandore(FILE*, const char*, unsigned int) const [with T = float]': ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::_save_inr(FILE*, const char*, const float*) const [with T = float]' at ../CImg.h:61356:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = float]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'int cimg_library::cimg::strcasecmp(const char*, const char*)', inlined from 'cimg_library::CImgList& cimg_library::CImgList::_load_cimg(FILE*, const char*) [with T = float]' at ../CImg.h:65061:7: ../CImg.h:7015:30: warning: argument 1 null where non-null expected [-Wnonnull] 7015 | l2 = (int)std::strlen(str2); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h: In function 'cimg_library::CImgList& cimg_library::CImgList::_load_cimg(FILE*, const char*) [with T = float]': /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ strip use_nlmeans make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'use_chlpca (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o use_chlpca use_chlpca.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from use_chlpca.cpp:46: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::SVD(cimg_library::CImg&, cimg_library::CImg&, cimg_library::CImg&, bool, unsigned int, float) const [with t = float; T = float]' at ../CImg.h:32321:24: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::SVD(cimg_library::CImg&, cimg_library::CImg&, cimg_library::CImg&, bool, unsigned int, float) const [with t = float; T = float]' at ../CImg.h:32325:24: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::SVD(cimg_library::CImg&, cimg_library::CImg&, cimg_library::CImg&, bool, unsigned int, float) const [with t = float; T = float]' at ../CImg.h:32321:24: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::SVD(cimg_library::CImg&, cimg_library::CImg&, cimg_library::CImg&, bool, unsigned int, float) const [with t = float; T = float]' at ../CImg.h:32325:24: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::_save_inr(FILE*, const char*, const float*) const [with T = float]' at ../CImg.h:61356:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61163:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]': ../CImg.h:61165:48: warning: argument 1 null where non-null expected [-Wnonnull] 61165 | cimg_snprintf(iname._data + std::strlen(iname) - 3,4,"img"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61168:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]': ../CImg.h:61170:48: warning: argument 1 null where non-null expected [-Wnonnull] 61170 | cimg_snprintf(hname._data + std::strlen(iname) - 3,4,"hdr"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = float]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::_save_pandore(FILE*, const char*, unsigned int) const [with T = float]': ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61555:7: note: in expansion of macro '_cimg_save_pandore_case' 61555 | _cimg_save_pandore_case(1,1,1,"float32",4); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61566:7: note: in expansion of macro '_cimg_save_pandore_case' 61566 | _cimg_save_pandore_case(0,1,1,"float32",7); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61588:7: note: in expansion of macro '_cimg_save_pandore_case' 61588 | _cimg_save_pandore_case(0,1,3,"float32",18); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61610:7: note: in expansion of macro '_cimg_save_pandore_case' 61610 | _cimg_save_pandore_case(1,1,0,"float32",25); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61632:7: note: in expansion of macro '_cimg_save_pandore_case' 61632 | _cimg_save_pandore_case(0,0,0,"float32",33); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61621:7: note: in expansion of macro '_cimg_save_pandore_case' 61621 | _cimg_save_pandore_case(0,1,0,"float32",29); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61599:7: note: in expansion of macro '_cimg_save_pandore_case' 61599 | _cimg_save_pandore_case(0,0,3,"float32",21); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61577:7: note: in expansion of macro '_cimg_save_pandore_case' 61577 | _cimg_save_pandore_case(0,0,1,"float32",10); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = float]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::symmetric_eigen(cimg_library::CImg&, cimg_library::CImg&) const [with t = float; T = float]' at ../CImg.h:31959:20: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImgList& cimg_library::CImgList::save_ffmpeg_external(const char*, unsigned int, const char*, unsigned int) const [with T = float]': ../CImg.h:66935:59: warning: '%s' directive argument is null [-Wformat-truncation=] 66935 | cimg_snprintf(filename_tmp2,filename_tmp2._width,"%s_000001.ppm",filename_tmp._data); | ^~ ../CImg.h:66942:61: warning: '%s' directive argument is null [-Wformat-truncation=] 66942 | cimg_snprintf(filename_tmp2,filename_tmp2._width,"%s_%.6u.ppm",filename_tmp._data,frame); | ^~ strip use_chlpca make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'use_skeleton (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o use_skeleton use_skeleton.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76, from use_skeleton.cpp:46: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' /usr/include/bits/string_fortified.h:95:34: warning: argument 2 null where non-null expected [-Wnonnull] /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const char* cimg_library::cimg::temporary_path(const char*, bool)': ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67953:22: note: in expansion of macro '_cimg_test_temporary_path' 67953 | if (tmpPath) _cimg_test_temporary_path(tmpPath); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67964:9: note: in expansion of macro '_cimg_test_temporary_path' 67964 | _cimg_test_temporary_path("/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ ../CImg.h:67936:38: warning: '%s' directive argument is null [-Wformat-truncation=] 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~~~~~~~ ../CImg.h:67965:9: note: in expansion of macro '_cimg_test_temporary_path' 67965 | _cimg_test_temporary_path("/var/tmp"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:67936:43: note: format string is defined here 67936 | cimg_snprintf(tmp,tmp._width,"%s%c%s",s_path.data(),cimg_file_separator,filename_tmp._data); \ | ^~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const char* cimg_library::cimg::temporary_path(const char*, bool)' at ../CImg.h:67969:23: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned int]' at ../CImg.h:61163:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned int]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned int]': ../CImg.h:61165:48: warning: argument 1 null where non-null expected [-Wnonnull] 61165 | cimg_snprintf(iname._data + std::strlen(iname) - 3,4,"img"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strcpy(char*, const char*)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned int]' at ../CImg.h:61168:20: /usr/include/bits/string_fortified.h:79:33: warning: argument 1 null where non-null expected [-Wnonnull] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:79:33: note: in a call to built-in function 'char* __builtin_strcpy(char*, const char*)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned int]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned int]': ../CImg.h:61170:48: warning: argument 1 null where non-null expected [-Wnonnull] 61170 | cimg_snprintf(hname._data + std::strlen(iname) - 3,4,"hdr"); | ~~~~~~~~~~~^~~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned int]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: argument 1 null where non-null expected [-Wnonnull] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:34: note: in a call to built-in function 'char* __builtin_strncpy(char*, const char*, unsigned int)' In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned int]' at ../CImg.h:61164:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned int]' at ../CImg.h:61169:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'char* strncpy(char*, const char*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::save_analyze(const char*, const float*) const [with T = unsigned int]' at ../CImg.h:61173:21: /usr/include/bits/string_fortified.h:95:34: warning: 'char* __builtin_strncpy(char*, const char*, unsigned int)' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'const cimg_library::CImg& cimg_library::CImg::_save_pandore(FILE*, const char*, unsigned int) const [with T = unsigned int]': ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61551:7: note: in expansion of macro '_cimg_save_pandore_case' 61551 | _cimg_save_pandore_case(1,1,1,"uint32",3); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61551:7: note: in expansion of macro '_cimg_save_pandore_case' 61551 | _cimg_save_pandore_case(1,1,1,"uint32",3); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61551:7: note: in expansion of macro '_cimg_save_pandore_case' 61551 | _cimg_save_pandore_case(1,1,1,"uint32",3); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61551:7: note: in expansion of macro '_cimg_save_pandore_case' 61551 | _cimg_save_pandore_case(1,1,1,"uint32",3); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61562:7: note: in expansion of macro '_cimg_save_pandore_case' 61562 | _cimg_save_pandore_case(0,1,1,"uint32",6); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61562:7: note: in expansion of macro '_cimg_save_pandore_case' 61562 | _cimg_save_pandore_case(0,1,1,"uint32",6); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61562:7: note: in expansion of macro '_cimg_save_pandore_case' 61562 | _cimg_save_pandore_case(0,1,1,"uint32",6); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61562:7: note: in expansion of macro '_cimg_save_pandore_case' 61562 | _cimg_save_pandore_case(0,1,1,"uint32",6); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61584:7: note: in expansion of macro '_cimg_save_pandore_case' 61584 | _cimg_save_pandore_case(0,1,3,"uint32",17); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61584:7: note: in expansion of macro '_cimg_save_pandore_case' 61584 | _cimg_save_pandore_case(0,1,3,"uint32",17); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61584:7: note: in expansion of macro '_cimg_save_pandore_case' 61584 | _cimg_save_pandore_case(0,1,3,"uint32",17); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61584:7: note: in expansion of macro '_cimg_save_pandore_case' 61584 | _cimg_save_pandore_case(0,1,3,"uint32",17); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61606:7: note: in expansion of macro '_cimg_save_pandore_case' 61606 | _cimg_save_pandore_case(1,1,0,"uint32",23); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61606:7: note: in expansion of macro '_cimg_save_pandore_case' 61606 | _cimg_save_pandore_case(1,1,0,"uint32",23); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61606:7: note: in expansion of macro '_cimg_save_pandore_case' 61606 | _cimg_save_pandore_case(1,1,0,"uint32",23); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61606:7: note: in expansion of macro '_cimg_save_pandore_case' 61606 | _cimg_save_pandore_case(1,1,0,"uint32",23); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61628:7: note: in expansion of macro '_cimg_save_pandore_case' 61628 | _cimg_save_pandore_case(0,0,0,"uint32",31); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61628:7: note: in expansion of macro '_cimg_save_pandore_case' 61628 | _cimg_save_pandore_case(0,0,0,"uint32",31); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61628:7: note: in expansion of macro '_cimg_save_pandore_case' 61628 | _cimg_save_pandore_case(0,0,0,"uint32",31); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61628:7: note: in expansion of macro '_cimg_save_pandore_case' 61628 | _cimg_save_pandore_case(0,0,0,"uint32",31); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61617:7: note: in expansion of macro '_cimg_save_pandore_case' 61617 | _cimg_save_pandore_case(0,1,0,"uint32",27); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61617:7: note: in expansion of macro '_cimg_save_pandore_case' 61617 | _cimg_save_pandore_case(0,1,0,"uint32",27); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61617:7: note: in expansion of macro '_cimg_save_pandore_case' 61617 | _cimg_save_pandore_case(0,1,0,"uint32",27); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61617:7: note: in expansion of macro '_cimg_save_pandore_case' 61617 | _cimg_save_pandore_case(0,1,0,"uint32",27); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61595:7: note: in expansion of macro '_cimg_save_pandore_case' 61595 | _cimg_save_pandore_case(0,0,3,"uint32",20); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61595:7: note: in expansion of macro '_cimg_save_pandore_case' 61595 | _cimg_save_pandore_case(0,0,3,"uint32",20); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61595:7: note: in expansion of macro '_cimg_save_pandore_case' 61595 | _cimg_save_pandore_case(0,0,3,"uint32",20); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61595:7: note: in expansion of macro '_cimg_save_pandore_case' 61595 | _cimg_save_pandore_case(0,0,3,"uint32",20); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61573:7: note: in expansion of macro '_cimg_save_pandore_case' 61573 | _cimg_save_pandore_case(0,0,1,"uint32",9); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61573:7: note: in expansion of macro '_cimg_save_pandore_case' 61573 | _cimg_save_pandore_case(0,0,1,"uint32",9); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61573:7: note: in expansion of macro '_cimg_save_pandore_case' 61573 | _cimg_save_pandore_case(0,0,1,"uint32",9); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero ../CImg.h:61502:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=] 61502 | for (int d = 0; d<5; ++d) ndims[d] = (unsigned long)dims[d]; \ | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h:61573:7: note: in expansion of macro '_cimg_save_pandore_case' 61573 | _cimg_save_pandore_case(0,0,1,"uint32",9); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: source object is likely at address zero In function 'void* memcpy(void*, const void*, size_t)', inlined from 'const cimg_library::CImg& cimg_library::CImg::_save_inr(FILE*, const char*, const float*) const [with T = unsigned int]' at ../CImg.h:61356:18: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../CImg.h: In function 'cimg_library::CImg& cimg_library::CImg::_load_analyze(FILE*, const char*, float*) [with T = unsigned int]': ../CImg.h:56980:59: warning: argument 1 null where non-null expected [-Wnonnull] 56980 | const unsigned int len = (unsigned int)std::strlen(body); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ In function 'int cimg_library::cimg::strcasecmp(const char*, const char*)', inlined from 'cimg_library::CImgList& cimg_library::CImgList::_load_cimg(FILE*, const char*) [with T = unsigned int]' at ../CImg.h:65061:7: ../CImg.h:7015:30: warning: argument 1 null where non-null expected [-Wnonnull] 7015 | l2 = (int)std::strlen(str2); | ~~~~~~~~~~~^~~~~~ /usr/include/string.h: In function 'cimg_library::CImgList& cimg_library::CImgList::_load_cimg(FILE*, const char*) [with T = unsigned int]': /usr/include/string.h:407:15: note: in a call to function 'size_t strlen(const char*)' declared 'nonnull' 407 | extern size_t strlen (const char *__s) | ^~~~~~ strip use_skeleton make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' make[1]: Entering directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' grep: warning: stray \ before white space grep: warning: stray \ before white space grep: warning: stray \ before white space ** Compiling 'plotter1d (3.3.6)' with 'gcc version 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1) (GCC) ' g++ -o plotter1d plotter1d.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -std=c++11 -pedantic -Dcimg_display=0 -Ofast -mtune=generic -lm In file included from plotter1d.cpp:45: ../CImg.h: In member function 'cimg_library::CImg::type> cimg_library::CImg::_cimg_math_parser::s_calling_function() const [with T = float]': ../CImg.h:23797:75: warning: '%s' directive output between 2147483603 and 2147483645 bytes may cause result to exceed 'INT_MAX' [-Wformat-truncation=] 23797 | cimg_snprintf(res,res._width,"%s(): When substituting function '%s()'",calling_function,user_macro); | ^~ In file included from /usr/include/string.h:548, from /usr/include/c++/14/cstring:43, from ../CImg.h:76: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'cimg_library::CImg& cimg_library::CImg::shift(int, int, int, int, unsigned int) [with T = double]' at ../CImg.h:37750:26, inlined from 'cimg_library::CImg cimg_library::CImg::get_shift(int, int, int, int, unsigned int) const [with T = double]' at ../CImg.h:37938:28, inlined from 'static double cimg_library::CImg::_cimg_math_parser::mp_shift(cimg_library::CImg::_cimg_math_parser&) [with T = float]' at ../CImg.h:28294:55: /usr/include/bits/string_fortified.h:29:33: warning: argument 1 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' In function 'void* memcpy(void*, const void*, size_t)', inlined from 'cimg_library::CImg& cimg_library::CImg::shift(int, int, int, int, unsigned int) [with T = double]' at ../CImg.h:37752:26, inlined from 'cimg_library::CImg cimg_library::CImg::get_shift(int, int, int, int, unsigned int) const [with T = double]' at ../CImg.h:37938:28, inlined from 'static double cimg_library::CImg::_cimg_math_parser::mp_shift(cimg_library::CImg::_cimg_math_parser&) [with T = float]' at ../CImg.h:28294:55: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' In function 'void* memcpy(void*, const void*, size_t)', inlined from 'cimg_library::CImg& cimg_library::CImg::shift(int, int, int, int, unsigned int) [with T = double]' at ../CImg.h:37754:26, inlined from 'cimg_library::CImg cimg_library::CImg::get_shift(int, int, int, int, unsigned int) const [with T = double]' at ../CImg.h:37938:28, inlined from 'static double cimg_library::CImg::_cimg_math_parser::mp_shift(cimg_library::CImg::_cimg_math_parser&) [with T = float]' at ../CImg.h:28294:55: /usr/include/bits/string_fortified.h:29:33: warning: argument 1 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' In function 'void* memcpy(void*, const void*, size_t)', inlined from 'cimg_library::CImg& cimg_library::CImg::shift(int, int, int, int, unsigned int) [with T = double]' at ../CImg.h:37756:26, inlined from 'cimg_library::CImg cimg_library::CImg::get_shift(int, int, int, int, unsigned int) const [with T = double]' at ../CImg.h:37938:28, inlined from 'static double cimg_library::CImg::_cimg_math_parser::mp_shift(cimg_library::CImg::_cimg_math_parser&) [with T = float]' at ../CImg.h:28294:55: /usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:29:33: note: in a call to built-in function 'void* __builtin_memcpy(void*, const void*, unsigned int)' strip plotter1d make[1]: Leaving directory '/usr/src/RPM/BUILD/CImg-3.3.6/examples' + examples/CImg_demo CImg Library 3.3.6, compiled Jun 1 2024 ( 11:04:54 ) with the following flags: > Operating System: Unix ('cimg_OS'=1) > CPU endianness: Little Endian > Verbosity mode: Console ('cimg_verbosity'=1) > Stricts warnings: No ('cimg_strict_warnings' undefined) > Support for C++11: Yes ('cimg_use_cpp11'=1) > Using VT100 messages: No ('cimg_use_vt100' undefined) > Display type: No display ('cimg_display'=0) > Using OpenMP: No ('cimg_use_openmp' undefined) > Using PNG library: No ('cimg_use_png' undefined) > Using JPEG library: No ('cimg_use_jpeg' undefined) > Using TIFF library: No ('cimg_use_tiff' undefined) > Using Magick++ library: No ('cimg_use_magick' undefined) > Using FFTW3 library: No ('cimg_use_fftw3' undefined) > Using LAPACK library: No ('cimg_use_lapack' undefined) [CImg] *** CImgArgumentException *** CImg::safe_size(): Specified size (1024,1,1,1) exceeds maximum allowed buffer size of 0 terminate called after throwing an instance of 'cimg_library::CImgArgumentException' what(): CImg::safe_size(): Specified size (1024,1,1,1) exceeds maximum allowed buffer size of 0 /usr/src/tmp/rpm-tmp.83363: line 130: 78110 Aborted examples/CImg_demo + : + exit 0 Processing files: CImg-devel-3.3.6-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.56257 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd CImg-3.3.6 + DOCDIR=/usr/src/tmp/CImg-buildroot/usr/share/doc/CImg + export DOCDIR + /bin/mkdir -p /usr/src/tmp/CImg-buildroot/usr/share/doc/CImg + cp -prL Licence_CeCILL-C_V1-en.txt Licence_CeCILL_V2-en.txt README.txt /usr/src/tmp/CImg-buildroot/usr/share/doc/CImg + chmod -R go-w /usr/src/tmp/CImg-buildroot/usr/share/doc/CImg + chmod -R a+rX /usr/src/tmp/CImg-buildroot/usr/share/doc/CImg + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AghkCg find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.driZ4P find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/CImg-buildroot/usr/include/CImg.h:73:10: fatal error: cstdio: No such file or directory 73 | #include | ^~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/CImg-buildroot/usr/include/CImg.h: cpp failed, trying c++ mode /usr/src/tmp/CImg-buildroot/usr/include/CImg.h:417:10: fatal error: X11/Xlib.h: No such file or directory 417 | #include | ^~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/CImg-buildroot/usr/include/CImg.h: cpp failed /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/matlab.h:71:2: error: #error the file mex.h must be included prior to inclusion of matlab.h 71 | #error the file mex.h must be included prior to inclusion of matlab.h | ^~~~~ /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/matlab.h:74:2: error: #error matlab.h requires that CImg.h is included! 74 | #error matlab.h requires that CImg.h is included! | ^~~~~ cpp.req: /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/matlab.h: cpp failed, trying c++ mode /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/matlab.h:71:2: error: #error the file mex.h must be included prior to inclusion of matlab.h 71 | #error the file mex.h must be included prior to inclusion of matlab.h | ^~~~~ /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/matlab.h:74:2: error: #error matlab.h requires that CImg.h is included! 74 | #error matlab.h requires that CImg.h is included! | ^~~~~ cpp.req: WARNING: /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/matlab.h: cpp failed /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/tiff_stream.h:59:2: error: #error cimg_use_tiff not defined 59 | #error cimg_use_tiff not defined | ^~~~~ /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/tiff_stream.h:65:10: fatal error: ios: No such file or directory 65 | #include | ^~~~~ compilation terminated. cpp.req: /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/tiff_stream.h: cpp failed, trying c++ mode /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/tiff_stream.h:59:2: error: #error cimg_use_tiff not defined 59 | #error cimg_use_tiff not defined | ^~~~~ cpp.req: WARNING: /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/tiff_stream.h: cpp failed /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/tinymatwriter.h:60:9: fatal error: cstdint: No such file or directory 60 | #include | ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/CImg-buildroot/usr/include/CImg/plugins/tinymatwriter.h: cpp failed, trying c++ mode Provides: pkgconfig(CImg) = 1.5.0 Requires: /usr/share/pkgconfig Wrote: /usr/src/RPM/RPMS/noarch/CImg-devel-3.3.6-alt1.noarch.rpm (w2.lzdio) 357.42user 20.55system 0:44.94elapsed 840%CPU (0avgtext+0avgdata 497980maxresident)k 0inputs+0outputs (0major+4901252minor)pagefaults 0swaps /.out/CImg-devel-3.3.6-alt1.noarch.rpm: license not found in '/usr/share/license' directory: CECILL 2.96user 2.66system 0:55.54elapsed 10%CPU (0avgtext+0avgdata 131580maxresident)k 0inputs+0outputs (0major+206742minor)pagefaults 0swaps