Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: enums and switch vs function calls
Date: Sun, 06 Apr 2025 19:26:03 -0700
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <8634ekg11g.fsf@linuxsc.com>
References: <1ybIP.1259194$2zn8.458292@fx15.iad> <86y0wdfvc0.fsf@linuxsc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Mon, 07 Apr 2025 04:26:07 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="58fc992bf3d49f6866b08a85a8ed3f48"; logging-data="2657043"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zY5ZiLf/0TWjL2SZP37oQKnfxD7C2jy4="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:ALFJd900O9+roIUYSVl6Vd1Owyk= sha1:ukQOAHK8Xrjos78BlavVwbT4j7Y=
Xref: csiph.com comp.lang.c:392139
scott@slp53.sl.home (Scott Lurndal) writes:
> Tim Rentsch writes:
>
>> scott@slp53.sl.home (Scott Lurndal) writes:
>>
[... gcc verbose error messages ...]
>>> One line of informative error message followed by 5 lines of
>>> useless cruft to wade through. And no way to turn it off
>>> completely.
>>
>> That's true, but it can be reduced to only two lines total (so
>> only one line more than needed), by using
>> -fno-diagnostics-show-caret.
>
> Yes, I use that. I still find that the "note:" lines clutter the
> output and provide zero benefit.
I sympathize with your reaction. My response was meant only to
provide information to anyone not aware of it.