Subject: Re: bug#75964: Switching the Emacs build to -Wswitch-enum in src/

From: Stefan Monnier <[email-masked]>
Date: Mon, 03 Feb 2025 15:47:30 -0500

> enum ABC abc;
> switch (abc) {
> case A:
>   /* handle case A */
>   break;
> default:
>   /* we know this must be case C */
>   /* handle case C */
>   break;
> }

I think this just suggests we should refrain from using `default:`
except in those cases where we really think it's the better tradeoff.
I don't think there can be a silver bullet.

        Stefan