If I compile libFLAC with GCC 7.1 I see many warnings like
lpc.c: In function 'FLAC__lpc_compute_residual_from_qlp_coefficients':
lpc.c:489:18: warning: this statement may fall through
[-Wimplicit-fallthrough=]
case 32: sum += qlp_coeff[31] * data[i-32];
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lpc.c:490:5: note: here
case 31: sum += qlp_coeff[30] * data[i-31];
^~~~
lpc.c:490:18: warning: this statement may fall through
[-Wimplicit-fallthrough=]
case 31: sum += qlp_coeff[30] * data[i-31];
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lpc.c:491:5: note: here
case 30: sum += qlp_coeff[29] * data[i-30];
^~~~
...etc.
Relevant link:
https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/
_______________________________________________
flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev