You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'BYTE_CASE'
BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0,
^~~~~~~~~
xdelta3-decode.h:926:5: note: here
case DEC_TABDAT:
^~~~
xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_APPLEN;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
xdelta3-decode.h:946:5: note: here
case DEC_APPLEN:
^~~~
xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0,
^~~~~~~~~
xdelta3-decode.h:951:5: note: here
case DEC_APPDAT:
^~~~
xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_WININD;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
xdelta3-decode.h:985:5: note: here
case DEC_WININD:
^~~~
xdelta3-decode.h:1011:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_CPYLEN;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
xdelta3-decode.h:1017:5: note: here
case DEC_CPYLEN:
^~~~
xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_position = stream->dec_cpylen;
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
xdelta3-decode.h:1028:5: note: here
case DEC_CPYOFF:
^~~~
xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((stream->dec_win_ind & VCD_TARGET) &&
^
xdelta3-decode.h:1050:5: note: here
case DEC_ENCLEN:
^~~~
xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN);
^~~~~~~~~
xdelta3-decode.h:1053:5: note: here
case DEC_TGTLEN:
^~~~
xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen;
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xdelta3-decode.h:1075:5: note: here
case DEC_DELIND:
^~~~
xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL))
^
xdelta3-decode.h:1093:5: note: here
case DEC_DATALEN:
^~~~
xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN);
^~~~~~~~~
xdelta3-decode.h:1095:5: note: here
case DEC_INSTLEN:
^~~~
xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN);
^~~~~~~~~
xdelta3-decode.h:1097:5: note: here
case DEC_ADDRLEN:
^~~~
xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM);
^~~~~~~~~
xdelta3-decode.h:1100:5: note: here
case DEC_CKSUM:
^~~~
xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((ret = xd3_decode_sections (stream))) { return ret; }
^
xdelta3-decode.h:1151:5: note: here
case DEC_EMIT:
^~~~
In file included from xdelta3.c:718:
xdelta3-main.h: In function 'main_file_read':
xdelta3-main.h:1063:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type]
ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread);
^
xdelta3-main.h: In function 'main_file_write':
xdelta3-main.h:1097:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type]
ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL);
^
xdelta3-decode.h: In function 'xd3_decode_sections':
xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((ret = xd3_decode_section (stream, & stream->data_sect,
^
xdelta3-decode.h:704:5: note: here
case DEC_INST:
^~~~
xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((ret = xd3_decode_section (stream, & stream->inst_sect,
^
xdelta3-decode.h:707:5: note: here
case DEC_ADDR:
^~~~
In file included from xdelta3.c:718:
xdelta3-main.h: In function 'main_pipe_write':
xdelta3-main.h:2118:7: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type]
(xd3_posix_func*) &write, NULL)))
^
In file included from testing/../xdelta3.c:718,
from testing/regtest_c.c:2:
testing/../xdelta3-main.h: In function 'main_file_read':
testing/../xdelta3-main.h:1063:47: warning: cast between incompatible function types from 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type]
ret = xd3_posix_io (ifile->file, buf, size, (xd3_posix_func*) &read, nread);
^
testing/../xdelta3-main.h: In function 'main_file_write':
testing/../xdelta3-main.h:1097:47: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type]
ret = xd3_posix_io (ofile->file, buf, size, (xd3_posix_func*) &write, NULL);
^
In file included from testing/../xdelta3.c:718,
from testing/regtest_c.c:2:
testing/../xdelta3-main.h: In function 'main_pipe_write':
testing/../xdelta3-main.h:2118:7: warning: cast between incompatible function types from 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} to 'int (*)(int, uint8_t *, usize_t)' {aka 'int (*)(int, unsigned char *, long unsigned int)'} [-Wcast-function-type]
(xd3_posix_func*) &write, NULL)))
^
In file included from xdelta3.c:2065,
from xdelta3.c:658:
xdelta3-decode.h: In function 'xd3_decode_input':
xdelta3-decode.h:867:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_HDRIND;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
xdelta3-decode.h:869:5: note: here
case DEC_HDRIND:
^~~~
xdelta3-decode.h:882:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_SECONDID;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
xdelta3-decode.h:885:5: note: here
case DEC_SECONDID:
^~~~
xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0)
^
xdelta3-decode.h:905:5: note: here
case DEC_TABLEN:
^~~~
xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) {
^
xdelta3-decode.h:918:5: note: here
case DEC_NEAR:
^~~~
xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE'
BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0,
^~~~~~~~~
xdelta3-decode.h:922:5: note: here
case DEC_SAME:
^~~~
xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE'
BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0,
^~~~~~~~~
xdelta3-decode.h:926:5: note: here
case DEC_TABDAT:
^~~~
xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_APPLEN;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
xdelta3-decode.h:946:5: note: here
case DEC_APPLEN:
^~~~
xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0,
^~~~~~~~~
xdelta3-decode.h:951:5: note: here
case DEC_APPDAT:
^~~~
xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_WININD;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
xdelta3-decode.h:985:5: note: here
case DEC_WININD:
^~~~
xdelta3-decode.h:1011:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_CPYLEN;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
xdelta3-decode.h:1017:5: note: here
case DEC_CPYLEN:
^~~~
xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_position = stream->dec_cpylen;
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
xdelta3-decode.h:1028:5: note: here
case DEC_CPYOFF:
^~~~
xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((stream->dec_win_ind & VCD_TARGET) &&
^
xdelta3-decode.h:1050:5: note: here
case DEC_ENCLEN:
^~~~
xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN);
^~~~~~~~~
xdelta3-decode.h:1053:5: note: here
case DEC_TGTLEN:
^~~~
xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen;
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xdelta3-decode.h:1075:5: note: here
case DEC_DELIND:
^~~~
xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL))
^
xdelta3-decode.h:1093:5: note: here
case DEC_DATALEN:
^~~~
xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN);
^~~~~~~~~
xdelta3-decode.h:1095:5: note: here
case DEC_INSTLEN:
^~~~
xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN);
^~~~~~~~~
xdelta3-decode.h:1097:5: note: here
case DEC_ADDRLEN:
^~~~
xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM);
^~~~~~~~~
xdelta3-decode.h:1100:5: note: here
case DEC_CKSUM:
^~~~
xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((ret = xd3_decode_sections (stream))) { return ret; }
^
xdelta3-decode.h:1151:5: note: here
case DEC_EMIT:
^~~~
xdelta3-decode.h: In function 'xd3_decode_sections':
xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((ret = xd3_decode_section (stream, & stream->data_sect,
^
xdelta3-decode.h:704:5: note: here
case DEC_INST:
^~~~
xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((ret = xd3_decode_section (stream, & stream->inst_sect,
^
xdelta3-decode.h:707:5: note: here
case DEC_ADDR:
^~~~
In file included from xdelta3.c:658:
xdelta3.c: In function 'xd3_encode_input':
xdelta3.c:3151:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (stream->avail_in > 0)
^
xdelta3.c:3166:6: note: here
case MATCH_FORWARD:
^~~~
xdelta3.c:3090:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->enc_state = ENC_INPUT;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
xdelta3.c:3092:5: note: here
case ENC_INPUT:
^~~~
xdelta3.c:3201:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->enc_state = ENC_INSTR;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
xdelta3.c:3203:5: note: here
case ENC_INSTR:
^~~~
xdelta3.c:3215:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->enc_state = ENC_FLUSH;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
xdelta3.c:3217:5: note: here
case ENC_FLUSH:
^~~~
xdelta3.c:3247:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (stream->avail_out > 0)
^
xdelta3.c:3253:5: note: here
case ENC_POSTOUT:
^~~~
In file included from xdelta3.c:718:
xdelta3-main.h: In function 'main':
xdelta3-main.h:3752:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
option_force2 = 1;
~~~~~~~~~~~~~~^~~
xdelta3-main.h:3758:2: note: here
case 'v': option_verbose += 1; option_quiet = 0; break;
^~~~
xdelta3-main.h: In function 'main_input':
In file included from testing/../xdelta3.c:2065,
from testing/../xdelta3.c:658,
from testing/regtest_c.c:2:
testing/../xdelta3-decode.h: In function 'xd3_decode_input':
testing/../xdelta3-decode.h:867:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_HDRIND;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
testing/../xdelta3-decode.h:869:5: note: here
case DEC_HDRIND:
^~~~
testing/../xdelta3-decode.h:882:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_SECONDID;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
testing/../xdelta3-decode.h:885:5: note: here
case DEC_SECONDID:
^~~~
testing/../xdelta3-decode.h:887:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((stream->dec_hdr_ind & VCD_SECONDARY) != 0)
^
testing/../xdelta3-decode.h:905:5: note: here
case DEC_TABLEN:
^~~~
testing/../xdelta3-decode.h:911:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((stream->dec_hdr_ind & VCD_CODETABLE) != 0) {
^
testing/../xdelta3-decode.h:918:5: note: here
case DEC_NEAR:
^~~~
testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
testing/../xdelta3-decode.h:920:7: note: in expansion of macro 'BYTE_CASE'
BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0,
^~~~~~~~~
testing/../xdelta3-decode.h:922:5: note: here
case DEC_SAME:
^~~~
testing/../xdelta3-decode.h:826:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
testing/../xdelta3-decode.h:924:7: note: in expansion of macro 'BYTE_CASE'
BYTE_CASE((stream->dec_hdr_ind & VCD_CODETABLE) != 0,
^~~~~~~~~
testing/../xdelta3-decode.h:926:5: note: here
case DEC_TABDAT:
^~~~
testing/../xdelta3-decode.h:944:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_APPLEN;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
testing/../xdelta3-decode.h:946:5: note: here
case DEC_APPLEN:
^~~~
testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
testing/../xdelta3-decode.h:948:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE((stream->dec_hdr_ind & VCD_APPHEADER) != 0,
^~~~~~~~~
testing/../xdelta3-decode.h:951:5: note: here
case DEC_APPDAT:
^~~~
testing/../xdelta3-decode.h:983:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_WININD;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
testing/../xdelta3-decode.h:985:5: note: here
case DEC_WININD:
^~~~
testing/../xdelta3-decode.h:1011:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = DEC_CPYLEN;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
testing/../xdelta3-decode.h:1017:5: note: here
case DEC_CPYLEN:
^~~~
testing/../xdelta3-decode.h:1026:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_position = stream->dec_cpylen;
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
testing/../xdelta3-decode.h:1028:5: note: here
case DEC_CPYOFF:
^~~~
testing/../xdelta3-decode.h:1042:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((stream->dec_win_ind & VCD_TARGET) &&
^
testing/../xdelta3-decode.h:1050:5: note: here
case DEC_ENCLEN:
^~~~
testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
testing/../xdelta3-decode.h:1052:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->dec_enclen, DEC_TGTLEN);
^~~~~~~~~
testing/../xdelta3-decode.h:1053:5: note: here
case DEC_TGTLEN:
^~~~
testing/../xdelta3-decode.h:1073:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_maxpos = stream->dec_cpylen + stream->dec_tgtlen;
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
testing/../xdelta3-decode.h:1075:5: note: here
case DEC_DELIND:
^~~~
testing/../xdelta3-decode.h:1086:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((stream->dec_del_ind != 0) && (stream->sec_type == NULL))
^
testing/../xdelta3-decode.h:1093:5: note: here
case DEC_DATALEN:
^~~~
testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
testing/../xdelta3-decode.h:1094:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->data_sect.size, DEC_INSTLEN);
^~~~~~~~~
testing/../xdelta3-decode.h:1095:5: note: here
case DEC_INSTLEN:
^~~~
testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
testing/../xdelta3-decode.h:1096:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->inst_sect.size, DEC_ADDRLEN);
^~~~~~~~~
testing/../xdelta3-decode.h:1097:5: note: here
case DEC_ADDRLEN:
^~~~
testing/../xdelta3-decode.h:840:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->dec_state = (nstate); \
~~~~~~~~~~~~~~~~~~^~~~~~~~~~
testing/../xdelta3-decode.h:1098:7: note: in expansion of macro 'SIZE_CASE'
SIZE_CASE(1, stream->addr_sect.size, DEC_CKSUM);
^~~~~~~~~
testing/../xdelta3-decode.h:1100:5: note: here
case DEC_CKSUM:
^~~~
testing/../xdelta3-decode.h:1149:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((ret = xd3_decode_sections (stream))) { return ret; }
^
testing/../xdelta3-decode.h:1151:5: note: here
case DEC_EMIT:
^~~~
testing/../xdelta3-decode.h: In function 'xd3_decode_sections':
testing/../xdelta3-decode.h:702:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((ret = xd3_decode_section (stream, & stream->data_sect,
^
testing/../xdelta3-decode.h:704:5: note: here
case DEC_INST:
^~~~
testing/../xdelta3-decode.h:705:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if ((ret = xd3_decode_section (stream, & stream->inst_sect,
^
testing/../xdelta3-decode.h:707:5: note: here
case DEC_ADDR:
^~~~
In file included from testing/../xdelta3.c:267,
from testing/regtest_c.c:2:
testing/../xdelta3.c: In function 'xd3_encode_input':
testing/../xdelta3.h:406:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (! (x)) { \
^
testing/../xdelta3.c:3164:8: note: in expansion of macro 'XD3_ASSERT'
XD3_ASSERT (stream->match_fwd == 0);
^~~~~~~~~~
In file included from testing/../xdelta3.c:658,
from testing/regtest_c.c:2:
testing/../xdelta3.c:3166:6: note: here
case MATCH_FORWARD:
^~~~
testing/../xdelta3.c:3090:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->enc_state = ENC_INPUT;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
testing/../xdelta3.c:3092:5: note: here
case ENC_INPUT:
^~~~
testing/../xdelta3.c:3201:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->enc_state = ENC_INSTR;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
testing/../xdelta3.c:3203:5: note: here
case ENC_INSTR:
^~~~
testing/../xdelta3.c:3215:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
stream->enc_state = ENC_FLUSH;
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
testing/../xdelta3.c:3217:5: note: here
case ENC_FLUSH:
^~~~
testing/../xdelta3.c:3247:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (stream->avail_out > 0)
^
testing/../xdelta3.c:3253:5: note: here
case ENC_POSTOUT:
^~~~
xdelta3-main.h:3025:15: warning: statement will never be executed [-Wswitch-unreachable]
if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; }
^
xdelta3-main.h:3026:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; }
^
xdelta3-main.h:3027:21: note: here
else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; }
^~~~
In file included from testing/../xdelta3.c:718,
from testing/regtest_c.c:2:
testing/../xdelta3-main.h: In function 'xd3_main_cmdline':
testing/../xdelta3-main.h:3752:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
option_force2 = 1;
~~~~~~~~~~~~~~^~~
testing/../xdelta3-main.h:3758:2: note: here
case 'v': option_verbose += 1; option_quiet = 0; break;
^~~~
testing/../xdelta3-main.h: In function 'main_input':
testing/../xdelta3-main.h:3025:15: warning: statement will never be executed [-Wswitch-unreachable]
if (1) { case CMD_PRINTHDR: stream_flags |= XD3_JUST_HDR; }
^
testing/../xdelta3-main.h:3026:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
else if (1) { case CMD_PRINTHDRS: stream_flags |= XD3_SKIP_WINDOW; }
^
testing/../xdelta3-main.h:3027:21: note: here
else { case CMD_PRINTDELTA: stream_flags |= XD3_SKIP_EMIT; }
^~~~
In file included from xdelta3.c:267:
xdelta3-main.h: In function 'main_format_rate':
xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=]
short_sprintf (*buf, "%s/s", lbuf.buf);
^~~~~~
xdelta3.h:379:43: note: in definition of macro 'short_sprintf'
snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__)
^~~
In file included from /usr/include/stdio.h:873,
from xdelta3.h:38,
from xdelta3.c:267:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 50 bytes into a destination of size 48
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xdelta3.c:267:
xdelta3-main.h: In function 'main_format_rate':
xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=]
short_sprintf (*buf, "%s/s", lbuf.buf);
^~~~~~
xdelta3.h:379:43: note: in definition of macro 'short_sprintf'
snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__)
^~~
In file included from /usr/include/stdio.h:873,
from xdelta3.h:38,
from xdelta3.c:267:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 50 bytes into a destination of size 48
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from testing/../xdelta3.c:267,
from testing/regtest_c.c:2:
testing/../xdelta3-main.h: In function 'main_format_rate':
testing/../xdelta3-main.h:638:24: warning: '/s' directive output may be truncated writing 2 bytes into a region of size between 1 and 48 [-Wformat-truncation=]
short_sprintf (*buf, "%s/s", lbuf.buf);
^~~~~~
testing/../xdelta3.h:379:43: note: in definition of macro 'short_sprintf'
snprintf_func((sb).buf,sizeof((sb).buf),fmt,__VA_ARGS__)
^~~
In file included from /usr/include/stdio.h:873,
from testing/../xdelta3.h:38,
from testing/../xdelta3.c:267,
from testing/regtest_c.c:2:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 50 bytes into a destination of size 48
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xdelta3.c:722:
xdelta3-test.h: In function 'test_appheader.isra.113':
xdelta3-test.h:2501:17: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 16374 [-Wformat-truncation=]
"%s -q -f -A=%s -e -s %s %s %s", program_name, bogus,
^~ ~~~~~
In file included from /usr/include/stdio.h:873,
from xdelta3.h:38,
from xdelta3.c:267:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from xdelta3.c:722:
xdelta3-test.h: In function 'test_compressed_pipe.isra.116':
xdelta3-test.h:2164:63: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size between 15349 and 16372 [-Wformat-truncation=]
snprintf_func (buf, TESTBUFSIZE, "%s %s < %s | %s %s | %s %s%s > %s",
^~
xdelta3-test.h:2169:5:
decomp_buf,
~~~~~~~~~~
In file included from /usr/include/stdio.h:873,
from xdelta3.h:38,
from xdelta3.c:267:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 16 or more bytes (assuming 18445) into a destination of size 16384
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from testing/../xdelta3.c:722,
from testing/regtest_c.c:2:
testing/../xdelta3-test.h: In function 'test_appheader.isra.122':
testing/../xdelta3-test.h:2501:17: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size 16374 [-Wformat-truncation=]
"%s -q -f -A=%s -e -s %s %s %s", program_name, bogus,
^~ ~~~~~
In file included from /usr/include/stdio.h:873,
from testing/../xdelta3.h:38,
from testing/../xdelta3.c:267,
from testing/regtest_c.c:2:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 19472) into a destination of size 16384
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from testing/../xdelta3.c:722,
from testing/regtest_c.c:2:
testing/../xdelta3-test.h: In function 'test_compressed_pipe.isra.125':
testing/../xdelta3-test.h:2164:63: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size between 15349 and 16372 [-Wformat-truncation=]
snprintf_func (buf, TESTBUFSIZE, "%s %s < %s | %s %s | %s %s%s > %s",
^~
testing/../xdelta3-test.h:2169:5:
decomp_buf,
~~~~~~~~~~
In file included from /usr/include/stdio.h:873,
from testing/../xdelta3.h:38,
from testing/../xdelta3.c:267,
from testing/regtest_c.c:2:
/usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 16 or more bytes (assuming 18445) into a destination of size 16384
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
There are manywarnings on Fedora Rawhide e.g.:
The text was updated successfully, but these errors were encountered: