From: Stephen Parker <stephen.parker@pitechnology.com>
To: "'9fans@cse.psu.edu'" <9fans@cse.psu.edu>
Subject: [9fans] const declarators in structs
Date: Thu, 16 Nov 2000 10:35:39 +0000 [thread overview]
Message-ID: <A12EAD94F69FD211ABB800805F650CC401543233@EAGLE> (raw)
i spent a while this morning pondering what an error message from 8c meant.
i tracked it down to a struct of the form:
struct S {
int const *p;
};
the compiler suggested that unnamed objects in structs should be of struct
type.
(i know that const isn't really a plan9 thing, but this was a bit of code
from a small device that i was trying to port.)
stephen
next reply other threads:[~2000-11-16 10:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-16 10:35 Stephen Parker [this message]
2000-11-16 21:23 Richard Miller
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=A12EAD94F69FD211ABB800805F650CC401543233@EAGLE \
--to=stephen.parker@pitechnology.com \
--cc=9fans@cse.psu.edu \
/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;
as well as URLs for NNTP newsgroup(s).