mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: junkio@cox.net
To: Juan Quintela <quintela@mandrakesoft.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] (trivial 2.5.74) compilation fix drivers/mtd/mtd_blkdevs.c
Date: Thu, 03 Jul 2003 03:42:15 -0700	[thread overview]
Message-ID: <7v7k6z51tk.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <86llvgkk59.fsf@trasno.mitica> (Juan Quintela's message of "Thu, 03 Jul 2003 11:57:22 +0200")

>>>>> "JQ" == Juan Quintela <quintela@mandrakesoft.com> writes:

>>>>> "junkio" == junkio  <junkio@cox.net> writes:
junkio> C does not let us declare variables in the middle of a block (yet).

JQ> It depends what do you call C :)
JQ> C99 does.

That is an inappropriate comment in this list.  As far as the
kernel code is concerned, Documentation/Changes defines what C
is :-), and it says "GCC 2.95.3 or later".

Since 2.95.3 does not support declaration-in-the-middle,
decl-in-the-middle is not a valid C (yet).  On the other hand,
other C99 extentions that compiler can grok (e.g. '.FIELDNAME ='
style initializer) is now already part of valid C :-).


      parent reply	other threads:[~2003-07-03 10:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-03  8:39 junkio
2003-07-03  9:57 ` Juan Quintela
2003-07-03 10:01   ` Russell King
2003-07-03 10:42   ` junkio [this message]

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=7v7k6z51tk.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quintela@mandrakesoft.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®