From: Roland Dreier <roland@topspin.com>
To: "J.A. Magallon" <jamagallon@able.es>
Cc: Arnaldo Carvalho de Melo <acme@conectiva.com.br>,
Lista Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH][RFC] PentiumPro/II split in x86 config
Date: 28 May 2002 07:45:39 -0700 [thread overview]
Message-ID: <524rgse3fw.fsf@topspin.com> (raw)
In-Reply-To: <3937.1022552654@kao2.melbourne.sgi.com> <buo3cwdf0b0.fsf@mcspd15.ucom.lsi.nec.co.jp> <20020528030200.GL20729@conectiva.com.br> <20020528140322.GA6320@werewolf.able.es>
>>>>> "J" == J A Magallon <J.A.> writes:
J> Problem is that named initializers '.xx =' are ISO C99, so
J> problably they are not supported in gcc till 3.0...the old way
J> is working with older compilers.
I actually tried it :). gcc 2.95 supports named initializers as well:
$ cat a.c
struct foo {
int x;
int y;
};
struct foo bar = {
.y = 2,
.x = 1
};
int main() {
printf("%d\n", bar.x);
return 0;
}
$ gcc a.c
$ ./a.out
1
$ gcc --version
2.95.2
Best,
Roland
next prev parent reply other threads:[~2002-05-28 14:45 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-27 14:54 [PATCH][RFC] PentiumPro/II split in x86 config J.A. Magallon
2002-05-27 17:31 ` Alan Cox
2002-05-27 21:59 ` J.A. Magallon
2002-05-28 1:29 ` Arnaldo Carvalho de Melo
2002-05-28 2:05 ` Keith Owens
2002-05-28 2:16 ` Arnaldo Carvalho de Melo
2002-05-28 2:24 ` Keith Owens
2002-05-28 2:35 ` Arnaldo Carvalho de Melo
2002-05-28 2:55 ` Miles Bader
2002-05-28 3:02 ` Arnaldo Carvalho de Melo
2002-05-28 14:03 ` J.A. Magallon
2002-05-28 14:30 ` Mikael Pettersson
2002-05-28 15:00 ` David Woodhouse
2002-05-28 18:39 ` Albert D. Cahalan
2002-05-28 16:16 ` Miles Bader
2002-05-28 14:45 ` Roland Dreier [this message]
2002-05-29 4:23 ` Rusty Russell
2002-05-29 4:27 ` Arnaldo Carvalho de Melo
2002-05-29 14:06 ` Dave Jones
2002-05-28 0:15 ` Keith Owens
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=524rgse3fw.fsf@topspin.com \
--to=roland@topspin.com \
--cc=acme@conectiva.com.br \
--cc=jamagallon@able.es \
--cc=linux-kernel@vger.kernel.org \
/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.