Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #65257

Re: Compiler utility

From root <NoEMail@home.org>
Newsgroups comp.os.linux.misc
Subject Re: Compiler utility
Date 2025-02-07 17:49 +0000
Organization Linux Advocacy
Message-ID <vo5h2s$3jith$2@dont-email.me> (permalink)
References <vo3u4t$37omt$1@dont-email.me> <wwvcyfujgcz.fsf@LkoBDZeT.terraraq.uk>

Show all headers | View raw


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. 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.

It might be that gnu89 would compile my most really old stuff,
but since then I have adapted to newer compilers that gnu89
doesn't like. There are 1,354 .c files, and as I said, over
1,045,000 lines of code. I am too old to fix them in my
remaining lifetime.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Compiler utility root <NoEMail@home.org> - 2025-02-07 03:19 +0000
  Re: Compiler utility vallor <vallor@cultnix.org> - 2025-02-07 04:11 +0000
    Re: Compiler utility rbowman <bowman@montana.com> - 2025-02-07 06:05 +0000
    Re: Compiler utility root <NoEMail@home.org> - 2025-02-07 17:35 +0000
      Re: Compiler utility vallor <vallor@cultnix.org> - 2025-02-07 17:51 +0000
      Re: Compiler utility The Natural Philosopher <tnp@invalid.invalid> - 2025-02-07 22:28 +0000
        Re: Compiler utility Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2025-02-07 22:44 +0000
          Re: Compiler utility Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-02-08 03:30 +0000
          Re: Compiler utility The Natural Philosopher <tnp@invalid.invalid> - 2025-02-08 13:12 +0000
        Re: Compiler utility root <NoEMail@home.org> - 2025-02-09 04:51 +0000
  Re: Compiler utility Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-02-07 06:02 +0000
    Re: Compiler utility "WokieSux282@ud0s4.net" <WokieSux283@ud0s4.net> - 2025-02-07 01:06 -0500
  Re: Compiler utility Richard Kettlewell <invalid@invalid.invalid> - 2025-02-07 08:42 +0000
    Re: Compiler utility root <NoEMail@home.org> - 2025-02-07 17:49 +0000
      Re: Compiler utility Richard Kettlewell <invalid@invalid.invalid> - 2025-02-07 20:16 +0000
        Re: Compiler utility root <NoEMail@home.org> - 2025-02-07 22:19 +0000

csiph-web