Sujet : Re: enums and switch vs function calls
De : ben (at) *nospam* bsb.me.uk (Ben Bacarisse)
Groupes : comp.lang.cDate : 25. Apr 2025, 23:09:46
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <87zfg3hp05.fsf@bsb.me.uk>
References : 1 2 3 4 5 6 7
User-Agent : Gnus/5.13 (Gnus v5.13)
scott@slp53.sl.home (Scott Lurndal) writes:
Ben Bacarisse <ben@bsb.me.uk> writes:
scott@slp53.sl.home (Scott Lurndal) writes:
>
Tim Rentsch <tr.17687@z991.linuxsc.com> writes:
...
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.
>
Does
>
gcc -fcompare-debug-second -fno-diagnostics-show-caret
>
We use the latter. It doesn't get rid of the 'note' sections, however.
>
For some reason, -fcompare-debug-second is commented out in our Makefile, but
it appears that only applies in when a second compile is required.
It appears to have a second "side-effect" use. It removes notes when I
use it.
-- Ben.