From: Ed Vance <EdV@macrolink.com>
To: "'Anton Altaparmakov'" <aia21@cantab.net>
Cc: ivangurdiev@linuxfreemail.com, LKML <linux-kernel@vger.kernel.org>
Subject: RE: Compiler question....
Date: Tue, 21 May 2002 08:49:21 -0700 [thread overview]
Message-ID: <11E89240C407D311958800A0C9ACF7D13A7832@EXCHANGE> (raw)
On Tue, May 21, 2002, Anton Altaparmakov wrote:
>
> The error messages the compiler is generating are completely
> bogus because the unnamed fields ARE of type struct or union.
> It's just that they are typedeffed so that the words "struct"
> and "union" do not appear. IMO that is a screwup by gcc...
Agreed, IIRC, didn't ANSI C spec address this specific point? That any two
types which contain matching simple types must be considered to match,
regardless of how they were declared, typedef or explicitly. e.g. Unlike
Pascal, typedef does not create "new" types. It creates aggregates of simple
types.
Ed
----------------------------------------------------------------
Ed Vance edv@macrolink.com
Macrolink, Inc. 1500 N. Kellogg Dr Anaheim, CA 92807
----------------------------------------------------------------
next reply other threads:[~2002-05-21 15:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-21 15:49 Ed Vance [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-05-21 1:40 Ivan Gyurdiev
2002-05-21 8:29 ` Anton Altaparmakov
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=11E89240C407D311958800A0C9ACF7D13A7832@EXCHANGE \
--to=edv@macrolink.com \
--cc=aia21@cantab.net \
--cc=ivangurdiev@linuxfreemail.com \
--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 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®