| Deutsch English Français Italiano |
|
<vo5h2s$3jith$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: root <NoEMail@home.org> Newsgroups: comp.os.linux.misc Subject: Re: Compiler utility Date: Fri, 7 Feb 2025 17:49:16 -0000 (UTC) Organization: Linux Advocacy Lines: 22 Message-ID: <vo5h2s$3jith$2@dont-email.me> References: <vo3u4t$37omt$1@dont-email.me> <wwvcyfujgcz.fsf@LkoBDZeT.terraraq.uk> Injection-Date: Fri, 07 Feb 2025 18:49:18 +0100 (CET) Injection-Info: dont-email.me; posting-host="406fed010e5a74510570832ad5841128"; logging-data="3787697"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lNXvZCCedrIJ6hgvaRgdSOus8ILVgjxo=" User-Agent: slrn/1.0.2 (Linux) Cancel-Lock: sha1:AqLRLnH78Uijn0g7R0mGatMciQo= Bytes: 1842 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.