<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Aug 3, 2014 at 4:55 PM, Benjamin Bannier <span dir="ltr"><<a href="mailto:bbannier@gmail.com" target="_blank">bbannier@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">While clang issues a warns about a possibly incomplete switch statement<br>
when switching over an enum variable and failing to cover all enum<br>
values (either explicitly or with a default case), no such warning is<br>
emitted if a plain integer variable is used as switch variable.<br></blockquote><div><br></div><div>If we consider this diagnostic useful, then we should implement -Wswitch-default in Clang (GCC has it, Clang doesn't).</div>
</div>
</div></div>