Snippets for gmic 3.7.6 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/testing/gmic/gmic-3.7.6-r0.log.
-
CImg.h:5994:55: warning: argument 1 null where non-null expected [-Wnonnull] 5994 | const unsigned int l = (unsigned int)std::strlen(command); | ~~~~~~~~~~~^~~~~~~~~ -
/usr/include/fortify/string.h:57:32: warning: argument 2 null where non-null expected because argument 3 is nonzero [-Wnonnull] 57 | return __builtin_memcpy(__od, __os, __n); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
/usr/include/fortify/string.h:161:30: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 161 | return __orig_strncpy(__d, __s, __n); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
/usr/include/fortify/string.h:161:30: warning: argument 2 null where non-null expected because argument 3 is nonzero [-Wnonnull] 161 | return __orig_strncpy(__d, __s, __n); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -
CImg.h:41743:22: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41743:60: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41744:22: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41744:61: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41745:22: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41748:60: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41749:22: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41749:62: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41750:22: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41750:62: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41751:22: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41717:71: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41718:40: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41718:66: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41717:47: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41718:14: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41702:57: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41703:20: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41703:57: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41683:41: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41683:87: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41683:21: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:41683:65: warning: array subscript 0 is outside array bounds of 'float [0]' [-Warray-bounds=]
-
CImg.h:69976:9: warning: array subscript 0 is outside array bounds of 'char [0]' [-Warray-bounds=]
-
CImg.h:69978:9: warning: array subscript [1, 9] is outside array bounds of 'char [0]' [-Warray-bounds=]
-
gmic.cpp:3695:48: warning: argument 1 null where non-null expected [-Wnonnull] 3695 | char *linee = s_line.data() + std::strlen(s_line) - 1; | ~~~~~~~~~~~^~~~~~~~ -
/usr/include/fortify/string.h:132:29: warning: argument 1 null where non-null expected [-Wnonnull] 132 | return __orig_strcpy(__d, __s); | ~~~~~~~~~~~~~^~~~~~~~~~ -
gmic.cpp:3725:37: warning: argument 1 null where non-null expected [-Wnonnull] 3725 | if (is_main_ && !std::strcmp(s_name,"_main_")) *is_main_ = true; | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
gmic.cpp:2590:22: warning: argument 2 null where non-null expected [-Wnonnull] 2590 | err = std::strcmp(list[pos],str); | ~~~~~~~~~~~^~~~~~~~~~~~~~~ -
gmic.cpp:3685:44: warning: array subscript -1 is outside array bounds of 'char [2147483647]' [-Warray-bounds=] 3685 | if (_line<line_end) *_line = 0; else *(line_end - 1) = 0; | ^~~~~~~~~~~~~~~ -
gmic.cpp:3712:7: warning: array subscript 0 is outside array bounds of 'char [0]' [-Warray-bounds=] 3712 | *ns_name = sep = 0; | ^~~~~~~~ -
CImg.h:12904:24: warning: 'void operator delete [](void*)' called on a pointer to an unallocated object '8' [-Wfree-nonheap-object]
-
CImg.h:58677:59: warning: argument 1 null where non-null expected [-Wnonnull]
-
/usr/include/fortify/string.h:57:32: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' offset [0, 3] is out of the bounds [0, 0] [-Warray-bounds=] 57 | return __builtin_memcpy(__od, __os, __n); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
CImg.h:63208:48: warning: argument 1 null where non-null expected [-Wnonnull]
-
CImg.h:63213:48: warning: argument 1 null where non-null expected [-Wnonnull]
-
/usr/include/fortify/string.h:132:29: warning: 'char* __orig_strcpy(char*, const char*)' writing 1 byte into a region of size 0 overflows the destination [-Wstringop-overflow=] 132 | return __orig_strcpy(__d, __s); | ~~~~~~~~~~~~~^~~~~~~~~~ -
CImg.h:63545:46: warning: array subscript 0 is outside array bounds of 'long unsigned int [0]' [-Warray-bounds=]
-
CImg.h:56264:55: warning: argument 1 null where non-null expected [-Wnonnull]
-
CImg.h:56275:53: warning: argument 1 null where non-null expected [-Wnonnull]
-
/usr/include/fortify/string.h:57:32: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull] 57 | return __builtin_memcpy(__od, __os, __n); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
gmic.cpp:13925:80: warning: argument 1 null where non-null expected [-Wnonnull]
-
gmic.cpp:13939:74: warning: argument 1 null where non-null expected [-Wnonnull]
-
gmic.cpp:15014:22: warning: argument 1 null where non-null expected because argument 3 is nonzero [-Wnonnull]
-
gmic.cpp:15030:24: warning: argument 2 null where non-null expected because argument 3 is nonzero [-Wnonnull]
-
gmic.cpp:15031:25: warning: argument 1 null where non-null expected [-Wnonnull]
-
CImg.h:7330:30: warning: argument 1 null where non-null expected [-Wnonnull] 7330 | l2 = (int)std::strlen(str2); | ~~~~~~~~~~~^~~~~~ -
CImg.h:69976:16: warning: array subscript 0 is outside array bounds of 'char [0]' [-Warray-bounds=]
-
CImg.h:69978:12: warning: array subscript [1, 9] is outside array bounds of 'char [0]' [-Warray-bounds=]