<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Sep 16, 2010, at 9:27 AM, Douglas Gregor wrote:</div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><font class="Apple-style-span" color="#000000"><br></font></div><div><div>t.c:4:11: warning: enumeration value 'a' not handled in switch [-Wswitch-enum]</div><div>  switch (a) {</div><div>          ^</div><div>t.c:4:11: warning: enumeration value 'd' not handled in switch [-Wswitch-enum]</div><div>t.c:4:11: warning: enumeration value 'e' not handled in switch [-Wswitch-enum]</div><div>t.c:4:11: warning: enumeration value 'f' not handled in switch [-Wswitch-enum]</div><div>t.c:4:11: warning: enumeration value 'g' not handled in switch [-Wswitch-enum]</div><div>5 warnings generated.</div></div><div><br></div><div>In this case, I think it would be better to emit one warning say:</div><div><br></div><div>t.c:4:11: warning: 5 enumeration values not handled in switch: 'a', 'd', 'e' ... [-Wswitch-enum]</div><div><br></div><div>or something like that.  What do you think?</div></div></div></blockquote><br>I think that's an excellent idea.</div></div></blockquote><br></div><div>Done in r114093.</div><div><br></div><div>-Chris</div><br></body></html>