Subject: bug#75451: scratch/igc: Enable CHECK_STRUCTS

From: Gerd Möllmann <[email-masked]>
Date: Mon, 20 Jan 2025 10:17:29 +0100

Pip Cet <[email-masked]> writes:

> Gerd Möllmann <[email-masked]> writes:
>
>> Pip Cet <[email-masked]> writes:
>>
>>>> Thanks, that's helpful.  Based on the above, I came up with the attached
>>>> patch for pdumper.c.
>>>
>>> Let's introduce macros for the different cases, and use the same macro
>>> in the same case, until GCC offers a fix.
>>
>> Pretty please not more macros.
>
> Why not?  We need to distinguish "default case reached for some enum
> values" and "default case reached only for non-enum values, warn if it's
> reached for enum values"###

Emacs already has too many macros for may taste. I'd rather loose a
warning or optimization than complicate things further. Just my 2 cents.