Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: Taming The Switch-Statement
Date: Thu, 08 Oct 2026 07:24:05 -0700
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <86o6d4jmnu.fsf@linuxsc.com>
References: <119qf6l$2rmg3$1@dont-email.me> <119r8u3$34nce$1@dont-email.me> <119rau4$35ugq$1@dont-email.me> <119uo2c$3kc0t$1@paganini.bofh.team> <119uqnv$d6j2$1@dont-email.me> <20261005143559.157@kylheku.com> <11a1arj$1e8ks$1@dont-email.me> <11a295r$1lqal$3@dont-email.me> <11a2e2m$ef4o$2@dont-email.me> <11a2j83$1qu9n$1@dont-email.me> <11a3ati$ef4o$3@dont-email.me> <11a4vqr$2m3b2$1@dont-email.me> <11a5gn2$2fkbe$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Thu, 08 Oct 2026 14:24:06 +0000 (UTC)
Injection-Info: dont-email.me; logging-data="4083477"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zpb8LbmgMFhpHzkkxHNrWm7AfFQj/T/U="; posting-host="4cee8a76f88b3dc47378f6a457cfe5d4"
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:nT9/vqO8l3dlivdo3qoW2c9hDaI= sha1:SLl+8GrP+XK+y+p+H/2TY/L2zKY= sha256:Eb6VTiVf8Io96LmZJJ2KiiEknqhGzwZkvQPyeloZd+s= sha1:URk0MJokQBREbZQYbVYl64fBtJY= sha256:736Udpz+Y6sEaRyixb/72ScXh7NnUr0q7rIirv6rMrc=
Xref: csiph.com comp.lang.c:402831
Janis Papanagnou writes:
> On 2026-10-07 10:28, David Brown wrote:
>
>> On 06/10/2026 19:25, Janis Papanagnou wrote:
>>
>>> [...]
>>
>> [...]
>>
>> If you are getting lots of warnings, you are doing something wrong.
>
> I don't think this is generally true.
It is true. And the fix is usually to omit or disable more -W
options. ;)