[cplusplus/examples/buffer.cpp:49]: (warning) %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [cplusplus/examples/test.cpp:34]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [cplusplus/examples/test_overloads.cpp:30]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [cplusplus/examples/test.cpp:305]: (warning) %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [cplusplus/examples/test.cpp:326]: (warning) %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [cplusplus/VImage.cpp:107]: (performance) Prefer prefix ++/-- operators for non-primitive types. [cplusplus/VImage.cpp:381]: (performance) Prefer prefix ++/-- operators for non-primitive types. [cplusplus/VImage.cpp:402]: (performance) Prefer prefix ++/-- operators for non-primitive types. [libvips/arithmetic/complex.c:458]: (warning) Passing values 0.0 and 0.0 to atan2() leads to implementation-defined result. [libvips/colour/UCS2LCh.c:84]: (error) Array 'Ll[1001]' accessed at index 1001, which is out of bounds. [libvips/colour/UCS2LCh.c:105]: (error) Array 'Cl[3001]' accessed at index 3001, which is out of bounds. [libvips/conversion/byteswap.c:239]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [libvips/conversion/copy.c:429]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [libvips/conversion/insert.c:346]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'double'. [libvips/conversion/cast.c:412]: (error) Shifting by a negative value is undefined behaviour [libvips/conversion/cast.c:419]: (error) Shifting by a negative value is undefined behaviour [libvips/conversion/cast.c:426]: (error) Shifting by a negative value is undefined behaviour [libvips/conversion/cast.c:433]: (error) Shifting by a negative value is undefined behaviour [libvips/deprecated/cooc_funcs.c:113]: (error) Memory leak: buf [libvips/deprecated/cooc_funcs.c:113]: (error) Memory leak: line [libvips/deprecated/cooc_funcs.c:187]: (error) Memory leak: buf [libvips/deprecated/cooc_funcs.c:187]: (error) Memory leak: line [libvips/deprecated/cooc_funcs.c:360]: (error) Memory leak: row [libvips/deprecated/cooc_funcs.c:360]: (error) Memory leak: col [libvips/deprecated/glds_funcs.c:115]: (error) Memory leak: b [libvips/deprecated/glds_funcs.c:115]: (error) Memory leak: l [libvips/deprecated/im_convsub.c:80]: (error) Memory leak: buf1 [libvips/deprecated/im_convsub.c:80]: (error) Memory leak: buf2 [libvips/deprecated/im_convsub.c:259]: (error) Memory leak: line [libvips/deprecated/im_freq_mask.c:234]: (error) va_list 'ap' was opened but not closed by va_end(). [libvips/deprecated/im_simcontr.c:88]: (error) Memory leak: line1 [libvips/deprecated/im_simcontr.c:88]: (error) Memory leak: line2 [libvips/deprecated/im_spatres.c:98]: (error) Memory leak: values [libvips/deprecated/im_spatres.c:98]: (error) Memory leak: line [libvips/deprecated/im_vips2dz.c:78]: (error) Uninitialized variable: mode [libvips/deprecated/rw_mask.c:779]: (error) va_list 'ap' was opened but not closed by va_end(). [libvips/draw/draw_rect.c:111]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [libvips/draw/draw_rect.c:114]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [libvips/draw/draw_rect.c:117]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [libvips/draw/draw_rect.c:120]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [libvips/foreign/dzsave.c:641]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [libvips/foreign/dzsave.c:672]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [libvips/foreign/dzsave.c:727]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [libvips/foreign/jpegsave.c:363]: (warning) %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [libvips/foreign/tiff2vips.c:1775]: (portability) 'rtiff.buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [libvips/foreign/webpsave.c:272]: (warning) %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [libvips/iofuncs/base64.c:216]: (warning) %u in format string (no. 1) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [libvips/iofuncs/error.c:199]: (error) va_list 'ap2' used before va_start() was called. [libvips/iofuncs/error.c:200]: (error) va_list 'ap2' used before va_start() was called. [libvips/iofuncs/image.c:549]: (portability) Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [libvips/iofuncs/object.c:725] -> [libvips/iofuncs/object.c:1170]: (warning) Possible null pointer dereference: argument_class - otherwise it is redundant to check it against null. [libvips/iofuncs/object.c:755] -> [libvips/iofuncs/object.c:762]: (warning) Possible null pointer dereference: argument_class - otherwise it is redundant to check it against null. [libvips/iofuncs/operation.c:848]: (error) va_list 'a' used before va_start() was called. [libvips/iofuncs/operation.c:852]: (error) va_list 'a' used before va_start() was called. [libvips/iofuncs/operation.c:849]: (error) va_list 'b' used before va_start() was called. [libvips/iofuncs/operation.c:851]: (error) va_list 'b' used before va_start() was called. [libvips/iofuncs/operation.c:853]: (error) va_list 'b' used before va_start() was called. [libvips/iofuncs/util.c:1327] -> [libvips/iofuncs/util.c:1332]: (warning) Array 'start[1000]' accessed at index 1000, which is out of bounds. Otherwise condition 'n==1000' is redundant. [libvips/iofuncs/util.c:1544]: (warning) scanf without field width limits can crash with huge input data. [libvipsCC/VMask.cc:230]: (error) Returning/dereferencing 'out' after it is deallocated / released [libvipsCC/VMask.cc:377]: (error) Returning/dereferencing 'out' after it is deallocated / released [libvipsCC/VImage.cc:84]: (performance) Prefer prefix ++/-- operators for non-primitive types. [libvipsCC/VImage.cc:146]: (performance) Prefer prefix ++/-- operators for non-primitive types. [libvipsCC/VImage.cc:96]: (performance) Prefer prefix ++/-- operators for non-primitive types.