Re: GCC7: -Wimplicit-fallthrough

Erik de Castro Lopo <[email protected]>
Newsgroups gmane.comp.audio.compression.flac.devel
Organization Erik Conspiracy Secret Labs
Message-ID <[email protected]>
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/
_______________________________________________
flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.