Thread (1 message) 1 message, 1 author, 2017-03-17

Re: [PATCH 2/3] mdadm: Add Wimplicit-fallthrough=0 in Makefile

From: jes.sorensen@gmail.com
Date: 2017-03-17 19:57:17

Xiao Ni [off-list ref] writes:
There are many errors like 'error: this statement may fall through'.
But the logic is right. So add the flag Wimplicit-fallthrough=0
to disable the error messages. The method I use is from
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
#index-Wimplicit-fallthrough-375

Signed-off-by: Xiao Ni <redacted>
---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)
Applied!

Thanks,
Jes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help