From: "Dave Korn" <dk@artimi.com>
To: <gcc@gcc.gnu.org>
Subject: RE: structure typedef compilation error
Date: Fri, 26 Mar 2004 16:38:00 -0000 [thread overview]
Message-ID: <NUTMEGwGO5EEcvJY4Wo0000024d@NUTMEG.CAM.ARTIMI.COM> (raw)
In-Reply-To: <s0646e85.072@EMAIL>
> -----Original Message-----
> From: gcc-owner On Behalf Of Aniket S Joshi
> Sent: 26 March 2004 12:25
> After compiling file2. c
> i am getting following errors like
>
> file2.c:10: error: request for member 'Module_Present' in
> something not a structure or union
You're also getting about a million other errors you didn't mention,
because you haven't defined uint16, SERIAL_DISPLAY, SERIAL_POWER, or any of
those other structures you're using. This is a case of PEBKAC: the problem
is that you forgot to finish writing your program before you tried to
compile it.
cheers,
DaveK
--
Can't think of a witty .sigline today....
next prev parent reply other threads:[~2004-03-26 13:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-26 16:12 GCC: " Aniket S Joshi
2004-03-26 16:38 ` Dave Korn [this message]
2004-03-30 9:39 ` Jim Wilson
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=NUTMEGwGO5EEcvJY4Wo0000024d@NUTMEG.CAM.ARTIMI.COM \
--to=dk@artimi.com \
--cc=gcc@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).