forked from osmocom/wireshark
94fe2b195c
[1638/2312] Building C object epan/ftypes/CMakeFiles/ftypes.dir/ftype-protocol.c.o FAILED: epan/ftypes/CMakeFiles/ftypes.dir/ftype-protocol.c.o /usr/bin/ccache /usr/bin/cc -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DWS_BUILD_DLL -I. -I../ -I../include -Iepan/ftypes -I../epan/ftypes -I../epan -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -fvisibility=hidden -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wredundant-decls -Wno-error=maybe-uninitialized -Wno-format-truncation -Wframe-larger-than=32768 -fdiagnostics-color=always -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -fmacro-prefix-map=/builds/wireshark/wireshark/= -fmacro-prefix-map=/builds/wireshark/wireshark/build/= -fmacro-prefix-map=../= -O2 -g -DNDEBUG -fPIC -std=gnu11 -Werror -MD -MT epan/ftypes/CMakeFiles/ftypes.dir/ftype-protocol.c.o -MF epan/ftypes/CMakeFiles/ftypes.dir/ftype-protocol.c.o.d -o epan/ftypes/CMakeFiles/ftypes.dir/ftype-protocol.c.o -c ../epan/ftypes/ftype-protocol.c ../epan/ftypes/ftype-protocol.c: In function ‘_tvbcmp’: ../epan/ftypes/ftype-protocol.c:248:62: error: operand of ?: changes signedness from ‘int’ to ‘guint’ {aka ‘unsigned int’} due to unsignedness of other operand [-Werror=sign-compare] 248 | guint a_len = a->length < 0 ? tvb_captured_length(a->tvb) : a->length; | ^~~~~~~~~ ../epan/ftypes/ftype-protocol.c:249:62: error: operand of ?: changes signedness from ‘int’ to ‘guint’ {aka ‘unsigned int’} due to unsignedness of other operand [-Werror=sign-compare] 249 | guint b_len = b->length < 0 ? tvb_captured_length(b->tvb) : b->length; | ^~~~~~~~~ ../epan/ftypes/ftype-protocol.c: In function ‘slice’: ../epan/ftypes/ftype-protocol.c:224:60: error: argument ‘length’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered] 224 | slice(fvalue_t *fv, GByteArray *bytes, guint offset, guint length) | ~~~~~~^~~~~~ cc1: all warnings being treated as errors |
||
---|---|---|
.. | ||
.editorconfig | ||
CMakeLists.txt | ||
ftype-bytes.c | ||
ftype-double.c | ||
ftype-guid.c | ||
ftype-ieee-11073-float.c | ||
ftype-integer.c | ||
ftype-ipv4.c | ||
ftype-ipv6.c | ||
ftype-none.c | ||
ftype-protocol.c | ||
ftype-string.c | ||
ftype-time.c | ||
ftypes-int.h | ||
ftypes.c | ||
ftypes.h |