Sujet : Re: Compiler utility
De : NoEMail (at) *nospam* home.org (root)
Groupes : comp.os.linux.miscDate : 09. Feb 2025, 05:51:06
Autres entêtes
Organisation : Linux Advocacy
Message-ID : <vo9c7p$fbuq$1@dont-email.me>
References : 1 2 3 4
User-Agent : slrn/1.0.2 (Linux)
The Natural Philosopher <
tnp@invalid.invalid> 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?
I put the argument definitions on separate lines
after the function line.
The complaint was for the int main().