Re: Compiler utility

Liste des GroupesRevenir à col misc 
Sujet : Re: Compiler utility
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.os.linux.misc
Date : 08. Feb 2025, 14:12:41
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vo7l89$25uo$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Mozilla Thunderbird
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.

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