All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J . A . Magallon" <jamagallon@able.es>
To: root@chaos.analogic.com
Cc: Andrey Ilinykh <ailinykh@usa.net>, linux-kernel@vger.kernel.org
Subject: Re: fake loop
Date: Sat, 4 Aug 2001 02:13:04 +0200	[thread overview]
Message-ID: <20010804021304.A21339@werewolf.able.es> (raw)
In-Reply-To: <20010803155735.18620.qmail@nwcst31f.netaddress.usa.net> <Pine.LNX.3.95.1010803123040.675A-100000@chaos.analogic.com>
In-Reply-To: <Pine.LNX.3.95.1010803123040.675A-100000@chaos.analogic.com>; from root@chaos.analogic.com on Fri, Aug 03, 2001 at 18:44:00 +0200


On 20010803 Richard B. Johnson wrote:
>
>Yes! This is neat! The { } defines a new program unit. Therefore,
>you can allocate temporary variables within it, like:
>
>    do {
>        int i;
>        for(i=0; i< MAX; i++)
>          do_something(i);
>       } while (0);
>

I have heard many times that kernel is not thought to be compiled by anything
but gcc. Please, start useing gcc features, like statement expressions:

({
	int i;
	for(i=0; i< MAX; i++)
		do_something(i); 
})
-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:jamagallon@able.es
Mandrake Linux release 8.1 (Cooker) for i586
Linux werewolf 2.4.7-ac3 #1 SMP Mon Jul 30 16:39:36 CEST 2001 i686

  reply	other threads:[~2001-08-04  0:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-03 15:57 fake loop Andrey Ilinykh
2001-08-03 16:07 ` Thomas Pornin
2001-08-03 16:11 ` Martin Mačok
2001-08-03 16:13 ` Crutcher Dunnavant
2001-08-03 16:25 ` Mike Frisch
2001-08-03 16:44 ` Richard B. Johnson
2001-08-04  0:13   ` J . A . Magallon [this message]
2001-08-04 18:47     ` Thomas Pornin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010804021304.A21339@werewolf.able.es \
    --to=jamagallon@able.es \
    --cc=ailinykh@usa.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=root@chaos.analogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.