This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: structure typedef compilation error
- From: "Dave Korn" <dk at artimi dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Fri, 26 Mar 2004 13:05:58 -0000
- Subject: RE: structure typedef compilation error
> -----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....