Add -Wunique-enum which will warn on enums with at least 2 elements such that all elements are the same value.  This will catch enums such as:<div><br></div><div>enum A {</div><div>  FIRST = 1,</div><div>  SECOND = 1</div>
<div>};</div>