<div dir='auto'>On Apr 7, 2026, 13:37, "Gary E. Miller via devel" <devel@ntpsec.org> wrote:<br>Yo Hal!<br><br>On Mon, 06 Apr 2026 23:15:34 -0700<br>Hal Murray via devel <devel@ntpsec.org> wrote:<br><br>> default has several possible meanings.<br>><br>> I'd like to get a compiler warning if I forgot to handle a case when<br>> switching on an enum.  Is that possible?<br><br>I have not heard of such a thing.  Would be nice.  There is a possible<br>warning if there is no default, but nothing else.<br><br>I believe clangd 21 has -Wcovered-switch-default which is slightly better, but still not what you seek. It raises a warning if you cover all cases and have a default.<br></div>