[flac-dev] GCC7: -Wimplicit-fallthrough

Erik de Castro Lopo mle+la at mega-nerd.com
Mon Jun 26 08:38:17 UTC 2017


lvqcl wrote:

> 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

Yeah, that is a new warning in GCC 7. There is a way of annotating
the code with a comment to tell the compiler that the fall through
is intentional.

I'll install gcc 7 and fix these ASAP.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list