Re: Compiler utility

Liste des GroupesRevenir à col misc 
Sujet : Re: Compiler utility
De : invalid (at) *nospam* invalid.invalid (Richard Kettlewell)
Groupes : comp.os.linux.misc
Date : 07. Feb 2025, 21:16:48
Autres entêtes
Organisation : terraraq NNTP server
Message-ID : <wwvjza1zf0v.fsf@LkoBDZeT.terraraq.uk>
References : 1 2 3
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
root <NoEMail@home.org> writes:
Richard Kettlewell <invalid@invalid.invalid> wrote:
root <NoEMail@home.org> writes:
Does anyone know of a compiler add-on which will read existing code,
and insert type (int) when the routine is not explicitly given?
>
No add-on needed, just have a look at the manual, specifically:
  https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Standards.html#C-Language
>
Thanks Richard, but, also looking at the dialect link, what option
should I use to mimic gcc version 11.2.0 (GCC) or 12.2, either of
which compiles my stuff without a problem.

There’s no option to mimic a different compiler version. The options
select a language version.

If you want the behavior of a specific compiler version then the usual
approach is just to use that version.

I have tried std=gnu89 but that didn't work. I tried other stuff of
the form -Wno-implicit-init or something like that that compiler
suggested but no change with that.

Post some example code, the exact command you used to compile it, and
the errors you go.

--
https://www.greenend.org.uk/rjk/

Date Sujet#  Auteur
7 Feb 25 * Compiler utility16root
7 Feb 25 +* Re: Compiler utility9vallor
7 Feb 25 i+- Re: Compiler utility1rbowman
7 Feb 25 i`* Re: Compiler utility7root
7 Feb 25 i +- Re: Compiler utility1vallor
7 Feb 25 i `* Re: Compiler utility5The Natural Philosopher
7 Feb 25 i  +* Re: Compiler utility3Lew Pitcher
8 Feb 25 i  i+- Re: Compiler utility1Lawrence D'Oliveiro
8 Feb 25 i  i`- Re: Compiler utility1The Natural Philosopher
9 Feb 25 i  `- Re: Compiler utility1root
7 Feb 25 +* Re: Compiler utility2Lawrence D'Oliveiro
7 Feb 25 i`- Re: Compiler utility1WokieSux282@ud0s4.net
7 Feb 25 `* Re: Compiler utility4Richard Kettlewell
7 Feb 25  `* Re: Compiler utility3root
7 Feb 25   `* Re: Compiler utility2Richard Kettlewell
7 Feb 25    `- Re: Compiler utility1root

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal