Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #65269
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Compiler utility |
| Date | 2025-02-08 13:12 +0000 |
| Organization | A little, after lunch |
| Message-ID | <vo7l89$25uo$1@dont-email.me> (permalink) |
| References | <vo3u4t$37omt$1@dont-email.me> <m0lfelFquhsU4@mid.individual.net> <vo5g9e$3jith$1@dont-email.me> <vo61ed$3mh03$1@dont-email.me> <vo62cg$3hkjs$1@dont-email.me> |
On 07/02/2025 22:44, Lew Pitcher wrote:
> On Fri, 07 Feb 2025 22:28:29 +0000, The Natural Philosopher wrote:
>
>> On 07/02/2025 17:35, root wrote:
>>> when the compiler encountered the line
>>>
>>> int main(argc,argv)
>>>
>>> it threw up an error.
>>
>> Well did you have
>> {
>> char *argv[]; int argc;
>>
>> ...underneath?
>
> itym
> char *argv[]; int argc;
> {
>
> as in
> /* K&R C style function */
> int main(argc,argv)
> char *argv[]; int argc;
> {
> /*... */
> return 0;
> }
>
> :-)
>
Yup. I fully adopted the 'definitions inside the function brackets'
years ago and forgotted (sic!) the exact syntax.
--
All political activity makes complete sense once the proposition that
all government is basically a self-legalising protection racket, is
fully understood.
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
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