Snippets for gmic 4.0.3 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/gmic/4.0.3/6.fc45/data/logs/i686/build.log.
-
CImg.h:46832:33: warning: variable ‘nyi’ set but not used [-Wunused-but-set-variable=]
-
/usr/include/bits/string_fortified.h:112:34: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 112 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 113 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/bits/string_fortified.h:112:34: warning: argument 2 null where non-null expected because argument 3 is nonzero [-Wnonnull]
-
/usr/include/bits/string_fortified.h:112:34: warning: ‘strncpy’ specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=]
-
CImg.h:39884:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39884:60: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39885:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39885:61: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39886:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39889:60: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39890:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39890:62: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39891:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39891:62: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39892:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39860:40: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39860:66: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39860:14: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39845:57: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39846:20: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39846:57: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39827:87: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:39827:65: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
CImg.h:68286:9: warning: array subscript 0 is outside array bounds of ‘char[0:]’ [-Warray-bounds=]
-
CImg.h:68287:9: warning: array subscript 1 is outside array bounds of ‘char[0:]’ [-Warray-bounds=]
-
CImg.h:68286:16: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=]
-
CImg.h:68633:31: warning: argument 1 null where non-null expected [-Wnonnull]
-
CImg.h:61761:46: warning: array subscript 0 is outside array bounds of ‘long unsigned int[0:]’ [-Warray-bounds=]
-
CImg.h:66945:75: warning: argument 1 null where non-null expected because arguments 2 and 3 are nonzero [-Wnonnull]
-
/usr/include/bits/string_fortified.h:29:33: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/bits/string_fortified.h:93:33: warning: argument 1 null where non-null expected [-Wnonnull] 93 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/string.h:281:28: warning: argument 1 null where non-null expected [-Wnonnull] 281 | return __builtin_strrchr (__s, __c); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
gmic.cpp:13916:80: warning: argument 1 null where non-null expected [-Wnonnull]
-
gmic.cpp:13930:74: warning: argument 1 null where non-null expected [-Wnonnull]
-
gmic.cpp:14237:43: warning: argument 2 null where non-null expected [-Wnonnull]
-
gmic.cpp:15005:22: warning: argument 1 null where non-null expected [-Wnonnull]
-
gmic.cpp:15005:22: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull]
-
/usr/include/string.h:366:27: warning: argument 1 null where non-null expected [-Wnonnull] 366 | return __builtin_strstr (__haystack, __needle); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -
gmic.cpp:15021:24: warning: argument 2 null where non-null expected [-Wnonnull]
-
gmic.cpp:15021:24: warning: argument 2 null where non-null expected because argument 3 is nonzero [-Wnonnull]
-
/usr/include/string.h:372:27: warning: argument 1 null where non-null expected [-Wnonnull] 372 | return __builtin_strstr (__haystack, __needle); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/bits/string_fortified.h:112:34: warning: ‘__builtin_strncpy’ specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 112 | return __builtin___strncpy_chk (__dest, __src, __len, | ^ -
../src/CImg.h:68286:16: warning: array subscript 0 is outside array bounds of ‘char[0:]’ [-Warray-bounds=]
-
../src/CImg.h:68287:12: warning: array subscript 1 is outside array bounds of ‘char[0:]’ [-Warray-bounds=]
-
../src/CImg.h:46832:33: warning: variable ‘nyi’ set but not used [-Wunused-but-set-variable=]
-
../src/CImg.h:3980:55: warning: argument 1 null where non-null expected [-Wnonnull] 3980 | const unsigned int l = (unsigned int)std::strlen(command); | ~~~~~~~~~~~^~~~~~~~~ -
/usr/include/bits/string_fortified.h:29:33: warning: argument 2 null where non-null expected because argument 3 is nonzero [-Wnonnull] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/CImg.h:39884:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39884:60: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39885:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39885:61: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39886:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39889:60: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39890:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39890:62: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39891:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39891:62: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39892:22: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39860:40: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39860:66: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39860:14: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39845:57: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39846:20: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39846:57: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39827:87: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:39827:65: warning: array subscript 0 is outside array bounds of ‘float[0:]’ [-Warray-bounds=]
-
../src/CImg.h:61761:46: warning: array subscript 0 is outside array bounds of ‘long unsigned int[0:]’ [-Warray-bounds=]
-
../src/CImg.h:5393:30: warning: argument 1 null where non-null expected [-Wnonnull] 5393 | l2 = (int)std::strlen(str2); | ~~~~~~~~~~~^~~~~~ -
../src/CImg.h:10978:24: warning: ‘operator delete[](void*)’ called on a pointer to an unallocated object ‘8B’ [-Wfree-nonheap-object]
-
../src/gmic.cpp:3662:48: warning: argument 1 null where non-null expected [-Wnonnull] 3662 | char *linee = s_line.data() + std::strlen(s_line) - 1; | ~~~~~~~~~~~^~~~~~~~ -
/usr/include/bits/string_fortified.h:93:33: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 93 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/gmic.cpp:3692:37: warning: argument 1 null where non-null expected [-Wnonnull] 3692 | if (is_main_ && !std::strcmp(s_name,"_main_")) *is_main_ = true; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
../src/gmic.cpp:2551:22: warning: argument 2 null where non-null expected [-Wnonnull] 2551 | err = std::strcmp(list[pos],str); | ~~~~~~~~~~~^~~~~~~~~~~~~~~ -
../src/gmic.cpp:3652:44: warning: array subscript -1 is outside array bounds of ‘char[2147483647]’ [-Warray-bounds=] 3652 | if (_line<line_end) *_line = 0; else *(line_end - 1) = 0; | ^~~~~~~~~~~~~~~ -
../src/gmic.cpp:3679:7: warning: array subscript 0 is outside array bounds of ‘char[0:]’ [-Warray-bounds=] 3679 | *ns_name = sep = 0; | ^~~~~~~~ -
../src/CImg.h:68286:9: warning: array subscript 0 is outside array bounds of ‘char[0:]’ [-Warray-bounds=]
-
../src/CImg.h:68287:9: warning: array subscript 1 is outside array bounds of ‘char[0:]’ [-Warray-bounds=]
-
../src/CImg.h:68286:16: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=]
-
../src/CImg.h:56876:59: warning: argument 1 null where non-null expected [-Wnonnull]
-
/usr/include/bits/string_fortified.h:29:33: warning: ‘memcpy’ offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/CImg.h:56449:75: warning: argument 1 null where non-null expected because arguments 2 and 3 are nonzero [-Wnonnull]
-
../src/CImg.h:61426:48: warning: argument 1 null where non-null expected [-Wnonnull]
-
../src/CImg.h:61431:48: warning: argument 1 null where non-null expected [-Wnonnull]
-
/usr/include/bits/string_fortified.h:112:34: warning: ‘strncpy’ specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=] 112 | return __builtin___strncpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 113 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -
../src/CImg.h:68633:31: warning: argument 1 null where non-null expected [-Wnonnull]
-
../src/CImg.h:66113:75: warning: argument 1 null where non-null expected because arguments 2 and 3 are nonzero [-Wnonnull]
-
../src/CImg.h:66945:75: warning: argument 1 null where non-null expected because arguments 2 and 3 are nonzero [-Wnonnull]
-
../src/gmic.cpp:13916:80: warning: argument 1 null where non-null expected [-Wnonnull]
-
../src/gmic.cpp:13930:74: warning: argument 1 null where non-null expected [-Wnonnull]
-
../src/gmic.cpp:14237:43: warning: argument 2 null where non-null expected [-Wnonnull]
-
../src/gmic.cpp:15005:22: warning: argument 1 null where non-null expected [-Wnonnull]
-
../src/gmic.cpp:15005:22: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull]
-
../src/gmic.cpp:15021:24: warning: argument 2 null where non-null expected [-Wnonnull]
-
../src/gmic.cpp:15021:24: warning: argument 2 null where non-null expected because argument 3 is nonzero [-Wnonnull]
-
../src/CImg.h:54430:55: warning: argument 1 null where non-null expected [-Wnonnull]
-
../src/CImg.h:54441:53: warning: argument 1 null where non-null expected [-Wnonnull]
-
../src/CImg.h:4111:18: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 4111 | *ptr = (unsigned short)((val>>8) | ((val<<8))); | ^ -
../src/CImg.h:4117:18: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 4117 | *ptr = (val>>24) | ((val>>8)&0xff00) | ((val<<8)&0xff0000) | (val<<24); | ^ -
/usr/include/bits/string_fortified.h:29:33: warning: ‘__builtin_memcpy’ writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^