Re: enums and switch vs function calls

Liste des GroupesRevenir à l c 
Sujet : Re: enums and switch vs function calls
De : tr.17687 (at) *nospam* z991.linuxsc.com (Tim Rentsch)
Groupes : comp.lang.c
Date : 04. May 2025, 14:55:53
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <86ldrc7a52.fsf@linuxsc.com>
References : 1 2 3 4 5 6 7 8
User-Agent : Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Ben Bacarisse <ben@bsb.me.uk> writes:

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.

Nice to know.  Thank you for posting it.

Date Sujet#  Auteur
5 Apr 25 * enums and switch vs function calls12Richard Harnden
5 Apr 25 +* Re: enums and switch vs function calls9Stefan Ram
5 Apr 25 i+- Re: enums and switch vs function calls1David Brown
5 Apr 25 i+- Re: enums and switch vs function calls1Stefan Ram
6 Apr 25 i`* Re: enums and switch vs function calls6Tim Rentsch
6 Apr 25 i +- Re: enums and switch vs function calls1David Brown
7 Apr 25 i +- Re: enums and switch vs function calls1Tim Rentsch
25 Apr 25 i `* Re: enums and switch vs function calls3Ben Bacarisse
25 Apr 25 i  `* Re: enums and switch vs function calls2Ben Bacarisse
4 May 25 i   `- Re: enums and switch vs function calls1Tim Rentsch
5 Apr 25 `* Re: enums and switch vs function calls2Thiago Adams
6 Apr 25  `- Re: enums and switch vs function calls1David Brown

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal