Rohit Shinde <rohit.shinde12...@gmail.com> writes: > I am just compiling with cflag set to -Wimplicit-fallthrough. I am using > gcc.
-Wimplicit-fallthrough is the same as -Wimplicit-fallthrough=3. Our -code is not prepared for that. What should work is --Wimplicit-fallthrough=2. If you have patches to make the entire tree compile with -Wimplicit-fallthrough=3, we can talk. You'd have to test them on all supported hosts, and with a sufficient range of configurations to ensure they are not breaking builds.