This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]